Skip to content
Windows 🟡 Intermediate

How to Show or Hide File Extensions in Windows 11 File Explorer

Richard
Written by
Richard
Updated 6 min read
A Windows 11 File Explorer window showing folder icons and files on a light desktop, illustrating how to show file extensions.
A Windows 11 File Explorer window showing folder icons and files on a light desktop, illustrating how to show file extensions.

To show file extensions in Windows 11, open Settings System Advanced File Explorer and turn on Show file extensions. If your build has no Advanced page, open File Explorer and use View Show File name extensions instead.

File extensions are the short endings on a filename, usually three or four letters, such as .txt or .jpg. They tell Windows 11 which program opens the file. Windows 11 hides most of them by default to keep folders tidy.

Visible extensions help you spot risky files ending in .exe, .bat or similar before you open them. They also expose tricks like a file named invoice.pdf.exe, which looks like a PDF because the real ending is hidden. The change takes under 30 seconds, and you can reverse it just as fast.

File Explorer is the built-in file manager for browsing documents, folders and drives. Open it from the taskbar or press the Win+E. You don’t need it open while you change the setting, but you use it afterwards to check the result.

⚡ Quick Answer

To show file extensions in Windows 11, open Settings, go to System Advanced File Explorer and turn on Show file extensions. If Advanced is missing, open File Explorer, click View Show and tick File name extensions. The change applies immediately, and no restart is needed.

Advertisement

How to Show File Extensions Using Settings

One setting controls whether Windows 11 shows or hides file extensions. When it is on, each filename ends with its real type, such as .txt for a text file or .docx for a Word document. This makes similar files easy to tell apart, such as a .jpg and a .png with the same name.

You can find the option in two places. The first is the Settings app, under System Advanced File Explorer. That page appears on recent builds of Windows 11 (version 24H2 and later, with current updates installed). Windows 11 24H2 Home and Pro reached end of updates on October 13, 2026, so update to 25H2 or 26H2 to stay supported.

Advertisement

If Advanced is missing under System, your build is older. Open File Explorer, click View Show, and tick File name extensions. The setting works the same on Home and Pro editions of a currently supported Windows 11 version (25H2 or 26H2), and it needs no restart.

Step 1Open Settings

Start by opening Settings. When you finish all the steps, every filename in File Explorer ends with its type, such as .txt or .jpg.

  1. Click the Start button, the Windows logo on the taskbar. It sits in the center unless you moved the taskbar icons to the left. The Start menu opens.
    Windows 11 Start menu search panel for opening OpenSSH Client settings
    Windows 11 Start menu search panel for opening OpenSSH Client settings
  2. Click Settings. If it isn’t among the pinned apps, type “Settings” into the Start menu search box and open it from the results.
Advertisement

Alternatively, press the Win+I to open Settings from any screen. If you use this shortcut, carry on from step 3.

Step 2Go to System > Advanced

This step takes you to the Advanced page, where the File Explorer settings live.

  1. Click System in the left menu. The System options appear on the right.
  2. Scroll to the bottom of the list on the right. The list is long, so keep going.
  3. Click Advanced. If it isn’t in the list, your Windows 11 build is too old for this page. Use the File Explorer View menu method described above, or run Windows Update and check again.
Windows 11 System Advanced Tile in Settings
Windows 11 Settings: System > Advanced screen for WSL uninstall.

You should now be on the Advanced page, with settings grouped by area. If the page looks empty or you land somewhere else, go back to the System page and click Advanced again.

Step 3Find File Explorer Settings

The File Explorer section holds the switches that control how File Explorer behaves.

  1. Find the File Explorer section among the groups on the Advanced page. You may need to scroll a little.
  2. Click File Explorer to expand it. The File Explorer options appear below the heading.
Advertisement
File Explorer Tile in Advanced Settings
File Explorer Tile in Advanced Settings

Each switch is either On or Off, and changing one affects only that one behavior.

Step 4Turn On File Extensions

This step makes Windows 11 display the ending on every filename.

  1. Find the option labeled Show file extensions in the File Explorer section you just expanded.
  2. Turn the Show file extensions switch to On. The switch label changes to On, and the change applies right away in Settings, with no restart or sign-out.
Show File Extensions Toggle in Windows 11
Show File Extensions Toggle in Windows 11

Windows 11 now shows file extensions for every file in File Explorer. To undo this later, return to the same page and switch Show file extensions to Off. Your files don’t change either way, because the setting only affects what File Explorer displays.

Step 5Close Settings

Check the result in File Explorer before you move on.

  1. Open any folder in File Explorer. A file that showed as “Report” should now read “Report.docx” or similar. An already open File Explorer window normally updates on its own. If it doesn’t, press F5 to refresh it, or close and reopen it.
Advertisement

Other Ways to Show File Extensions

The File Explorer settings in Windows 11 control whether extensions are visible. With the ending on every file, you can sort documents from programs more easily and notice when a file isn’t what its icon or name suggests.

⚠️WarningWhen you rename a file with extensions visible, change only the part before the dot. If you edit or delete the extension, Windows may no longer know how to open the file.
⚠️WarningWindows warns you before it applies an extension change. Read that prompt instead of clicking through it. If you rename a file by mistake, press Ctrl+Z in the folder right away to undo it.

Turn on file extensions using File Explorer folder options

Advertisement

Why Show File Extensions?

The extension is the group of letters after the final dot in a filename. It shows the exact type of file, such as a picture or a document. Turning extensions on helps you spot dangerous files disguised as normal documents, and it stops you from breaking a file by accident when you rename it.

  • Extensions tell you whether a file is a picture, a document or a program. Two files with the same name but different endings, like a .jpg and a .png, are clear at a glance.
  • They help you avoid opening the wrong kind of file. A file ending in .exe or .bat is a program, not a document, and you can see that before you double-click it.
  • They make file management safer, especially when you sort downloads or check email attachments.
  • The Settings route is quick, and the same switch reverses the change at any time.

What to do next

If a folder still shows no endings, press F5 to refresh it, or close and reopen File Explorer. To hide extensions again, switch Show file extensions to Off in Settings System Advanced File Explorer, or clear the File name extensions box under View Show. From now on, edit only the part of a filename before the dot when you rename files.

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked * How we handle comments