Updated
How to Show Hidden Files on Mac
By Sindre Sorhus, who makes the Supercharge app
Hidden files are files that Finder does not show, like files with a name that starts with a dot, such as .gitignore and .env.
With Supercharge
- Open the settings of Supercharge, and click “Tweaks”.
- In the “Finder” section, turn on “Show hidden files”.
- Finder restarts, and then shows the hidden files in all windows.
To hide them again, turn off the setting.
Tips
- To show or hide them only for now, turn on “Toggle Hidden Files” in the “Main Menu” tab of Then right-click an empty area of a Finder window, and choose “Toggle Hidden Files”. This change goes back when Finder restarts.
- To show or hide them with a keyboard shortcut from any app, use the “Toggle Hidden Files in Finder” action of Supercharge in the Shortcuts app, and give the shortcut a keyboard shortcut.
Get Supercharge
Elevate your Mac experience
$20, one-time purchase, plus tax where applicable
- Requires
- macOS 27 or later
- Privacy
- No personal data collected
- License
- All your Macs
- Updated
- November 2026
- Gumroad rating
- 5.0/5 (288 ratings)
Without an app
Keyboard shortcut: In a Finder window, press ShiftCommand. (period). Press it again to hide the files. The change is temporary.
Terminal: To always show hidden files, run this command in the Terminal app. It changes the setting of Finder, and restarts Finder:
defaults write com.apple.finder AppleShowAllFiles -bool true && killall Finder
To hide them again, run the same command with false instead of true.
The keyboard shortcut is enough if you need hidden files sometimes. Use the setting of Supercharge or the command if you often work with them, like with the config files of developer tools.
