Always show file extensions — via Mauro Huculak, Pureinfotech
Windows hides extensions like .exe and .pdf by default, which makes it easy to be fooled by a file called "invoice.pdf.exe". Showing them is one of the simplest safety tweaks there is.
Restart Explorer (or sign out) to see it
The easy way
- The easy way: in File Explorer choose View → Show → File name extensions.
- Or: Settings → System → For developers → File Explorer → Show file extensions.
Registry change
Double-click a .reg file and confirm to merge it. Right-click → Edit first if you want to read it, which is always a good idea with any .reg file from the internet.
Apply
Windows Registry Editor Version 5.00
; Oddbyte.Me: Always show file extensions
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"HideFileExt"=dword:00000000Undo
Windows Registry Editor Version 5.00
; Oddbyte.Me: undo Always show file extensions
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]
"HideFileExt"=dword:00000001Same thing from a command prompt
Run in a normal (non-admin) Command Prompt or Terminal.
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 0 /fUndo:
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "HideFileExt" /t REG_DWORD /d 1 /fSources
- How to show file extensions on Windows 11 — by Mauro Huculak, Pureinfotech
- Source reviewed
- 2026-11-02
- Link checked
- 2026-11-02
- Tested hands-on
- Not by Oddbyte.Me
Oddbyte.Me hasn't tried this on every Windows build, so keep the undo handy.