Take a look at the files on your computer.

You'll probably see names like:

  • Report.pdf

  • Holiday.jpg

  • Logo.png

Those last three letters might seem random.

But have you ever wondered:

Why do file formats end in PDF, JPG, and PNG?

The answer goes back to the early days of personal computers, when operating systems needed a simple way to recognise different kinds of files.

1. They're Called File Extensions

The letters after the dot are known as file extensions.

A file extension tells your computer:

  • What type of file it is

  • Which program should open it

  • How the data inside is organised

Without an extension, your computer would have a much harder time deciding what to do with the file.

2. Why Are Most Extensions Three Letters Long?

In the 1980s, the operating system MS-DOS followed a naming rule known as the 8.3 filename format.

That meant:

  • Up to 8 characters for the file name

  • Followed by a dot

  • Then 3 characters for the extension

For example:

  • LETTER.DOC

  • PHOTO.JPG

  • REPORT.PDF

Even after newer operating systems removed this limitation, the three-letter extensions had become familiar and widely adopted.

3. What Do PDF, JPG, and PNG Actually Mean?

These extensions are abbreviations for the file formats they represent.

  • PDF stands for Portable Document Format. It was developed by Adobe in 1993 so documents could look the same on different computers.

  • JPG comes from JPEG, which stands for Joint Photographic Experts Group, the international committee that created the image compression standard. On older systems, the extension became .jpg because of the three-letter limit.

  • PNG stands for Portable Network Graphics. Introduced in 1996, it was designed as a high-quality, patent-free alternative to the GIF image format and supports transparency.

4. Why Is It ".jpg" Instead of ".jpeg"?

The official format name is JPEG.

However, because MS-DOS allowed only three-letter extensions, users shortened it to .jpg.

Modern computers also support .jpeg, and both extensions refer to exactly the same image format.

5. Do File Extensions Still Matter Today?

Absolutely.

Although modern operating systems can identify many files automatically, extensions still help:

  • Open files with the correct application

  • Organise documents

  • Share files across different devices

  • Warn users about potentially unsafe files, such as .exe programs

They're a simple label that tells your computer how to handle each file.

Three Letters That Speak Your Computer's Language

The next time you save a document or download a photo, look at the letters after the dot.

They're not just part of the filename.

They're a shortcut that helps computers understand exactly what's inside the file.

What began as a technical limitation in the early days of computing has become one of the most universal naming systems in the digital world.

Frequently Asked Questions

What is a file extension?

A file extension is the group of letters after the dot in a filename that identifies the file's format and helps the operating system choose the right software to open it.

Why do many file extensions have three letters?

Early operating systems such as MS-DOS limited extensions to three characters, and many of those conventions are still used today.

Are .jpg and .jpeg different?

No. They represent the same JPEG image format. The .jpg version became common because of the three-letter filename limit in older operating systems.

Stay Curious

If you enjoy discovering the hidden stories behind everyday technology, design, and innovation, subscribe to The Turning Pages Newsletter.

You will receive mind boggling origin stories about the inventions, systems, and ideas we use every day but rarely stop to question.

Because once you start noticing these details, you will realise something fascinating.

The world is full of stories hiding in plain sight.

Reply

Avatar

or to participate

Keep Reading