How to show file extensions in Windows 11

Quick answer: open File Explorer, select View on the command bar, point to Show and select File name extensions. That’s the path Microsoft’s support page gives (the labels may differ slightly on your build), and a check mark may appear next to the option once it’s on. Files should then show their full names, such as report.docx instead of report. On recent Windows 11 versions, Microsoft also lists a Show file extensions switch in the Settings app (see Method 3).

Applies to: Windows 11. Microsoft’s support page covers Windows 10 as well, but the menus there may look different, so the Windows 10 notes below are brief. Turning extensions on should only change what File Explorer shows, not rename or change any file.

What a file extension is

A Windows file name has two parts separated by a period: the name itself and an extension, which Microsoft describes as three or four characters long. In holiday.jpg, holiday is the name and jpg is the extension. According to Microsoft’s page Common file name extensions in Windows, the extension tells your computer which application created or can open the file, and which icon to show for it.

By default, File Explorer may hide the extension for many file types, so two files called budget in the same folder might be a spreadsheet and a PDF. Showing extensions removes that guesswork. It may also help when a guide or an error message refers to a specific type, such as .xlsx or .exe, and you need to find the right file.

Method 1: The View menu in File Explorer

This is the quickest way, and it’s the one Microsoft’s support page describes:

  1. Open File Explorer. Microsoft suggests typing file explorer in the search box on the taskbar and selecting it from the results; the folder icon on the taskbar, if it’s pinned there, may open it too.
  2. Select View on the command bar at the top of the window.
  3. Point to Show.
  4. Select File name extensions. Microsoft’s page gives the path as View > Show > File name extensions.

Extensions may appear right away in the open folder. The setting may apply to every folder, not only the one you have open, so you’d normally set it once. To hide extensions again, repeat the steps and select the same option to clear its check mark.

The labels on your PC may differ slightly from these, particularly if your Windows 11 build has a newer File Explorer design. If you don’t see Show under View, try Method 2 or Method 3.

On Windows 10

Windows 10’s File Explorer uses a ribbon instead of a command bar. In a Windows 10 thread on Microsoft Q&A, an independent advisor’s answer says to open the View tab on the ribbon and check the box for file name extensions. That’s a community answer rather than Microsoft documentation, so the exact label may vary.

Method 2: File Explorer Options

The older options dialog may still be useful, for example if the View menu looks different on your PC or you’re already changing other folder settings there. The box to look for is phrased the other way around: it hides extensions, so you clear it to show them.

  1. Search for File Explorer Options from the taskbar search box and open it if it appears in the results. In File Explorer, the options dialog may also be reachable from the See more (three dots) menu on the command bar; the menu wording may vary by version.
  2. Select the View tab.
  3. Under the advanced settings list, find Hide extensions for known file types and clear its check box.
  4. Select OK or Apply.

Where these labels come from: Microsoft’s support page doesn’t describe this dialog. The name Hide extensions for known file types and the path through File Explorer Options and the View tab come from a volunteer moderator’s answer in the same Windows 10 Microsoft Q&A thread. That answer tells you to check the box, which would hide extensions; clearing it is what should show them. The dialog may be named Folder Options in some places, so if your search finds nothing, try that name too.

Method 3: The Settings app

Microsoft Learn’s Advanced Windows Settings page lists a File Explorer group with a setting called Show file extensions, described as “Show file extensions in File Explorer”. Where you find it may depend on your Windows 11 version:

  • Windows 11, version 25H2 and later: Microsoft says these settings are on the Advanced page, at Settings > System > Advanced. Look for the File Explorer section there and turn on Show file extensions.
  • Earlier Windows 11 versions: Microsoft says the Advanced page was formerly known as For developers. On those versions, a page with that name in Settings may hold a similar File Explorer section, but Microsoft’s Learn page doesn’t give the older path, so its exact place and labels may differ.

To check your version, you can type winver in the taskbar search box and open it; the window that appears should show the version number. If neither page has the switch, Method 1 or Method 2 does the same job.

The same File Explorer section on the Learn page also lists switches to show hidden and system files and to show the full path in the title bar. Those are separate settings, and turning on file extensions doesn’t change them.

Which method to use

All three methods aim at the same File Explorer behavior, so pick the one you find easiest. This table is our own comparison of the sources above, not a Microsoft list.

MethodWhereSourceNotes
View menuFile Explorer: View, Show, File name extensionsMicrosoft Support (summary)Quickest; labels may differ by build
File Explorer OptionsView tab: Hide extensions for known file typesMicrosoft Q&A community answer (Windows 10)Clear the box to show extensions
Settings appSystem, Advanced (25H2 and later): Show file extensionsMicrosoft LearnEarlier versions: page was called For developers

Why seeing extensions helps you spot disguised files

Because File Explorer may hide extensions for known file types, a file’s last extension might not be visible. A program could be named something like invoice.pdf.exe, and with extensions hidden it may show up as invoice.pdf, which looks like a document. With extensions showing, you’d see the .exe at the end, a sign that opening it may run a program rather than display a PDF.

Microsoft’s table of extensions includes .exe, .msi and .bat, types that may run a program, install software or run commands when opened. A file with one of those extensions that arrived as an email attachment or an unexpected download, especially one with a document-style name, may deserve a closer look before you open it. The icon alone may not be a reliable clue, because a program may be able to use an icon that looks like a document’s.

If you’ve already opened a file like that, or you’re unsure about one, our guide on how to scan for malware on Windows 11 covers Microsoft Defender scans, including scanning a single file.

Before you rename an extension

With extensions visible, File Explorer may let you change them when you rename a file, and Windows may warn you that the file could become unusable. Microsoft’s page notes that renaming an extension doesn’t convert the file or change anything except its name. A few points worth keeping in mind:

  • Renaming isn’t converting. Changing photo.bmp to photo.jpg doesn’t turn it into a JPEG; it may just stop the file from opening. To change a format, open the file in an app that can save or export in the new format. Our guide to converting BMP to JPG shows how this works for images.
  • A wrong extension may cause errors. A file whose extension doesn’t match its contents may fail to open with a format error. Our guide to the Excel message “the file format or extension is not valid” walks through this case.
  • Keep a copy first. If you need to rename an extension, for example to fix one that was changed by mistake, copying the file first means you can go back if it no longer opens.
  • Extension and app are linked. Microsoft’s page says the extension tells your computer which app can open a file. To choose a different app for a type, see how to change default apps in Windows 11.

Seeing extensions may also help explain copy and move errors: names that look alike in File Explorer may turn out to be different files once the extensions show, as our guide to “the source and destination file names are the same” explains.

Sources

How we write our guides: read our editorial policy.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *