ThisCalculator

Everyday

Show File Extensions in Windows 11: 3 Easy Ways

Updated · Standard formula, shown below

Show File Extensions in Windows 11: 3 Easy Ways

To show file extensions in Windows 11, open File Explorer, click the View menu in the toolbar, then select Show > File name extensions. That’s the quickest method, and it applies to all folders immediately. This article explains that method plus two alternatives, what file extensions actually are, and how to avoid common mistakes when turning them on.

Why File Extensions Are Hidden by Default

Windows hides file extensions by default to keep filenames looking clean. For most people, seeing report.docx instead of just report adds clutter. Microsoft made this the default years ago, and Windows 11 continues the tradition. However, hiding extensions can be a security risk: a file named invoice.pdf.exe looks like a PDF in File Explorer if extensions are hidden, but it’s actually a program that could run malicious code. Showing extensions lets you spot such mismatches before opening a file.

Method 1: Using the View Menu (Fastest)

This method works in any File Explorer window and requires no settings changes:

  1. Open File Explorer (Win + E).
  2. Click the View button in the top toolbar (not the ribbon’s “View� tab).
  3. Hover over Show.
  4. Click File name extensions to put a checkmark next to it.

The change applies immediately to the current folder and all other folders, because it’s a global setting. To hide extensions again, repeat the steps and uncheck the option.

Method 2: Folder Options Dialog

If you prefer the classic control panel approach, or if the View menu isn’t working, use Folder Options:

  1. Open File Explorer.
  2. Click the See more (three dots) button in the toolbar, then select Options.
  3. Go to the View tab.
  4. Scroll down in the Advanced settings list.
  5. Uncheck Hide extensions for known file types.
  6. Click Apply and then OK.

This is the same setting that the View menu toggles, so either method works. The Folder Options dialog also lets you tweak other view settings, like showing hidden files or system files.

Method 3: Using File Explorer’s Command Bar (Keyboard)

If you prefer keyboard shortcuts, you can use the command bar:

  1. Open File Explorer and press Alt + V to focus the View menu.
  2. Press P to open the Show submenu.
  3. Press E to toggle “File name extensions� on or off.

This is a quick way to toggle without touching the mouse. The exact letters may vary slightly if your Windows display language isn’t English, but the Alt+V shortcut generally opens the View menu.

What Are File Extensions and Why They Matter

A file extension is the suffix after the last dot in a filename, like .txt, .jpg, or .exe. It tells Windows which program should open the file by default. For example, .docx opens in Microsoft Word, while .pdf opens in a PDF reader. When extensions are hidden, you can’t tell a file’s type at a glance, which can lead to confusion or security issues.

Knowing extensions also helps when you need to change one. For instance, if you have a .txt file that you want to open in a code editor, you might rename it to .html to make the editor treat it as HTML. Without seeing the extension, you can’t be sure what you’re renaming.

Common Problems and How to Fix Them

Sometimes the toggle doesn’t seem to work, or you see extensions only in some folders. Here are a few things to check:

  • Folder-specific settings: If you previously set a folder to hide extensions individually, that folder may override the global setting. Go to Folder Options > View > “Apply to Foldersâ€� to reset all folders to the current view.
  • File Explorer not responding: Restart File Explorer via Task Manager (right-click the taskbar > Task Manager > Windows Explorer > Restart).
  • Registry tweaks: Some third-party customization tools modify the registry to hide extensions. If the toggle doesn’t stick, check for such software or reset the registry value manually (advanced users only).
  • File types with no extension: Files without any extension (like README) won’t show a suffix even when extensions are visible. That’s normal.

Security: Why Showing Extensions Is a Good Habit

Malware authors often use double extensions to trick users. A file named photo.jpg.exe will display as photo.jpg if extensions are hidden, making it look like an image. When you double-click it, it runs as a program. By showing extensions, you can see the real type and avoid opening suspicious files. This is especially important when downloading attachments from email or file-sharing sites.

However, showing extensions alone isn’t a complete security measure. Always verify the source of a file and use antivirus software. Also, be cautious when renaming extensions: changing .txt to .exe doesn’t make it a program; it just changes the label, and the file will likely fail to open or cause an error.

Alternatives: Using File Explorer’s “Details� Pane

If you don’t want to permanently show extensions, you can see a file’s type in the Details pane without enabling the global setting. Select a file and click the Details button in the toolbar (or press Alt+P). The pane shows “File type� and the extension. This is useful when you only need to check a few files occasionally.

Frequently Asked Questions

Does showing file extensions slow down my PC?

No. It’s just a display setting; it has no effect on performance.

Why can’t I see the “File name extensions� option in the View menu?

Make sure you’re in File Explorer, not on the desktop. The View menu appears only when a folder is open. Also, if you’re using a tablet or touch mode, the menu might be collapsed; tap the three dots to see more options.

Will showing extensions affect how I rename files?

Yes, you’ll see the extension when renaming. If you delete the extension, Windows will warn you that the file may become unusable. To change the extension, just type a new one after the dot (e.g., rename file.txt to file.md).

Can I show extensions for only one folder?

No, the setting is global. However, you can use the Details pane to see the extension for individual files without changing the global setting.

How do I hide extensions again?

Follow the same steps: View menu > Show > uncheck “File name extensions,� or uncheck the box in Folder Options.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.