File Formats

JPEG vs. JPG: What's the Difference?

3 min readBy OctalOne Team
TL;DR

They Are Exactly the Same

There is absolutely no difference between a .jpeg file and a .jpg file. They are the exact same image format. The only difference is the number of letters in the file extension.

The Short Answer

JPEG stands for Joint Photographic Experts Group, the committee that created the standard in 1992.

Both .jpg and .jpeg extensions refer to the same ISO-10918-1 digital image standard. You can rename a file from image.jpeg to image.jpg (and vice versa), and it will still open perfectly in any image viewer.

History: Blame it on MS-DOS

If they are the same, why do we have two names? The answer lies in the history of operating systems.

The 8.3 Filename Limit

In the early days of computing, MS-DOS (and early Windows versions) had a strict limit for filenames: 8 characters for the name, and 3 characters for the extension. This was known as the "8.3 limit".

Macintosh and UNIX users didn't have this limitation, so they could use the full file extension: .jpeg.

Windows users, however, were forced to shorten it to 3 letters: .jpg.

Even though modern Windows has supported long filenames for decades, the habit stuck. Everyone was used to .jpg, so it became the de-facto standard on the web.

Are There Others?

Yes! While .jpg and .jpeg are the most common, you might occasionally see these rare variations:

.jpe
Very Rare
.jif
JPEG Interchange Format
.jfif
JPEG File Interchange Format

Which Should You Use?

While both work perfectly, we recommend sticking with .jpg for one simple reason: Consistency.

  • It's shorter.
  • It's more popular on the web.
  • It avoids confusion when organizing files.

Need to work with JPGs?

Securely process your images offline with our tools.