Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Show or Hide File Name Extensions in Windows 10

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

File name extensions (like .txt, .jpg, or .exe) tell Windows what type of file you have and which program should open it. By default, Windows 10 hides these extensions for known file types, which can make it hard to tell a .jpg from a .png or spot a suspicious .exe disguised as a document. This guide shows you three ways to turn extensions on or off, so you can choose the method that fits how you work.

What You'll Need

  • A PC running Windows 10 (any edition, Home or Pro)
  • An account with administrator rights (only needed for one of the methods, but recommended)
  • Access to File Explorer (the folder icon on your taskbar)

Step-by-Step

Method 1: Using File Explorer's Ribbon (Easiest)

  1. Open File Explorer by clicking the folder icon in your taskbar, or press Win + E.
  2. Click the View tab at the top of the window (it's between "Home" and "Share").
  3. Look for the File name extensions checkbox in the "Show/hide" section on the right side of the ribbon.
  4. Check the box to show extensions, or uncheck it to hide them.
  5. The change applies immediately to the current folder and all folders you open afterward. There's no need to restart.

Method 2: Using Folder Options (Classic Way)

  1. Open File Explorer.
  2. Click the File menu in the top-left corner, then select Change folder and search options.
  3. In the Folder Options window, switch to the View tab.
  4. Scroll down in the "Advanced settings" list until you see Hide extensions for known file types.
  5. To show extensions, uncheck that box. To hide them, check it.
  6. Click Apply, then OK.

Method 3: Using the Control Panel (Alternative)

  1. Type Control Panel in the Windows search bar and open it.
  2. Make sure the view is set to Large icons or Small icons (not Category).
  3. Click File Explorer Options (or Folder Options in older builds).
  4. Go to the View tab and follow steps 4-6 from Method 2.

All three methods achieve the same result. The ribbon method is fastest for a quick toggle, while Folder Options gives you more control over other file display settings.

Common Mistakes

  • Changing only one folder: The ribbon toggle applies globally, not just to the current folder. If you only see extensions in one folder, check that you didn't set a folder-specific view (see Troubleshooting).
  • Confusing extensions with file type: Hiding extensions doesn't change the file type—it only hides the label. A file named "report" could still be a .docx or a .exe.
  • Renaming the extension accidentally: When extensions are visible, you might rename "notes.txt" to "notes.docx" thinking you're just changing the name. This can corrupt the file. Always keep the extension intact unless you intentionally convert the file.
  • Forgetting to apply in Folder Options: If you close the window without clicking Apply, your change won't take effect.

Tips

  • Show extensions permanently: If you work with multiple file types or download files often, keeping extensions visible helps you avoid opening malicious files. It's a small security win.
  • Use the search bar for quick access: Instead of digging through menus, you can type "File Explorer Options" directly into the Windows search box and jump straight to the View tab.
  • Know the common extensions: Even with extensions hidden, you can identify a file by its icon or by right-clicking and selecting Properties. The "Type of file" field shows the extension.
  • Toggle for specific tasks: If you rarely need extensions, leave them hidden for a cleaner look, then turn them on temporarily when you need to check a file's format.
  • Use keyboard shortcuts: Press Alt + V to jump to the View tab in File Explorer, then use arrow keys to reach the checkbox.

Troubleshooting

Extensions still not showing after you enabled them?

  • Make sure you're looking at a folder that contains files. The setting doesn't affect empty folders.
  • Check if the file is a shortcut (.lnk) or a system file—these may not show extensions even when the setting is on.
  • Press F5 to refresh the view. Sometimes the display doesn't update immediately.
  • If you used the ribbon toggle, verify that the checkbox is actually checked. It can be easy to click it and then click elsewhere, undoing the change.

Extensions are showing but you want them hidden for a specific folder only?

  • Windows 10 doesn't allow per-folder extension hiding. The setting is global. If you want a cleaner look in a particular folder, you can use the Group by or Sort by options to organize files without hiding extensions.

You can't find the "File name extensions" checkbox in the ribbon?

  • Make sure you're in File Explorer, not on the desktop or in a dialog box. The ribbon only appears in File Explorer windows.
  • If your ribbon is minimized, click the downward arrow at the top-right to expand it.

After changing the setting, some files still show extensions and others don't?

  • This is normal. The setting only affects "known file types"—files that Windows recognizes. Unknown extensions (like .xyz) are always shown because Windows doesn't know what they are.

Frequently Asked Questions

1. Will showing extensions slow down my computer?
No. This is purely a visual setting and has zero impact on performance.

2. Can I show extensions only for certain file types?
No, Windows doesn't offer that granularity. You can either show all known extensions or hide them all. Unknown extensions always remain visible.

3. Is it safe to hide extensions?
It's safe, but it can be risky if you download files from the internet. Malicious files often use double extensions like "invoice.pdf.exe"—with extensions hidden, you'd only see "invoice.pdf" and might open it unknowingly. Showing extensions is a good security practice.

4. How do I change a file's extension?
With extensions visible, right-click the file, select Rename, and type the new extension after the dot. Windows will warn you that the file might become unusable. Only do this if you know what you're doing—for example, changing .txt to .csv can work for simple text data.

5. Why can't I see extensions for files on my desktop?
The desktop is a special folder, but the same setting applies. If you've enabled extensions, they should appear on desktop icons too. If not, try pressing F5 or restarting File Explorer via Task Manager (right-click the taskbar, select Task Manager, find "Windows Explorer," right-click, and choose Restart).

6. Does this setting affect files in File Explorer only, or also in other apps?
It only affects File Explorer. Other apps like Word or your browser have their own file dialogs, which may or may not show extensions depending on their own settings.