Your Guide to How Do i Open Hidden Files
What You Get:
Free Guide
Free, helpful information about Files, Data & Cloud Storage and related How Do i Open Hidden Files topics.
Helpful Information
Get clear and easy-to-understand details about How Do i Open Hidden Files topics and resources.
Personalized Offers
Answer a few optional questions to receive offers or information related to Files, Data & Cloud Storage. The survey is optional and not required to access your free guide.
How to Open Hidden Files on Windows, Mac, and Linux
Hidden files exist on every operating system — and for good reason. Your OS tucks away system files, configuration data, and application caches by default to prevent accidental deletion or modification. But there are plenty of legitimate reasons you might need to see them: troubleshooting software, recovering data, customizing your setup, or simply understanding what's living on your drive.
Here's how to reveal hidden files across the major platforms, plus what actually determines which method works for your situation.
What Are Hidden Files and Why Are They Hidden?
A hidden file is any file or folder flagged by the operating system to be invisible in standard directory views. On Windows, this is controlled by a file attribute literally called "Hidden." On macOS and Linux, any file or folder whose name begins with a dot (.) is treated as hidden by convention — think .bash_profile, .ssh, or .config.
These files aren't locked or encrypted. They're simply not shown by default. The hiding is a usability decision, not a security measure.
Common hidden files you might need to access include:
- Application config files (.env, .gitconfig, .zshrc)
- System folders (AppData on Windows, Library on macOS)
- Temporary and cache files
- Dotfiles used to configure developer tools
How to Show Hidden Files on Windows 🪟
Windows gives you a few ways to toggle hidden file visibility, depending on which version you're running.
File Explorer (Windows 10 and 11)
- Open File Explorer
- Click the View tab in the ribbon (Windows 10) or the View menu (Windows 11)
- Check Hidden items
That's it. Hidden files and folders will appear slightly faded to distinguish them from regular files.
Folder Options (Alternative Method)
- Open File Explorer
- Click View → Options → Change folder and search options
- Go to the View tab
- Under Advanced settings, select Show hidden files, folders, and drives
- Click Apply
Via the Command Prompt
To reveal a specific hidden file using the command line:
This removes both the Hidden (-h) and System (-s) attributes from a file, making it permanently visible rather than just toggling the global view setting.
How to Show Hidden Files on macOS 🍎
macOS hides its Library folder and all dotfiles by default. There are two quick methods.
Keyboard Shortcut in Finder
In any Finder window, press:
This toggles hidden files on and off instantly. It works in Open/Save dialogs too, which is useful when a piece of software asks you to locate a config file buried in a hidden directory.
Terminal Command (Permanent Toggle)
To make hidden files always visible in Finder: