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 get started.
How to Hide or Show File Extensions
In Windows 11, most file extensions are hidden by default.
I said most because of 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 these extensions cannot be hidden.
With that said, let’s look at three different ways to hide or display file extensions in Windows 11.
Open the File Explorer by pressing Windows + E.
Click on the View 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 is enabled and the file extensions will be shown.
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.
In the Value data field, provide 0 (to show) or 1 (to hide).
Hit the OK button.
You can find the file type by following the steps below. Keep in mind that only File Explorer shows the type of file.
Note also that the steps work whether or not 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 in.
Now press Ctrl + Shit + 6 or click View at the top and then 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.
Find the key that contains the file extension you want and hit it. I’m choosing .jpeg here.
You can see Default on the right. Make a note of 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.