Hidden files are there, but your operating system hides them by default

Every computer hides certain files and folders from view to protect system files you shouldn't accidentally delete. When you need to see them — to find a configuration file, recover something you thought was gone, or troubleshoot a problem — you turn on the setting that shows hidden files. The steps differ depending on whether you use Windows, Mac, or Linux.

Hidden files aren't secret or encrypted. They're just marked with a hidden attribute, and your operating system respects that marking by not displaying them in the file browser. Turning them on doesn't change the files themselves — it only changes what you see.

Key Takeaways

  • On Windows 10 and 11, open File Explorer, click the View tab, and check the box next to Hidden items.
  • On Mac, press Command+Shift+Period to toggle hidden files on and off in Finder.
  • Hidden files often start with a dot (.) on Mac and Linux, and Windows marks them with a hidden attribute you can see in file properties.
  • Showing hidden files is temporary in most cases — the setting stays on until you turn it off, but restarting your computer won't hide them again.
  • Be careful not to delete system files that appear after you show hidden files, as removing them can break your operating system.

Show hidden files on Windows 10 and 11

Open File Explorer by pressing Windows key + E, or click the folder icon on your taskbar. Navigate to any folder — it doesn't matter which one, because the setting applies to all folders once you turn it on.

Look at the top of the File Explorer window and click the View tab. In the ribbon that appears, find the checkbox labeled Hidden items and click it. Hidden files and folders now appear in your file list, usually shown in a lighter gray color to distinguish them from regular files.

To hide them again later, click that same checkbox a second time. The setting persists until you change it — closing File Explorer or restarting your computer won't turn it back off.

Show hidden files on Mac using Finder

Open Finder by clicking the Finder icon in your dock, or press Command+Space to open Spotlight and type "Finder". Once Finder is open, press Command+Shift+Period (the period key, not a comma). Hidden files appear immediately in your current folder and all other folders you navigate to.

Press the same key combination again to hide them. Unlike Windows, this keyboard shortcut toggles the setting on and off without needing to dig through menus. The change takes effect instantly and stays in place until you toggle it again.

If the keyboard shortcut doesn't work, your Mac may be running an older version of macOS. In that case, open Finder, click Finder in the menu bar at the top, select Preferences, click the Advanced tab, and check the box next to "Show all filename extensions" — though this shows extensions rather than hidden files themselves.

Show hidden files on Linux using the file manager

The exact steps depend on which file manager you use, but most Linux distributions come with either Nautilus (GNOME) or Dolphin (KDE). Open your file manager and look for a menu button — usually three horizontal lines or dots in the top right corner.

Click that menu and look for an option called Show Hidden Files, View Hidden Files, or Show Dotfiles. Click it to toggle hidden files on. On some versions, you can also press Ctrl+H to show and hide files with a keyboard shortcut.

If you're using the command line instead of a graphical file manager, type ls -la to list all files including hidden ones. The -a flag tells the system to show hidden files, and -l shows details about each file.

What you'll see when hidden files appear

On Windows, hidden files look the same as regular files but often appear slightly faded or grayed out. You can also check a file's properties to see if it has the hidden attribute — right-click the file, select Properties, and look for a checkbox labeled Hidden in the General or Attributes section.

On Mac and Linux, hidden files almost always start with a dot (.) at the beginning of their name. A file called ".bashrc" or ".config" is hidden, while "Documents" or "Downloads" is not. The dot is part of the actual filename, not just a display marker.

System files and configuration folders like .git, .ssh, .config, and Library (on Mac) are common hidden items you'll see. These control how programs work and how your system behaves. Leave them alone unless you're specifically looking for one to fix a problem.

Why some files are hidden and when to show them

Operating systems hide files to prevent accidental deletion. A single deleted system file can break your computer or make programs stop working. By hiding them by default, the system protects you from yourself — you won't delete something you can't see.

You need to show hidden files when you're troubleshooting a specific problem, looking for a configuration file a program created, or trying to recover something you deleted. If someone tells you "check your hidden files," that's when you turn this setting on. If you're just browsing your computer normally, you don't need to see them.

Configuration files for programs, backup folders, and system settings live in hidden locations. Developers put them there so they don't clutter your main folders, and so you won't accidentally move or rename them.

Frequently Asked Questions

Will showing hidden files slow down my computer?

No. Showing hidden files only changes what appears on your screen — it doesn't affect how your computer runs or how much storage it uses. The files were already there; you're just making them visible.

Can I permanently show hidden files instead of toggling the setting?

Yes. On Windows, the View setting stays on until you turn it off. On Mac, you can create a script to run the command automatically at startup, but most people just use the keyboard shortcut when needed. On Linux, the setting usually persists in your file manager preferences.

What if I accidentally delete a hidden file?

If you deleted a system file, your computer may not start properly or certain programs may stop working. Check your Recycle Bin (Windows) or Trash (Mac and Linux) immediately and restore the file. If you're unsure whether a file is safe to delete, don't touch it.

Are hidden files the same as encrypted files?

No. Hidden files are just marked to not display by default — anyone with access to your computer can show them. Encrypted files are scrambled and require a password to read. A file can be both hidden and encrypted, but hidden alone does not protect your data.

Do I need to show hidden files to back up my computer?

Most backup programs automatically include hidden files in their backups, even if you can't see them. Check your backup software's settings to confirm, but you typically don't need to show hidden files to back them up.