JPG vs JPEG: is there a difference?
By the FileInto team · Updated November 13, 2026
Quick answer
No. JPG and JPEG are the same image format; only the file ending is spelled differently. The three-letter .jpg comes from old Windows, which allowed only three letters after the dot. You can rename .jpeg to .jpg, or the other way round, and nothing in the picture changes.
Same format, two spellings
JPEG is the name of the format, after the Joint Photographic Experts Group, the committee that wrote the standard in 1992. JPG is the same name cut to three letters. A .jpg file and a .jpeg file hold exactly the same kind of picture, and every app that opens one opens the other.
The ending is just a label on the outside. Inside, both start with the same bytes:
FF D8 FF E0 00 10 4A 46 49 46 00 ...
J F I F
That is the start of one of our own photos. The ending on the name doesn’t change a single one of those bytes.
Why .jpg has only three letters
Older Windows, through MS-DOS, used short file names: up to 8 characters, a dot, then 3 characters for the ending. Microsoft still calls these 8.3 names. .jpeg didn’t fit, so Windows programs saved .jpg. Mac and Unix systems had no such limit and often used .jpeg.
Modern systems allow long endings, but .jpg stuck because it was everywhere first. Today it is the more common spelling, and both work.
Can you rename .jpeg to .jpg?
Yes. Renaming changes only the label, so the picture is untouched and no quality is lost. It is the fix when an upload form accepts one spelling and refuses the other.
Show file endings
On Windows, open File Explorer, choose View, then Show, and turn on File name extensions. On a Mac, select the file, choose Get Info, and open Name and Extension.
Rename the file
Change the part after the last dot from jpeg to jpg, or the other way round. Confirm when your computer asks whether you’re sure.
Capital letters don’t matter either: .JPG and .jpg are the same. Some cameras just name files in capitals.
Other endings that are also JPEG
The same format turns up under a few more endings. MDN lists all of these for JPEG:
| Ending | What it is |
|---|---|
| .jpg | The usual one |
| .jpeg | The full spelling |
| .jpe | Another short form, rare today |
| .jif, .jfif | Named after JFIF, the file format inside most JPEGs |
The one you are most likely to meet is .jfif, because some Windows PCs save downloaded pictures that way. See what a JFIF file is, or turn a batch of them into .jpg with FileInto’s JFIF to JPG converter, which renames them without re-saving the picture.
What JPG is not
JPEG 2000 (.jp2) is a different, newer format from the same committee. It isn’t a JPG, and most apps that open JPGs won’t open it. If you need a PNG instead, for transparency or sharper edges, see PNG vs JPG.
Sources