Skip to Content
Sindre Sorhus
Back to Supercharge

Updated

How to Copy a File Path on Mac

By Sindre Sorhus, who makes the Supercharge app

With Supercharge

  1. Open the settings of Supercharge, click “Tweaks”, and click “Configure…” next to “Context menu items”.
  2. In the “Main Menu” tab, turn on “Copy Path”. You can also turn on “Copy Filename” (guide), “Copy File URL”, and “Copy Markdown Link”.
  3. Right-click a file or folder in Finder, and choose “Copy Path”. To copy the path of the open folder, right-click an empty area of the window.

When you select many files, “Copy Paths” copies one path per line.

The right-click items cannot show in synced folders, like iCloud Drive and Dropbox, and also not in Desktop and Documents when they sync with iCloud. There, right-click the file, and choose “Services › Copy Path”.

Get Supercharge

Elevate your Mac experience

$20, one-time purchase, plus tax where applicable

Requires
macOS 27 or later
Updated
November 2026
Gumroad rating
5.0/5 (293 ratings)

More about Supercharge

Without an app

  1. Select the file or folder in Finder.
  2. Press OptionCommandC. Or right-click it, hold Option, and choose “Copy “name” as Pathname”, which replaces “Copy”.

You can also drag a file into a Terminal window to type its path. The built-in way works well when you remember the Option key. Supercharge shows the item every time, and adds other formats, like a file URL.