To view hidden files in the macOS, try the options below.
Using shortcut in Finder
The following steps and shortcut only works on macOS Sierra and later versions.
- Open the Finder application.
- Press the Command+Shift+. (period).
You should now be able to see hidden files in Finder after pressing the shortcut key combination above. To stop viewing hidden files, press the shortcut key combination again.
Modify Finder to always show hidden files
The following steps for viewing hidden files should work on all versions of macOS.
- Open the Finder application.
- In the left navigation pane, click Applications, then Utilities. Open the Terminal utility.
- In the Terminal, paste the following text.
defaults write com.apple.finder AppleShowAllFiles YES
- Press the Return key.
- Press and hold the Option/alt key, then right-click the Finder application icon and select Relaunch.
You should now be able to see hidden files in Finder. To stop viewing hidden files, follow the steps above again, but in step 3, paste the following text in the Terminal.
defaults write com.apple.finder AppleShowAllFiles NO
Related information
- How to view hidden files and folders in Windows.
- Computer file help and support.