Mac Finder Guide · macOS 13 Ventura and later

How to copy a file path on Mac

Finder doesn’t show “Copy Path” in its menus until you hold the right key. Once you know where it is, copying the full path of any file or folder takes one shortcut.

By Updated 3 min read

Quick answer

Select the file or folder in Finder and press ⌥⌘C (Option-Command-C). The full path, such as /Users/you/Documents/report.pdf, is now on the clipboard, ready to paste.

With the mouse: Control-click the file, hold ⌥, and choose Copy “report.pdf” as Pathname.

Copy a path with the keyboard

  1. In Finder, click the file or folder once to select it.
  2. Press ⌥⌘C.
  3. Paste the path wherever you need it with ⌘V.

Select several files first and you get all their paths, one per line. That’s handy for pasting a list into a message, a ticket or a script.

  1. Control-click (or right-click) the file or folder.
  2. Hold ⌥. The Copy item changes to Copy “name” as Pathname.
  3. Click it while still holding ⌥.

The same item appears in the Edit menu when you hold ⌥ with a file selected.

See the full path in Finder

Turn on the path bar

Choose View > Show Path Bar or press ⌥⌘P. A bar along the bottom of every Finder window shows the folders leading to where you are. Double-click any folder in it to jump there, or drag files onto it to move them up the tree.

Click the window title

⌘-click the folder name at the top of a Finder window. A menu lists every parent folder; choose one to go there.

Show the full path in the title bar

If you always want to see where you are, this Terminal command puts the full path in Finder’s window title:

defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
killall Finder

Run it again with false instead of true to go back to plain folder names. Long paths get shortened in narrow windows.

Other ways to get a path

  • Get Info: select the item and press ⌘I. The Where line shows the folder it lives in, and you can select and copy that text.
  • Drag into Terminal: drag a file from Finder into a Terminal window and Terminal types its full path, with spaces already escaped.
  • From Terminal: pwd prints the current folder; pwd | pbcopy copies it to the clipboard.

Paths with spaces: ⌥⌘C copies the plain path, such as /Users/you/My Files/a.pdf. To use it in Terminal, wrap it in quotes: open "/Users/you/My Files/a.pdf". Otherwise Terminal reads it as two separate words.

Doing it in Quarterglass

In Quarterglass, every pane shows the full path as clickable breadcrumbs above its file list, so you always know where you are, even with four folders open at once. Click any part of the path to jump to that folder in the same pane.

Quarterglass with two panes, each showing its folder path as breadcrumbs
Each pane shows its own folder path (v0.1.0, real macOS capture).

See the multi-pane layouts →

FAQ

What is the shortcut to copy a file path on a Mac?

Select the file in Finder and press Option+Command+C. The full path is copied to the clipboard.

Why don’t I see Copy as Pathname in the right-click menu?

It only appears while you hold the Option key. Control-click the file, then press and hold Option, and the Copy item changes to Copy as Pathname.

How do I show the file path at the bottom of Finder?

Choose View > Show Path Bar or press Option+Command+P. The path bar stays on for all Finder windows until you hide it again.

How do I copy the path of the folder I’m currently in?

Click an empty area of the window, then use the Go menu’s Enclosing Folder (Command+Up Arrow) to select the folder and press Option+Command+C. In Terminal, run pwd | pbcopy.

Always see where you are, in every pane.

Join the Quarterglass beta for up to 4 panes with clickable paths, Drop Stack and batch rename, and lock in the $19 founding license ($29 at launch).