Back to all articles
Basics

JPG vs JPEG – is there a difference?

You see both extensions all the time: photo.jpg and photo.jpeg. Sometimes side by side in the same folder. What's going on — is one 'better' than the other?

Two files with different extensions .jpg and .jpeg

Short answer: no difference

JPG and JPEG are the exact same file format. The full name is 'Joint Photographic Experts Group' — the body that standardised the format in 1992. The 'proper' extension would be `.jpeg`.

Why two extensions? Early Windows and MS-DOS only allowed three characters for file extensions (the 8.3 scheme). `.jpeg` had to be shortened to `.jpg`. Both spread, both stuck.

When can it still cause problems?

Some old systems or backup tools treat `.jpg` and `.jpeg` as different file types. That trips up scripts filtering on a single extension. When in doubt, handle both.

Some upload platforms reject `.jpeg` and accept `.jpg` (or the other way round). If that happens, just rename — the content is byte-for-byte identical.

Practical recommendation

Use `.jpg`. It's more common, more compatible with legacy systems, and shorter in URLs and paths. For web images, email attachments and photo archives it's the solid pick.

`.jpeg` isn't wrong — there's just no technical benefit. For project consistency, settle on one extension and rename existing files accordingly.

Which extension search engines prefer

SEO-wise: Google, Bing and friends treat .jpg and .jpeg identically — both are the valid MIME type image/jpeg. The URL extension doesn't affect rankings. What matters: consistent linking, alt text and meaningful filenames.

Tip: pick one extension per project and stick to it. CMSes like WordPress save uploads as .jpg by default; Adobe exports tend toward .jpeg. Either works — but switching mid-stream means rewriting hundreds of internal links.

Convert images online now

Try it yourself — free, no signup, right in your browser.

Open Converter