JPG and JPEG are the same format

By EditItAll · Updated

JPG and JPEG are the same format
There is no difference in the picture. JPEG is the name of the standard, and JPG is the three-letter extension from the old DOS 8.3 file-name limit. The bytes inside .jpg and .jpeg are identical, so renaming one to the other does not change the image.

There is no difference in the picture. JPEG is the name of the standard, and JPG is the three-letter extension from the old DOS 8.3 file-name limit. The bytes inside .jpg and .jpeg are identical, so renaming one to the other does not change the image.

Do it now — free, in your browser

Read the JPG format guide

Why two names exist

JPEG is the name of the image standard. JPG is the three-letter file extension left over from the DOS 8.3 limit, which allowed only eight characters plus a three-character extension. Software that still expects three letters writes .jpg. Software that can use four writes .jpeg. Both names point at the same format.

The bytes inside a .jpg file and a .jpeg file are identical when the encoder used the same settings. Renaming one extension to the other does not recompress the picture, strip data, or change how it looks. The JPG format guide covers what those bytes actually store.

What actually changes size and quality

The MIME type is image/jpeg either way. Browsers, email clients, and photo apps treat both extensions as the same type. What changes file size and visible quality is the JPEG quality setting, not the extra letter on the name.

On EditItAll, compression runs entirely in your browser. Files are processed right on your device, and the page works offline after it loads. Nothing is uploaded, there is no account, and there is no watermark. Open JPG compress, set the quality slider, and optionally cap the longest side. There is no target-file-size field. The results list shows in → out size, rounded to whole KB, so a readout of 20 KB can be 20.4 KB.

Extension choice is not an encoder choice

Color subsampling, EXIF metadata, and progressive encoding are choices the encoder makes when it writes the file. They are not properties of the .jpg extension versus the .jpeg extension. A file can use any of those options under either name.

  • Do not pick .jpeg because you want sharper color or smaller files. The extension will not do that.
  • Do not pick .jpg because you want to drop metadata. Renaming leaves the bytes alone.
  • If a program rejects one extension, rename it. The picture stays the same.

When the real decision is something else

If the question is whether a photo should stay a JPEG or become a PNG, that is a format decision, not an extension decision. Photos with smooth tone usually stay JPEG. Graphics with flat color, text, or a transparent background usually belong in PNG. Use PNG to JPG only when you have already chosen JPEG and you are starting from a PNG.

If the question is how small the file should be, change the quality slider on the compress page, not the letters after the dot. Match the setting to how the image will be viewed, then check the rounded KB readout before you download.

Ready to try it?

Free, no sign-up, and nothing you open ever leaves your device.

Frequently asked questions

Does renaming .jpg to .jpeg change the image?+

No. The bytes stay the same. Renaming only changes the letters at the end of the file name, so the picture, the quality, and the file size stay as they were.

Which extension should I use, .jpg or .jpeg?+

Either one. Use .jpg when a tool or an old system expects three letters. Use .jpeg when four letters are fine. Programs that understand JPEG accept both, and the MIME type is image/jpeg either way.

Why is one file smaller than another with a different extension?+

The quality setting, the pixel dimensions, and the encoder options made that difference. The extra letter in the extension did not. Compare the quality slider and the optional max-dimension cap, then read the in-to-out size in whole KB.

Will EditItAll upload my photo to change the extension?+

No. The file is processed right on your device and never uploaded. You can rename a .jpg to .jpeg yourself in your file manager. Compression, when you want a smaller file, uses the quality slider on the JPG compress page.

Related guides

More guides on choosing a tool →