Is there a difference between JPEG and JPG?
No, JPEG and JPG are one format with two common file endings. JPEG is the name of the format, and .jpg is its shorter ending. Other endings for the same format are:
- .jpeg and .jpg: the two you see most, and they are interchangeable.
- .jfif: a JPEG too, under another ending.
- .jpe and .jif: rare, older endings for the same format.
In our test we copied a .jpg photo to .jpeg and .jfif, and all three files were identical byte for byte. Our JPG to PNG converter opened every one of them.
How to change .jpeg to .jpg
Rename the file and change the ending, because renaming doesn't change the picture. Windows and macOS can hide endings, so show them first.
On Windows:
- In File Explorer, select View › Show › File name extensions.
- Rename the file and change .jpeg to .jpg.
On a Mac:
- Select the file and choose File › Get Info.
- Under Name & Extension, change .jpeg to .jpg. If a warning asks, confirm the new ending.

To show endings for every file on a Mac, choose Finder › Settings, click Advanced, and select Show all filename extensions.

Why a website won't accept .jpeg or .JPG
A website refuses a .jpeg file when its list of allowed endings names only .jpg. Browsers read that list without caring about capital letters, but the website may check the file again on its own server, and that check can be stricter.
So rename the file to end in lowercase .jpg, and upload it again. The picture inside is already a JPEG, so the website gets exactly what it asked for.
How to turn a JFIF file into a JPG
A .jfif file is already a JPEG, so you only need to rename it to .jpg. Show the endings as above, change .jfif to .jpg, and the file opens and uploads like any other JPG.
When renaming isn't enough
Renaming only works when the file is a JPEG inside. When it is another format with the wrong name, convert it instead:
- An iPhone photo that is really HEIC: use HEIC to JPG. A HEIC photo renamed to .jpg is still HEIC, and a website that checks the file refuses it.
- A picture saved from a website as WebP: use WebP to JPG.
- A PNG screenshot or graphic: use PNG to JPG, and see JPG vs PNG for when to keep it a PNG.
JPEG and JPG FAQ
Is JPEG better quality than JPG?
No. They are the same format, so the quality depends on how the photo was saved, not on the ending of its name.
Does renaming a JPEG to JPG lose quality?
No. Renaming changes only the file name, and the picture inside stays exactly as it was. In our test the renamed file was identical byte for byte.
Should I save as .jpg or .jpeg?
Either works, because the picture inside is the same. Pick .jpg when a website or form lists only .jpg.
Can a website tell a .jpeg from a .jpg?
Only by the name. The picture inside is the same, so a website that refuses .jpeg is checking the ending, and renaming the file fixes it.
Sources
- MDN, Image file type and format guide (read 5 November 2026)
- MDN, input type="file" (read 5 November 2026)
- Microsoft, Common file name extensions in Windows (read 5 November 2026)
- Apple, Show or hide filename extensions on Mac (read 5 November 2026)
- Our test: a JPG photo copied to .jpeg and .jfif and compared byte for byte, then opened on /jpg-to-png/ in Chrome on a MacBook Pro, 5 November 2026