How to Show File Extensions in Windows 11

Why File Extensions Are Hidden by Default in Windows 11

When you look at your Windows 11 File Explorer, you might notice that most files appear without their full names. Instead of seeing report.docx or photo.jpg, you may only see report or photo. This is because Windows hides file extensions by default for what Microsoft considers “known file types” — common formats like documents, images, videos, and executable programs.

The original intention behind hiding file extensions was to simplify the user experience for beginners. The thinking was that seeing fewer characters would make file names easier to read and understand. However, this “feature” has become controversial over the years because it can create confusion and even security risks.

One significant issue is that hiding file extensions can make it difficult to identify the actual type of file you’re dealing with. For instance, a file named vacation.jpg might actually be vacation.jpg.exe — a potentially harmful executable disguised as an image. Without seeing the full extension, you have no way to know for sure what kind of file you’re about to open.

Another practical problem arises when you work with files that need to be in a specific format. If you’re editing a text document saved as notes.txt but Windows only shows notes, you might accidentally save it as notes again and lose the proper file association. Or when downloading files from the internet, you can’t easily tell if a file is actually a PDF, Word document, or something else until you open it.

While hiding extensions might seem helpful for casual users, many experienced users, professionals, and even IT administrators recommend showing file extensions for better file management and security. The next sections will show you exactly how to enable this setting in Windows 11 using multiple methods.

Key Takeaways

  • Windows 11 hides file extensions by default, which can pose security risks by making it difficult to identify potentially harmful files disguised with fake extensions.
  • You can reveal file extensions through File Explorer by unchecking “Hide extensions for known file types” in Folder Options, or by modifying the HideFileExt registry value to 0.
  • Showing file extensions improves file organization, helps with troubleshooting, and allows professionals to quickly identify which software is needed to open specific file types.
  • The setting applies globally across all folders in Windows 11 and takes effect immediately after you apply the change.

How to Show File Extensions Using File Explorer Options

The most straightforward way to show file extensions in Windows 11 is through the File Explorer options menu. This method requires no special tools and works for nearly all Windows 11 users.

  1. Open File Explorer by clicking the folder icon on your taskbar or pressing Windows key + E on your keyboard.
  2. At the top of the File Explorer window, click on the View tab in the ribbon menu.
  3. Look for the Show group on the right side of the ribbon.
  4. Click on the Options button, which opens a small dropdown menu.
  5. From the dropdown, select Change folder and search options. This will open the Folder Options dialog box.

Once the Folder Options window appears, you’re just a couple more steps away from seeing all file extensions. The View tab in this dialog contains the specific setting we need to change.

Inside the Folder Options dialog, you’ll see several tabs at the top: General, View, and Search. Make sure the View tab is selected. This is where all the file display settings are located, including the setting that controls file extensions.

Accessing File Extensions Settings Through Folder Options Dialog

The Folder Options dialog in Windows 11 contains a long list of settings that control how files and folders are displayed. Finding the correct setting among all the checkboxes can be a bit overwhelming, but the file extensions setting is easy to locate once you know what to look for.

Inside the Folder Options dialog with the View tab selected, scroll down through the list of advanced settings. You will see numerous checkboxes related to hidden files, hidden folders, hidden drives, and more. The specific setting you need is labeled Hide extensions for known file types.

To enable file extensions, simply uncheck the box next to Hide extensions for known file types. This may seem counterintuitive — you’re removing a hiding setting to make something visible — but that’s exactly how Windows has been designed to work. Once you uncheck this box, file extensions will appear for all files that previously had them hidden.

After unchecking the box, click the Apply button to preview the change, and then click OK to save your settings permanently. The change takes effect immediately, so you should see file extensions added to your files in File Explorer as soon as you close the dialog.

It’s important to note that unchecking this setting does not rename any files or change their actual content. It simply displays the file extension that was already part of the file name. For example, a file named budget.xlsx was always an Excel file; Windows was just hiding the .xlsx portion from view.

If you ever decide you want to return to hiding file extensions, simply repeat the same steps and check the box again. Your files will revert to showing only their base names, with extensions hidden once more.

Using Registry Editor to Enable File Extensions (Advanced Method)

While the File Explorer method is the recommended approach for most users, Windows also allows you to control file extension visibility through the Registry Editor. This method is useful if you need to apply this setting across multiple computers or if you prefer working with the registry for system customization.

Warning: The Registry Editor is a powerful tool that can affect how Windows operates. Making incorrect changes to the registry can cause system instability or other problems. Before proceeding with this method, create a system restore point or at least ensure you know how to back up the registry.

Here are the steps to enable file extensions through the Registry Editor:

  1. Press Windows key + R to open the Run dialog box.
  2. Type regedit and press Enter or click OK.
  3. If User Account Control prompts you for permission, click Yes to allow Registry Editor to make changes.
  4. Navigate to the following registry key:
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
  5. In the right pane, look for a value named HideFileExt. If it doesn’t exist, you’ll need to create it:
    • Right-click in the right pane and select New > DWORD (32-bit) Value.
    • Name it HideFileExt.
  6. Double-click HideFileExt to modify its value.
  7. Set the value data to 0 to show file extensions. (A value of 1 means hidden, which is the default.)
  8. Click OK to save the change.

After making this registry change, you need to either restart File Explorer or restart your computer for the changes to take effect. To restart File Explorer without rebooting:

  1. Right-click on the taskbar and select Task Manager.
  2. In Task Manager, find Windows Explorer in the Processes tab (or File Explorer in newer versions).
  3. Right-click on it and select Restart.

Once File Explorer restarts, you should see all file extensions visible in your File Explorer windows.

If you need to apply this setting to multiple user accounts on the same computer, you can modify the registry key under HKEY_USERS for each user, or use the Group Policy Editor if you’re running Windows 11 Pro or Enterprise edition.

Verifying That File Extensions Are Now Visible

After completing one of the methods described above, it’s important to verify that the change took effect properly. Windows sometimes caches settings, and you may need to refresh your File Explorer view to see the updates.

To verify that file extensions are now visible:

  1. Open File Explorer and navigate to a folder that contains files, such as your Documents folder or Desktop.
  2. Look for any file you know the type of — for example, a Word document, PDF file, or image. You should now see the full file name including the extension, such as budget.xlsx, presentation.pdf, or photo.jpg.
  3. Try sorting your files by name to confirm that the extensions are being included in the sorting process. Files will now sort based on their complete names, not just the base name.

If you still don’t see file extensions after making the change, try one of the following troubleshooting steps:

  • Press Windows key + E to open a fresh File Explorer window
  • Click the Refresh button on the ribbon or press F5
  • Restart your computer to ensure all system processes pick up the new settings
  • Check if you have any third-party file managers installed that might have their own settings for hiding file extensions

It’s also worth noting that Windows still hides the extensions for system files even after you enable this setting. If you see a file with a double extension like filename.txt.txt, it could be because Windows added an extension to a file that already had one, or because you have multiple programs associated with the same file type. In such cases, you can rename the file to remove the extra extension, being careful to keep the correct one for the file type you want to use.

Benefits and Security Considerations of Showing File Extensions

Enabling file extensions in Windows 11 is more than just a cosmetic change — it provides tangible benefits for file management and security.

The most significant benefit is improved security. Malware and phishing attacks often rely on file extension hiding to trick users into opening dangerous files. For example, a file named invoice.pdf.exe might appear as invoice.pdf when extensions are hidden. This could lead you to double-click what you think is a PDF document, but is actually an executable program that could harm your computer. By showing file extensions, you can immediately identify potentially dangerous files and avoid opening them.

Another benefit is better file organization. When you can see file extensions, it’s easier to locate specific file types using Windows search. For instance, if you’re looking for all your PDF documents, you can search for .pdf and Windows will return all files with that extension. This works much better when you know exactly which extensions correspond to which file types.

Professionals who work with multiple file formats also benefit from seeing file extensions. Photographers, video editors, developers, and designers often work with dozens of different file types. Being able to see extensions like .psd, .avi, .mp4, .json, or .log helps them quickly identify which files require specific software to open and edit.

From a troubleshooting perspective, showing file extensions makes it easier to diagnose issues. If a file won’t open with the expected program, seeing the extension can help you identify whether the file has been saved in the wrong format or if there’s been a corruption issue that changed the extension.

Common Windows File Extensions Reference

Here’s a quick reference guide for some of the most common file extensions you’ll encounter in Windows 11:

  • .docx — Microsoft Word document
  • .doc — Older Microsoft Word document format (pre-2007)
  • .xlsx — Microsoft Excel spreadsheet
  • .xls — Older Microsoft Excel format
  • .pptx — Microsoft PowerPoint presentation
  • .pdf — Portable Document Format (Adobe Acrobat)
  • .jpg or .jpeg — JPEG image file
  • .png — Portable Network Graphics image
  • .gif — Graphics Interchange Format image
  • .mp4 — MPEG-4 video file
  • .mp3 — MPEG-3 audio file
  • .txt — Plain text file
  • .rtf — Rich Text Format file
  • .exe — Windows executable program
  • .zip — Compressed ZIP archive
  • .rar — RAR compressed archive
  • .html or .htm — Web page file
  • .json — JavaScript Object Notation data file
  • .log — Log file

Understanding these extensions helps you identify files at a glance and know which programs are likely to open them. Once you enable file extensions, you’ll start noticing these patterns more often and become more comfortable with different file types.

Potential Considerations

While showing file extensions is generally recommended, there are a few considerations to keep in mind:

  • File name length — File names can only be so long in Windows. When you enable extensions, you’re using part of that available length. For files with very long base names, this could theoretically be an issue, though it’s rare in everyday use.
  • Professional workflows — Some professional editing software may automatically rename files and add extensions. Knowing which extensions belong to which file types helps you verify that the software is working correctly.
  • Collaboration — When sharing files with others, make sure they’re familiar with the file extensions you’re using. If you send someone a .odt file but they only have Microsoft Word installed, they might need to install additional software or convert the file.

Most users find that the security and organizational benefits far outweigh any minor inconveniences. The more you work with files on your computer, the more natural it becomes to recognize file extensions and understand what each one means.

Frequently Asked Questions

How do I see hidden files and folders in Windows 11?

To see hidden files and folders, you need to make two changes in the Folder Options dialog. First, enable file extensions as described in the main guide. Then, in the same View tab, find the setting labeled Hide protected operating system files (Recommended) and uncheck it. You’ll also want to select the Show hidden files, folders, and drives radio button. Be careful when working with hidden files, as modifying or deleting system files can cause Windows to malfunction.

Can I reset my File Explorer settings back to default?

Yes, you can reset File Explorer to its default settings. In the Folder Options dialog, click the Reset Folders button at the bottom of the View tab. This will restore all folder views to Windows defaults. You can also click Reset to default in the View tab of File Explorer to reset just the current view settings. Note that resetting will re-enable hiding file extensions, so you’ll need to go back and disable it again if you want extensions to remain visible.

Will this setting apply to all folders in Windows?

Yes, once you enable file extensions through Folder Options or the Registry Editor, the setting applies globally to all folders in Windows 11. Every folder you open in File Explorer will display file extensions for all files. There’s no built-in way to show extensions in some folders but not others — it’s an all-or-nothing setting. If you need different behavior for specific folders, you would need to use third-party file managers that offer this level of customization.

Conclusion

Showing file extensions in Windows 11 is a simple yet important setting that enhances both the usability and security of your computer. While Microsoft hides them by default to keep the interface clean for casual users, revealing these extensions provides significant benefits for anyone who regularly works with files.

The process is straightforward: open File Explorer, go to the View tab, access Folder Options, and uncheck the box next to Hide extensions for known file types. If you prefer working with the registry, you can also modify the HideFileExt value to achieve the same result.

Once enabled, you’ll have better visibility into your files, making it easier to identify file types, avoid potential security threats, and organize your digital content more effectively. This setting doesn’t change any files or affect system performance — it simply reveals information that was already there but hidden from view.

For more Windows 11 productivity tips, you might also be interested in our guides on using virtual desktops, taking screenshots, or changing default apps to further customize your experience.

Today Tech Tips Editorial Team

The Today Tech Tips editorial team creates practical, easy-to-understand guides about everyday technology. The team covers Windows PCs and laptops, smartphones, apps, software, Wi-Fi and networking, smart home technology, and common troubleshooting problems. Their articles focus on clear explanations, actionable steps, and information that is useful for everyday technology users.

Leave a Reply

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

19 online now 6,327 visitors today · 67,545 visits in the last 7 days