Guide
JPG vs JPEG: Is There Any Difference?
JPG and JPEG are the same image format with different extensions. Learn why both exist, whether renaming is safe, and how to fix uploads that reject one.
Quick answer: There is no difference. JPG and JPEG are two extensions for the same image format, created by the Joint Photographic Experts Group. The shorter .jpg comes from old Windows and DOS systems, which limited file extensions to three letters. Renaming photo.jpeg to photo.jpg does not change the image, its quality, or its size.
If an upload form says “JPG only” and your file ends in .jpeg, it looks like a different format. It isn’t. This guide explains why the two names exist, when the extension does matter, and what to do when a form still rejects your file. If you need a smaller JPEG for a form, use Compress JPG or PNG to JPG in the browser—nothing is uploaded to a server.
Same format, two extensions
JPEG stands for Joint Photographic Experts Group, the committee that created the standard in the early 1990s. The format uses lossy compression: it discards detail the eye is unlikely to notice, which keeps photos small.
Free online tool
Try our Compress JPG Online
Compress JPG and JPEG images online with quality control.
The two spellings are just file extensions:
.jpg | .jpeg | |
|---|---|---|
Image format | JPEG | JPEG |
Compression | Lossy, adjustable quality | Lossy, adjustable quality |
File contents | Identical | Identical |
MIME type sent to websites | image/jpeg | image/jpeg |
Where the name comes from | Three-letter extension limit (DOS / early Windows) | Full name, used where longer extensions were allowed |
You may also come across .jpe, .jfif, and .pjpeg. These are variants of the same family of files and usually open in any photo viewer. JPEG 2000 and JPEG XL are different formats with different compression—they are not a .jpg / .jpeg spelling change.
Why do two names exist?
Early MS-DOS and Windows used “8.3” filenames: up to eight characters, a dot, and a three-character extension. .jpeg has four letters, so Windows software saved files as .jpg. Mac and Unix systems had no such limit and often used .jpeg.
Modern systems accept both. Many cameras and Windows apps still default to .jpg, while some Apple and web tools save .jpeg.
Is one better quality than the other?
No. Quality is set by the compression level chosen when the image was saved, not by the extension. A .jpg saved at 90% quality and a .jpeg saved at 90% quality are equally sharp.
What actually affects quality and file size:
Compression level. Lower quality gives a smaller file with more visible artefacts.
Pixel dimensions. A 4000×3000 photo is far larger than a 1200×900 one.
Re-saving. Each new lossy save can lose a little more detail.
For a practical guide, see How to Compress Images Without Turning Them Blurry.
Is it safe to rename .jpeg to .jpg?
Yes. Because the data inside is identical, changing only the extension is safe and doesn’t touch the image.
On Windows
In File Explorer, turn on file extensions: View > Show > File name extensions (Windows 11) or the View tab > File name extensions (Windows 10).
Right-click the file and choose Rename.
Change .jpeg to .jpg and press Enter, then confirm the warning.
On Mac
Select the file and choose File > Get Info.
Under Name & Extension, change .jpeg to .jpg.
Choose Use .jpg when asked.
Renaming only works between JPEG extensions. Renaming a PNG, WebP or HEIC file to .jpg doesn’t convert it, and the upload may still fail or the image may not open. Those files need a real conversion.
When a form rejects your JPEG anyway
If the extension is already right and the upload still fails, it’s usually for one of these reasons:
The file is too large. Many forms have a KB limit (often 100KB, 200KB or 240KB). Use Compress JPEG to 100KB for a strict target, or Compress JPG to choose a quality level.
It isn’t really a JPEG. Phones and websites often produce HEIC or WebP files. Convert them properly: HEIC to JPG for iPhone photos, WebP to JPG for images saved from websites, and PNG to JPG for screenshots and graphics.
Wrong pixel dimensions. Some forms require exact sizes such as 600×600. Resize first with the Image Resizer.
The extension is in capitals. A few strict validators reject .JPG but accept .jpg. Rename the file in lowercase.
Should you save as JPG or JPEG?
Either works. If you need one rule, use .jpg: it’s the most widely expected spelling and avoids problems with old or strict upload validators.
Choose a different format when the image needs something JPEG can’t do:
Need | Better format |
|---|---|
Transparent background (logos, cut-outs) | PNG or WebP |
Smallest file for a website | WebP or AVIF |
Sharp text, screenshots, line art | PNG |
Photos for forms, email, printing | JPG |
More detail is in PNG vs JPG vs WebP: Which Format Should You Use?.
FAQ
Is JPG the same as JPEG?
Yes. They’re the same image format with two spellings of the file extension. The image data, quality and compression are identical.
How do I convert JPEG to JPG?
You don’t need to convert anything—just rename the file. Change the extension from .jpeg to .jpg; the image itself stays exactly the same. (A true conversion is only needed if the file is actually HEIC, WebP, or PNG.)
Why do some websites only accept JPG and not JPEG?
Usually they accept both, and the real problem is file size, pixel dimensions, or a file that isn’t actually JPEG (such as HEIC or WebP). Occasionally a badly built validator checks the extension text literally, and renaming to lowercase .jpg fixes it.
Does renaming a file to .jpg reduce its size?
No. Renaming changes only the name. To reduce file size you need to compress the image or reduce its pixel dimensions.
Which is better quality, JPG or JPEG?
Neither. Quality depends on the compression level used when the image was saved, not on the extension.