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_profileor.zshrc— shell configuration files on macOS/LinuxThumbs.db— Windows thumbnail cache filesAppDatafolder — 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)
- Open File Explorer
- Click the View tab (Windows 10) or the View menu (Windows 11)
- 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
- Open File Explorer
- Click View → Options → Change folder and search options
- Under the View tab, select Show hidden files, folders, and drives
- 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:
dir /a:h The /a:h flag filters for files with the hidden attribute. Adding /s extends the search to subdirectories.
PowerShell
Get-ChildItem -Force -Hidden The -Force flag reveals hidden and system files; -Hidden filters specifically for items with the hidden attribute.
How to Show Hidden Files on macOS
Finder Keyboard Shortcut
The fastest method: while in any Finder window, press Command + Shift + . (period). This toggles hidden files on and off instantly. Dotfiles and hidden system folders will appear greyed out to distinguish them from regular files.
Terminal
To list hidden files in the current directory:
ls -a The -a flag includes all entries beginning with a dot. For a more detailed view with file sizes and permissions:
ls -la To permanently show hidden files in Finder (requires relaunch):
defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder How to Show Hidden Files on Linux
Linux distributions handle hidden files similarly to macOS — any file or folder starting with . is hidden by default.
File Manager
Most graphical file managers (Nautilus, Thunar, Dolphin) have a Show Hidden Files option under the View menu, or respond to the Ctrl + H keyboard shortcut.
Terminal
ls -a For a recursive search through subdirectories:
find . -name ".*" This lists all hidden files and folders starting from the current directory.
Checking for Hidden Files on Android and iOS 📱
Mobile operating systems are more restrictive about exposing system-level files.
Android users can use file manager apps that include a "show hidden files" toggle — many third-party file managers like Solid Explorer or MiXplorer include this. The native Files app on some Android versions supports this too.
iOS does not expose the filesystem directly to users in the same way. Files saved in the Files app or via third-party cloud storage are accessible, but system-level hidden files are not user-accessible without special tools.
Variables That Affect What You'll Find
| Factor | Impact |
|---|---|
| Operating system version | Menu locations and available options differ across OS releases |
| User permissions | Standard users may not see all system-protected files even with hidden files enabled |
| File system type | NTFS, APFS, ext4, and FAT32 handle hidden attributes differently |
| Admin or root access | Elevated privileges expose additional system files and directories |
| Third-party software | Some applications create hidden folders in unconventional locations |
What You Might Find — and What to Do With It
Revealing hidden files typically surfaces a mix of system files, application data, configuration files, and occasionally residual data from previously installed software. Most of it is benign and should be left alone.
The risk of showing hidden files isn't in seeing them — it's in modifying or deleting them without understanding their purpose. Removing the wrong system or application config file can break software or cause unexpected behavior.
If you're investigating specific hidden files — unusual folder names, unexpected large files, or processes linked to unknown directories — your next steps depend on your technical comfort level, your operating system, and exactly what you find. The same hidden folder that's harmless on one machine might warrant closer scrutiny on another, depending on installed software, user accounts, and system history.