Hidden files

Show or hide hidden files in a pane with ⇧⌘., save that for a folder, and hide or unhide an item yourself.

Website and App Store versions

The Mac App Store edition is coming soon. The website edition has everything. Compare the editions

On this page

macOS hides some items: names starting with a dot (.git, .zshrc…), system folders, and items marked hidden.

Show them in a pane

View › Show Hidden Files (⇧⌘.), as in the Finder. Also in the right-click menu of the folder's background, and in the menu of the header's filter.

The choice belongs to the pane: it follows the pane from folder to folder, while the other panes keep theirs. Hidden items show slightly faded.

  • For a folder: hidden files are part of the folder's view. Save them shown (or not) for a folder, or a folder and its subfolders, with the gear: see Saved views.
  • For new panes: Settings › Panes › Default view › Show Hidden Files (off by default).
  • In the sidebar: it has its own setting, Settings › Left Sidebar › Contents › Show hidden files in the sidebar.

A folder that holds only hidden items says how many it has, with a Show Hidden Files button.

Hide or unhide an item

Select it, then File › Hide (or right-click › Hide): the item gets macOS's hidden flag and disappears from the Finder and from panes that don't show hidden files. Unhide gives it back. ⌘Z undoes it.

This is not offered for a name that starts with a dot: such an item is hidden by its name.