Skip to content
A green river between steep forested cliffs
Back to blog
Explained

File extensions explained, and how to show them on Windows and Mac

A file extension is the short ending after the dot, like .jpg or .pdf. Here is what it tells you and how to make it visible on your computer.

Eric Rada · Founder · · 3 min read

In short

Every file name has two parts. The name you chose, and the extension after the dot. In expenses.xlsx, expenses is the name and xlsx is the extension.

The extension tells your computer what kind of file it is. It also decides which app opens the file and which icon you see.

What an extension is

According to Microsoft, the extension is the part of the file name after the period. It identifies the file type.

Windows uses it to know which apps can open the file and which icon to show. Mac works in a similar way.

Common extensions you will meet

Microsoft lists many everyday ones. Documents use docx, spreadsheets use xlsx and presentations use pptx. PDF files end in pdf, and plain text ends in txt.

Photos are usually jpg, jpeg or png. Audio is often mp3 and video is often mp4. A zip file is a compressed file, and exe is a program you can run.

Show extensions on Windows

In Windows 11, open File Explorer and go to View, then Show, then File name extensions. In Windows 10, open the View tab and tick the File name extensions box.

The extensions appear at once on every file in the folder, and they stay on until you turn them off.

Show extensions on Mac

In the Finder, choose Finder, then Settings, then Advanced. Tick Show all filename extensions.

For one file only, select it and press Command-I. Open Name and Extension and untick Hide extension.

Do not rename the extension

Apple warns that if you change the extension when you rename a file, you may no longer be able to open it with the app that made it. Renaming .png to .jpg does not turn a picture into a JPG.

To change a format for real, open the file in an app and save or export it again. On a Mac you can also tick the warning before an extension changes, in the same Advanced pane.

Sending files with the right extension

When you send a file, the other person needs the extension to open it. Some apps rename or convert files on the way, so the extension can change without you noticing.

A Room keeps your files as they are. You share one link, the person opens it in the browser with no account, and the files are never compressed or converted.

Never compressed or converted, one link, no account needed. Free up to 10 GB.

Send the file, not a changed copy →

Questions

What is a file extension?

It is the part of the file name after the period. It identifies the file type.

Why can I not see extensions on my computer?

They can be hidden. Turn them on in File Explorer on Windows or in Finder Settings on Mac.

Can I change a file type by renaming it?

No. Apple warns that you may no longer open the file. Use Save as or Export instead.

One link. Everyone’s photos.
Free up to 10 GB. Guests never need an account.
Create a Room