In this post, you’ll see:
- How to Hide or Show File Extensions
- How to Hide or Show Specific File Extension
Here, I’m using Windows 11. Let’s start.
How to Hide or Show File Extensions
Windows 11 hides most file extensions by default.
I said most because a few file extensions such as .mui and .cpl are displayed by default.
You can see these file extensions in the System32 folder (which you can find in C > Windows) of your PC. Remember that you can’t hide these extensions.
With that said, let’s look at three different ways to hide or display file extensions in Windows 11.
Open File Explorer by pressing Windows + E.
Click on the View option beside the three horizontal dots at the top. Hover your mouse over “Show.”
Hit “File name extensions” to see or hide the file extensions. You can find this one between the “Item check boxes” and “Hidden items.” A tick beside it means it’s enabled, and you can see the file extensions.
Open the File Explorer Options. Here’s our guide if you need help with this.
Navigate to the View tab.
Uncheck (to show) or check (to hide) “Hide extensions for known file types.” You can find this one between “Hide empty drives” and “Hide folder merge conflicts.”
Click on the “OK” button at the bottom.
Launch the Registry Editor.
Before proceeding, I recommend taking a backup of the Registry.
Go to: HKEY_CURRENT_USER > Software > Microsoft > Windows > CurrentVersion > Explorer > Advanced.
Locate HideFileExt in the right pane and double-click it.
Provide 0 (to show) or 1 (to hide) in the Value data field.
Hit the OK button.
You can find the file type by following the steps below. Keep in mind that only File Explorer shows the file type.
Note that the steps work whether the file extension is hidden on your PC.
Here are the steps:
Open File Explorer.
You can now open the folder you want. Note that this will only affect the folder you’re on.
Now press Ctrl + Shift + 6 or click View at the top and click on Details.
There you have it. The Type column shows the type of each file.
How to Hide or Show Specific File Extensions in Windows 11
Open the Registry Editor. Expand HKEY_CLASSES_ROOT.
Find the key that contains the file extension you want and hit it. I’m choosing .jpeg here.
You can see the “Default” on the right. Note the value data (which is nothing but ProgID) in its “Data” column. The value data is jpegfile in this example.
Find the key with that name in HKEY_CLASSES_ROOT. I need to locate the jpegfile key here.
Once you’ve found it, hit it. You need to right-click on the blank space on the right.
Choose New > String Value.
To hide this specific extension, type NeverShowExt.
You need to type AlwaysShowExt if you want to show this specific extension.
Restart the computer.
So, that’s it.
I hope this guide, “How to Hide or Show File Extensions in Windows 11,” is helpful to you.