How to Unhide or Hide File Extensions in Windows 11 or 10?

Posted by

By default, file extensions remain hidden on Windows computers. By viewing the file extension, you can know about the file type. Different file types have different extensions. For example, audio files have .mp3, .wav, .wma, and more extensions. The file extensions help the operating system identify the corresponding program to open that particular file.

How to Remove and Uninstall Cortana...
How to Remove and Uninstall Cortana from Windows 11?

It is essential to know about file extension to identify file types if you try to open that. If you are a regular Windows user, then it should not be a problem identifying the file type.

Since file names allow you to use multiple full stops, the actual name of a malware file might be like rock.docx.exe. But since, by default, Windows does not show file extensions, you could see only rock.docx. You will think it is a Microsoft word document and try to open them, resulting in infecting your computer. On the other hand, if you set your PC to show file extensions, you could see its full name, rock.docx.exe. This way, you can identify that it is actually an executable file and, probability, a malware file. This is how you can find out if a file is malicious or suspicious and protect your PC.

There are several ways to show or hide File Extensions in Windows 11/10. We will review all of them one by one.

How to Hide or Unhide File Extensions in Windows 11 or 10 through File Explorer Options?

Step 1. First, open Control Panel.

Step 2. Then click Appearance and Personalization.

Step 3. After that, click File Explorer Options.

Step 4. Now, the ‘File Explorer options‘ window will open. Here, navigate the View tab.

Step 5. Then uncheck or check the “Hide extensions for known file types” option to show or hide file extensions.

Step 6. Next, click Apply button.

Step 7. Finally, click the OK button to close the “File Explorer Options” window.

After doing the above steps, open File Explorer to view the file extensions.

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

To show or hide File Extension in Windows 11 through File Explorer, do the following:-

Step 1. First, open File Explorer. To do that, hit Windows + E keys on the keyboard.

Step 2. When File Explorer opens, click View on the menu.

Step 3. Then select the Show > File name extensions option.

How to Show or Hide File Extensions in Windows 11/10 via Registry Editor?

To show or hide the File Extensions using Registry Editor, do the following:-

Step 1. First, open the Registry Editor.

Step 2. Then, in the left sidebar of Registry Editor, navigate the following key:-


Step 3. On the right sidebar of the “Advanced” folder, look for the DWORD named “HideFileExt” and double-click on it to open it.

Step 4. Then, in the “Value data” field, fill the following value:-

  • 1 – Shows up the hidden file extensions.
  • 0 – Hides the file extensions.

Step 5. After that, click the OK button.

Step 6. Finally, reboot your computer for the changes to take effect.

Leave a Reply

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