You save a photo and it ends in .jpg. A friend sends one that ends in .jpeg. A website says it accepts “JPEG files only” and you wonder whether your .jpg will be rejected. It is a small thing, but it can stop an upload at the worst moment.
Here is the short answer, followed by the history behind it and a few practical tips for when a form complains.
The short answer: they are the same format
JPG and JPEG are exactly the same image format. KeyCDN’s guide on the difference between JPG and JPEG puts it simply: there are no differences between the two formats, and the only distinction is the length of the file extension. The compression, the colors and the way the picture is stored are identical.
Why are there two names?
JPEG stands for Joint Photographic Experts Group, the committee that developed the standard in 1992, according to Fluent Support’s explainer on the topic. Systems like Mac and Unix used the full four-letter extension, .jpeg.
Older versions of Windows and DOS, however, only allowed file extensions of three letters. To fit that rule, .jpeg was shortened to .jpg. Later versions of Windows removed the limit, but by then .jpg had already become the default in many programs, cameras and file systems, and it stayed.
Is one better quality than the other?
No. There is no difference in quality, file size or speed. Renaming photo.jpg to photo.jpeg, or the other way around, changes nothing about the picture inside the file. It will open and look the same under either name.
What does affect quality is the compression level used when the picture was saved. JPG is a lossy format, so a heavily compressed file can show blur or blocky patches no matter what the extension says. To learn more, see our guide to compressing images without losing quality.
Which one should you use?
Either works, but .jpg is the safer everyday choice. It is still the most common extension, and many photo editors save to .jpg by default. Our own converters also save JPG files with the .jpg extension, so what you download will match what most forms and programs expect.
What if a website rejects my file?
Occasionally an old or badly built upload form checks the extension too strictly. If a site refuses your .jpeg file, renaming it to .jpg usually fixes the problem, and the reverse works as well. Fluent Support also warns that scripts which filter files by extension may skip .jpeg files, which is another reason some tools prefer .jpg.
If renaming does not help, the problem is probably not the extension. The form may only accept a different format, or the file may be too large. In that case, convert or shrink it:
- Need a JPG from another format? Try PNG to JPG, WebP to JPG, AVIF to JPG or HEIC to JPG.
- File too heavy? Use the image compressor, or change its dimensions with the image resizer.
- Need transparency? JPG cannot store it, so see PNG vs JPG.
What about the MIME type?
If you work with websites, you may meet the term MIME type. It is the label a server uses to tell a browser what kind of file it is sending. KeyCDN notes that both .jpg and .jpeg use the same MIME type, image/jpeg. So to a browser, there is no difference at all.
When JPG is the right format, and when it is not
JPG is a great choice for photographs, because it keeps files small and opens almost everywhere. It is a poor choice for logos, screenshots with sharp text, or anything that needs a transparent background. For web pages, newer formats can be even lighter, and you can compare them in WebP vs JPG, our guide to AVIF, and the overview of the best image formats for the web.
Quick answers
Is JPEG higher quality than JPG?
No. They are the same format, and the extension has no effect on quality.
Can I rename .jpeg to .jpg?
Yes. Renaming between the two is safe, and the image itself does not change. This is different from renaming a PNG to JPG, which does not convert it and can leave you with a file that will not open properly.
Why does my camera or phone use .jpg?
Because .jpg became the common default, and many systems and editors still expect it.
Does converting to JPG lose quality?
It can, because JPG is lossy. Keep your original file and use the JPG as a convenient copy for sharing.
Final thoughts
JPG and JPEG are the same thing wearing two names, and the split is a leftover from the days of three-letter file extensions. Use .jpg when in doubt, rename if a form complains, and put your effort into the things that really change a picture: its size, its compression and its format.
Ready to try it? Browse our full set of free image tools and convert a few of your own files.