Show File Extensions in Windows: 3 Ways
In this article
To show file extensions in Windows, open File Explorer, click the "View" menu, then check the "File name extensions" box. This works in Windows 10 and Windows 11. The change applies immediately to all folders and stays until you turn it off again.
Why File Extensions Are Hidden by Default
Windows hides file extensions by default to reduce clutter and prevent users from accidentally changing them. The extension is the part of the filename after the last dot, such as .txt, .jpg, or .exe. When hidden, you see only the base name, like "report" instead of "report.docx". This makes the interface cleaner but removes important information about what type of file you are dealing with.
Hiding extensions also reduces the risk of a user renaming a file and breaking it. For example, if you rename "notes.txt" to "notes" while extensions are hidden, Windows still treats it as a text file because the extension is preserved internally. But if you type "notes.docx" over an existing .txt file, you could end up with a file that has a misleading extension.
How to Show File Extensions in Windows 10 and 11
The steps are nearly identical in both versions. The main difference is the ribbon layout in Windows 11.
- Open File Explorer (press Win + E).
- In Windows 11, click the View button in the top toolbar. In Windows 10, click the View tab in the ribbon.
- Hover over Show (Windows 11) or look for the File name extensions checkbox (Windows 10).
- Check the box next to File name extensions.
That's it. The change is global, so every folder will show extensions. To hide them again, uncheck the same box.
Alternative Method: Folder Options
If you prefer a more traditional route, you can use the Folder Options (also called File Explorer Options) dialog.
- Open File Explorer.
- Click the See more (three dots) button in Windows 11, or the File menu in Windows 10, then choose Options.
- Switch to the View tab.
- Scroll down in the Advanced settings list.
- Uncheck Hide extensions for known file types.
- Click OK.
This method gives you a few extra options, like showing hidden files and system files, but for extensions the checkbox does the same job as the View ribbon.
What Changes When You See Extensions
Once extensions are visible, you will notice a few things right away:
- Files that previously showed only a name now show a dot and a suffix, like budget.xlsx.
- You can now rename the extension yourself, which can make a file unopenable if you change it to the wrong type.
- You can tell at a glance whether a file is a Word document (.docx), a PDF (.pdf), or an executable (.exe).
This is especially useful for spotting suspicious files. An email attachment named "invoice.pdf" that actually has a .exe extension is a classic malware trick. With extensions visible, you can see the real type before opening it.
Common Problems and Misconceptions
One common mistake is thinking that changing the extension changes the file format. For example, renaming "photo.jpg" to "photo.png" does not convert the image to PNG; it only changes the label. The file still contains JPEG data, and programs may fail to open it or show an error.
Another issue occurs when you try to rename a file and accidentally delete the extension. Windows will warn you with a prompt: "If you change a file name extension, the file might become unusable." If you ignore that warning, you might end up with a file that Windows no longer knows how to open.
Some users also confuse showing extensions with showing hidden files. They are separate settings. Extensions are about the suffix after the dot; hidden files are files with the Hidden attribute set. You can show one without the other.
How to Show Extensions Only for Certain Folders
Windows does not offer a per-folder setting for extensions. The setting in the View ribbon is global. However, you can create a folder view template that applies to all folders of the same type (e.g., Documents, Pictures, Music) but the extension visibility is not part of that template. If you need to hide extensions in one folder but show them everywhere else, the only workaround is to turn the global setting on and off when you switch folders, which is tedious. Most users simply keep extensions visible everywhere.
Frequently Asked Questions
Why can't I see the "File name extensions" checkbox?
In Windows 11, the checkbox is hidden under the Show submenu in the View menu. Click View, then Show, and you will see File name extensions. In Windows 10, make sure you are on the View tab in the ribbon; the checkbox is in the Show/hide group.
Will showing extensions slow down my computer?
No. This setting only changes how filenames are displayed. It has no effect on performance, disk usage, or system resources.
How do I show file extensions in Windows 7?
Windows 7 uses a different interface. Open any folder, click Organize in the toolbar, then Folder and search options. Go to the View tab and uncheck Hide extensions for known file types. Click OK.
What is the keyboard shortcut to show file extensions?
There is no direct shortcut. You can press Alt + V to focus the View menu in File Explorer, then press X to toggle the checkbox in Windows 10. In Windows 11, press Alt + V, then S to open the Show submenu, then E to toggle extensions.
I turned on extensions but nothing changed. Why?
Make sure you are looking at a folder that contains files with extensions. Some file types, like shortcuts (.lnk) and some system files, may still hide their extensions even when the setting is on. Also, if you have a file that truly has no extension (like a README file), it will not show a dot because there is none.
Can I show extensions by default for new users?
Yes, but it requires editing the registry or using Group Policy. In the registry, navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced and set the value HideFileExt to 0. This is a per-user setting, so you would need to apply it to each user account.