Filewisp

JPG vs JPEG: why there are two extensions for the same format

Two extensions, .jpg and .jpeg, for what looks like the same image? They are in fact identical. Here is the historical reason both exist, and the one practical situation where the difference matters.

The short answer: they are identical

JPG and JPEG differ only in the number of letters in the extension. The image format, compression, quality, and compatibility are exactly the same. Renaming a .jpg to .jpeg changes nothing inside the file.

The format's real name is JPEG — Joint Photographic Experts Group, after the committee that created it — and the original extension is the four-letter .jpeg.

Where the three-letter .jpg came from

Blame old Windows. MS-DOS and early Windows limited extensions to three characters, so .jpeg had to be shortened to .jpg. Windows software has defaulted to .jpg ever since.

Macs never had that limit and kept using .jpeg. The two extensions are simply leftovers from different operating-system histories.

Which one should you use?

.jpg is by far the more common choice today, and it is the safe default. Every modern OS and app opens both without complaint.

When you get to choose, standardizing on .jpg keeps your filenames consistent and avoids confusion later.

The one case that matters: strict upload forms

Some upload systems check the extension literally. A form that says ".jpg only" may reject a .jpeg file — even though the content is identical (and vice versa).

Renaming the file extension by hand is usually enough to pass: press F2 on Windows and change .jpeg to .jpg. No quality is lost because the image data never changes.

Unsure about renaming? Convert instead

If hand-renaming feels risky, or the system inspects file contents, run the image through a converter once. Tools like our PNG to JPG converter write a proper .jpg file.

If the file is actually HEIC or WebP being asked for as JPG, renaming won't help — a real conversion is needed. Use HEIC to JPG or WebP to JPG for those.

Bonus: the .jfif extension

Occasionally Windows saves web images as .jfif — which is also just JPEG under another name. It confuses upload forms and users alike.

Rename it to .jpg or pass it through a converter and the problem disappears. An unfamiliar extension does not mean a broken file.

Bottom line

There is no difference between JPG and JPEG beyond the extension length. Use .jpg by default, and only think about it when a strict upload form complains.

When that happens, rename or convert — both take seconds.