JPEG vs JPG: the same format, and how to change .jpeg to .jpg

FormatYard Updated November 2026

In brief

JPEG and JPG are the same image format: only the ending of the file name differs. A photo saved as .jpeg and the same photo saved as .jpg hold exactly the same picture.

Renaming photo.jpeg to photo.jpg changes nothing but the name, so it is safe. It is also the fix when a website only takes .jpg.

Contents
  1. The difference
  2. Change .jpeg to .jpg
  3. Refused uploads
  4. JFIF to JPG
  5. When to convert
  6. FAQ

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:

  1. In File Explorer, select View › Show › File name extensions.
  2. Rename the file and change .jpeg to .jpg.

On a Mac:

  1. Select the file and choose File › Get Info.
  2. Under Name & Extension, change .jpeg to .jpg. If a warning asks, confirm the new ending.
The Get Info window for photo.jpeg on a Mac, with the file name photo.jpeg under Name and Extension and the Hide extension box

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

Finder Settings on the Advanced tab, with Show all filename extensions at the top of the list

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