⏲️ Estimated reading time: 9 min
Learn how to show file extensions in Windows 10 and Windows 11 using File Explorer, Folder Options, Control Panel, Command Prompt, and Registry Editor. Displaying file extensions improves security, helps identify file types, and makes file management easier for everyday users, developers, and advanced Windows users alike.
Why File Extensions Matter in Windows
Windows hides file extensions by default to make file names appear cleaner and less cluttered. While this may seem convenient, it can create confusion and even expose users to security risks.
A file extension is the group of letters that appears after a period in a file name. Examples include:
.txtfor text files.jpgfor image files.mp4for video files.exefor executable programs
When extensions are hidden, you might only see the file name instead of the actual file type.
For example:
holiday-photo.jpglooks harmlessholiday-photo.jpg.execould actually be malware
If extensions remain hidden, Windows may only display holiday-photo.jpg, hiding the dangerous .exe part.
That is why enabling visible file extensions is highly recommended for both beginners and advanced users.
What Are File Extensions?
File extensions tell Windows what kind of file you are using and which application should open it.
Here are some common examples:
| Extension | File Type |
|---|---|
| .docx | Microsoft Word Document |
| .xlsx | Excel Spreadsheet |
| PDF Document | |
| .png | PNG Image |
| .zip | Compressed Archive |
| .exe | Executable Application |
Without visible extensions, many files can appear identical even though they behave very differently.
Benefits of Showing File Extensions
Improved Security
One of the biggest advantages is protection against fake or malicious files.
Cybercriminals often disguise dangerous files using double extensions such as:
invoice.pdf.exephoto.png.scr
If extensions stay hidden, users may think these files are harmless images or documents.
Showing extensions makes suspicious files much easier to detect.
Easier File Management
Visible extensions help organize files more efficiently.
You can quickly distinguish:
.jpgfrom.png.mp3from.wav.htmlfrom.php
This becomes especially useful when working with large folders.
Better for Developers and IT Professionals
Developers and advanced users often work with:
.json.xml.bat.cmd.ps1
Visible extensions simplify editing and troubleshooting.
Safer File Renaming
When extensions are visible, you are less likely to accidentally rename the wrong part of a file.
This helps prevent broken or unusable files.
How to Show File Extensions in Windows 10
Windows 10 offers several simple methods for displaying file extensions.
Method 1: Show File Extensions Using File Explorer Ribbon
This is the fastest and easiest method for most users.
Step 1: Open File Explorer
Press:
Win + E
You can also click the File Explorer icon from the taskbar.
Step 2: Open the View Tab
At the top of File Explorer, click:
View
Step 3: Enable File Name Extensions
Inside the “Show/hide” section, check:
File name extensions
All files will immediately display their extensions.
✅ No restart required.
Method 2: Show File Extensions Using Folder Options
Folder Options gives more control over Windows display settings.
Step 1: Open File Explorer
Press:
Win + E
Step 2: Open Folder Options
Click:
View → Options
Step 3: Open the View Tab
Inside Folder Options, select:
View
Step 4: Disable Hidden Extensions
Locate:
Hide extensions for known file types
Uncheck the box.
Step 5: Save Changes
Click:
Apply → OK
Extensions will now stay visible system-wide.
How to Show File Extensions in Windows 11
Windows 11 redesigned File Explorer, but the process remains very simple.
Method 1: Show File Extensions Using File Explorer
Step 1: Open File Explorer
Press:
Win + E
Step 2: Open the View Menu
At the top toolbar, click:
View
Step 3: Open the Show Menu
Hover over:
Show
Step 4: Enable File Name Extensions
Click:
File name extensions
Extensions will instantly appear.

Method 2: Show File Extensions Using Folder Options
Step 1: Open File Explorer
Launch File Explorer normally.
Step 2: Open More Options
Click the:
...
button in the toolbar.
Step 3: Open Options
Select:
Options
Step 4: Disable Hidden Extensions
Under the View tab:
- Uncheck
Hide extensions for known file types
Step 5: Save Settings
Click:
Apply → OK
Method 3: Show File Extensions Using Control Panel
Some users still prefer the classic Control Panel method.
Step 1: Open Run
Press:
Win + R
Step 2: Launch Control Panel
Type:
control
Then press Enter.
Step 3: Open File Explorer Options
Navigate to:
Appearance and Personalization → File Explorer Options
Step 4: Open the View Tab
Click:
View
Step 5: Disable Hidden Extensions
Uncheck:
Hide extensions for known file types
Step 6: Save Changes
Click:
Apply → OK
Method 4: Show File Extensions Using Command Prompt
Advanced users may prefer automation or scripting.
Important Warning
This method automatically changes the Windows Registry.
Always be careful when modifying system settings.
Step 1: Open Command Prompt as Administrator
Search for:
cmd
Then choose:
Run as administrator
Step 2: Run the Command
Copy and paste:
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v HideFileExt /t REG_DWORD /d 0 /f
Step 3: Restart File Explorer
Restart File Explorer or reboot your PC.
Extensions should now appear.
Method 5: Show File Extensions Using Registry Editor
Registry Editor offers direct control over Windows behavior.
This method is best for advanced users.
Important Safety Notice
Incorrect registry changes can affect Windows stability.
Create a backup before making changes.
Step 1: Open Registry Editor
Press:
Win + R
Type:
regedit
Then press Enter.
Step 2: Navigate to the Registry Path
Go to:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
Step 3: Locate HideFileExt
Find:
HideFileExt
Step 4: Modify the Value
| Value | Result |
|---|---|
| 0 | Show extensions |
| 1 | Hide extensions |
Step 5: Restart File Explorer
Restart Explorer or reboot Windows.
Common File Extensions You Should Recognize
Document Extensions
| Extension | Description |
|---|---|
| .docx | Word Document |
| PDF File | |
| .txt | Plain Text |
| .rtf | Rich Text Format |
Image Extensions
| Extension | Description |
|---|---|
| .jpg | JPEG Image |
| .png | PNG Image |
| .gif | Animated Image |
| .bmp | Bitmap Image |
Video Extensions
| Extension | Description |
|---|---|
| .mp4 | MPEG-4 Video |
| .avi | AVI Video |
| .mov | Apple QuickTime |
| .mkv | Matroska Video |
Executable Extensions
Be extra careful with these:
| Extension | Description |
|---|---|
| .exe | Windows Application |
| .bat | Batch File |
| .cmd | Command Script |
| .msi | Installer Package |
Troubleshooting File Extensions Not Showing
Sometimes extensions still remain hidden even after enabling them.
Restart File Explorer
File Explorer may not refresh correctly.
- Press
Ctrl + Shift + Esc - Find
Windows Explorer - Click
Restart
Restart Your Computer
Some settings require a full reboot.
Verify Folder View Settings
Make sure:
Hide extensions for known file types
remains unchecked.
Check Company Restrictions
On work computers, administrators may lock these settings through Group Policy.
Contact your IT department if changes do not apply.
Risks of Hidden File Extensions
Hidden extensions can create serious security problems.
Fake Documents
Malware often disguises itself as harmless files.
Examples include:
resume.docx.exepayment.pdf.scr
Dangerous Email Attachments
Visible extensions help you identify suspicious attachments before opening them.
Safer Downloads
You can instantly confirm whether a download is:
- A document
- An image
- A program
- A compressed archive
Best Practices for File Management
Showing extensions is only one part of safer file management.
Keep Files Organized
Use folders such as:
- Documents
- Pictures
- Videos
- Downloads
Avoid storing everything on the desktop.
Use Antivirus Protection
Visible extensions improve security, but antivirus software remains essential.
Avoid Unknown Executables
Never run unknown:
.exe.bat.cmd
files from untrusted sources.
Differences Between Windows 10 and Windows 11
Although both systems support visible extensions, the interface changed slightly.
| Feature | Windows 10 | Windows 11 |
|---|---|---|
| Toolbar Style | Ribbon | Simplified Toolbar |
| Folder Options Access | Ribbon Menu | Three-dot Menu |
| Registry Method | Same | Same |
| Control Panel | Available | Available |
The functionality itself remains almost identical.
Why Microsoft Hides Extensions by Default
- Microsoft originally hid file extensions to simplify Windows for casual users.
- The goal was to reduce clutter inside File Explorer.
- However, many experts now consider hidden extensions a security risk rather than a convenience.
- That is why many IT professionals enable visible extensions immediately after installing Windows.
Frequently Asked Questions
How do I show file extensions in Windows 11?
Open File Explorer, then go to View → Show → File name extensions.
How do I show file extensions in Windows 10?
Open File Explorer, click the View tab, and enable File name extensions.
Why are file extensions hidden by default?
Microsoft hides them to make the interface cleaner for casual users.
Is it safe to show file extensions?
Yes. Showing extensions improves security and file management.
Can showing extensions damage my computer?
No. Displaying extensions does not affect system performance.
What happens if I rename a file extension?
Changing an extension incorrectly may prevent the file from opening properly.
How do I hide extensions again?
Enable:
Hide extensions for known file types
inside Folder Options.
Can malware hide behind fake extensions?
Yes. Cybercriminals often use double extensions to disguise malicious files.
Do file extensions really matter?
Yes. Extensions tell Windows how to identify and open files.
Is this feature available in all Windows versions?
Most Windows versions support visible file extensions.
A Small Windows Tweak With Big Benefits
Showing file extensions in Windows 10 and Windows 11 is one of the easiest ways to improve both usability and security.
Whether you use the quick File Explorer method or advanced registry commands, enabling extensions helps you understand exactly what files you are working with.
You can now:
- Identify file types instantly
- Spot suspicious downloads
- Manage files more efficiently
- Work more safely in Windows
This simple setting only takes a few seconds to enable, yet it can prevent major confusion and security problems later.

⚠️ Disclaimer and Source Hygiene
This article is intended for informational and educational purposes only. Windows interfaces and settings may change depending on updates and system configurations. Always back up important files before making advanced registry changes.
Information in this guide is based on research from official Microsoft documentation, Windows support resources, and cybersecurity best practices.
🔔 For more tutorials like this, consider subscribing to our blog.
📩 Do you have questions or suggestions? Leave a comment or contact us!
🏷️ Tags: Windows 10, Windows 11, File Extensions, File Explorer, Folder Options, Registry Editor, Command Prompt, Windows Security, PC Tips, Windows Tutorials
📢 Hashtags: #Windows10, #Windows11, #FileExtensions, #FileExplorer, #WindowsTips, #WindowsSecurity, #RegistryEditor, #CommandPrompt, #PCTutorial, #TechTips
📚 Sources and References
- Microsoft Support Documentation
- Microsoft Learn
- Windows Help Center
- Cybersecurity Best Practices
- Windows Community Technical Discussions
🕊️ Secondary Sources and Testimonials
- Cybersecurity awareness resources
- Recommendations from IT administrators
- Feedback from Windows users and forums
- Developer best practices