How to Check for Hidden Files on Any Device or Operating System

Hidden files exist on every major operating system — and for good reason. Operating systems use them to store configuration data, system preferences, and temporary files that most users never need to touch. But there are plenty of legitimate reasons to surface them: troubleshooting software issues, recovering lost data, auditing storage, or investigating whether unwanted programs have left traces behind. 🔍

The method for revealing hidden files varies significantly depending on your OS, and what you find — and what you do with it — depends heavily on your setup and goals.

What Are Hidden Files and Why Do They Exist?

Hidden files are files or folders that the operating system deliberately conceals from standard directory views. On Windows, hidden files typically carry a "hidden" attribute set in the file's properties. On macOS and Linux, any file or folder whose name begins with a dot (.) is treated as hidden by default — these are called dotfiles.

Common examples include:

  • .bash_profile or .zshrc — shell configuration files on macOS/Linux
  • Thumbs.db — Windows thumbnail cache files
  • AppData folder — Windows application data storage
  • .DS_Store — macOS folder metadata files
  • System restore points and hibernation files

These files aren't hidden for security purposes — they're hidden to reduce clutter and prevent accidental modification. They're generally not encrypted or protected beyond being out of sight.

How to Show Hidden Files on Windows

Windows offers a few straightforward methods depending on your version.

File Explorer (Windows 10 and 11)

  1. Open File Explorer
  2. Click the View tab (Windows 10) or the View menu (Windows 11)
  3. Check Hidden items

On Windows 11, you may need to click Show from the View menu to find the Hidden items toggle.

Folder Options Method

  1. Open File Explorer
  2. Click View → Options → Change folder and search options
  3. Under the View tab, select Show hidden files, folders, and drives
  4. Optionally uncheck Hide protected operating system files — though this should be done with caution

Command Prompt

To list hidden files in a directory via command line:

The /a:h flag filters for files with the hidden attribute. Adding /s extends the search to subdirectories.