CODESALA
Codesala
Let’s Talk

JPG vs JPEG

JPG and JPEG are not two different formats — they are identical. Both refer to images compressed with the JPEG standard from the Joint Photographic Experts Group. The only difference is the spelling of the file extension, a leftover from old operating-system limits.

Quick answer

There is no difference: .jpg and .jpeg are the same format and open identically everywhere. Use whichever extension you like — .jpg is more common, .jpeg is the original spelling. You never need to convert between them.

JPG vs JPEG: side-by-side comparison

Attribute JPG JPEG
Format JPEG standard JPEG standard
Extension length 3 letters (.jpg) 4 letters (.jpeg)
Why it exists Old DOS/Windows 8.3 filename limit Original full extension
Quality / compression Identical Identical
Compatibility Universal Universal
Conversion needed No No

What is JPG and what is JPEG?

JPG

The ".jpg" extension exists because early DOS and Windows file systems limited extensions to three characters (the "8.3" naming rule). To fit, "jpeg" was shortened to "jpg". The file contents are exactly the same JPEG-compressed data.

JPEG

The ".jpeg" extension is the original, full spelling matching the standard's name (JPEG). Systems without the old three-character limit, such as macOS and Linux, happily use it. It produces an identical file to .jpg.

When to use which

Choose JPG

Use .jpg if you want maximum convention compatibility — it is the most widely seen extension and what most cameras and apps default to.

Choose JPEG

Use .jpeg if you prefer the original spelling; it works everywhere modern. If a website demands one specific extension, simply rename the file — no conversion is required.

Convert between these formats

Use our free, browser-based converters:

Frequently asked questions

Is there any quality difference between JPG and JPEG?
None at all. They are the same format with the same compression. The extension is the only difference.
Should I convert JPEG to JPG?
No conversion is needed — they are identical. If a form insists on .jpg, just rename the file.
Why do both extensions exist?
Old MS-DOS and Windows limited file extensions to three characters, so .jpeg was shortened to .jpg. Both stuck around.

Related comparisons