Skip to main content

How to find and copy a file path on Mac

Whether for troubleshooting a problem or for quick access, it's useful to know how to find and copy a file path on Mac. This places the path name on your clipboard for you to paste elsewhere, like in Notes as a reference or in Terminal for additional actions.

We’ll show you a few ways to locate and copy the path for a file or folder in macOS.

Difficulty

Easy

What You Need

  • Mac computer

File paths in Finder

One of the easiest ways to view a file path is in Finder on your Mac. Along with it, we’ll show you how to use the context menu to copy that path.

Step 1: Open Finder on your Mac and navigate to the file or folder you want to view.

Step 2: To simply see the file path, select View > Show path bar in the menu bar.

Show Path Bar in the Finder View menu.
Image used with permission by copyright holder

Step 3: You’ll then see the path display at the bottom of the Finder window.

Path Bar in a Finder window on Mac.
Image used with permission by copyright holder

Step 4: To copy the file path, right-click the item in Finder to display the context menu.

Right-click context menu on Mac.
Image used with permission by copyright holder

Step 5: Hold the Option key while the context menu is open and select Copy [name] as Pathname.

The file path is then on your clipboard for you to paste where you wish.

Copy Pathname in the context menu on Mac.
Image used with permission by copyright holder

File paths in Get Info

Another convenient location to view and copy a file path is with the Get Info tool.

Step 1: Select the item on your desktop or in Finder.

Step 2: Press Command + I or right-click and pick Get info.

Get Info in the context menu for a folder.
Image used with permission by copyright holder

Step 3: When the Get Info window opens, expand the General section at the top and you’ll see the file path next to Where. Drag your cursor through the path to highlight it.

Path name next to Where in the Get Info window.
Image used with permission by copyright holder

Step 4: Press Command + C to copy the path or right-click and choose Copy as Pathname.

Copy as Pathname in Get Info.
Image used with permission by copyright holder

Step 5: With the path on your clipboard, you can then paste it where needed. The path should display correctly with the arrows replaced by forward slashes.

File path from Get Info pasted into Notes.
Image used with permission by copyright holder

File paths in Go To Folder

You may only think of opening Finder’s Go To Folder tool when you need to navigate somewhere on Mac. But this nifty tool can also provide the file path of an item.

Step 1: With Finder active, select Go > Go to folder from the menu bar.

Go to Folder in the Finder Go menu.
Image used with permission by copyright holder

Step 2: When the window opens, select the X on the right side of the Search bar to clear the field if necessary.

X in the Go To Folder search bar.
Image used with permission by copyright holder

Step 3: Drag your file or folder into the Search bar at the top of the window. You’ll then see the path for the item in that field.

Dragging a folder into the Go To Folder window.
Image used with permission by copyright holder

Step 4: From there, select the path and either use Command + C or right-click and pick Copy.

With the path on your clipboard, you can paste it where you like.

Copy in the shortcut menu in Go To Folder.
Image used with permission by copyright holder

File paths in Terminal

If you’re a fan of using Terminal to perform actions on your Mac, then you can use this app to display and copy a file path as well.

Step 1: Open Terminal as you normally would or by going to the Utilities folder and selecting the application.

Terminal in the MacOS Utilities folder.
Image used with permission by copyright holder

Step 2: When the Terminal window opens, drag your file or folder into it. You’ll then see the file path display in the window.

Dragging a folder into the Dragging a folder into the Terminal window.
Image used with permission by copyright holder

Step 3: Right-click and choose Copy to place the path on your clipboard and paste it where needed.

Copy in the Terminal shortcut menu.
Image used with permission by copyright holder

If you want to see the full path of a file or folder on Mac, you have a few easy ways to do so, as well as copying that path to your clipboard.

Editors' Recommendations

Sandy Writtenhouse
Sandy has been writing about technology since 2012. Her work has appeared on How-To Geek, Lifewire, MakeUseOf, iDownloadBlog…
How to set up and use video screen savers in macOS Sonoma
The Lock Screen in macOS Sonoma, with a video screen saver playing in the background.

Want a more interesting way to move from a desktop wallpaper to a screen saver on your Mac? Well, macOS Sonoma lets you do just that with a very neat feature that’s new to the operating system.

Read more
How to resize an image
A bird's eye view of a person working on a laptop.

There is a seemingly endless number of tools to choose from when it comes to resizing pictures. Your Windows 10 desktop or Chromebook already has the vast majority of these handy tools, so you can edit your images quickly without paying for expensive editing software that hogs precious memory space.

Read more
How to take a screenshot on your Mac: the best methods in 2023
The keyboard and trackpad of the MacBook Pro 14-inch.

If you're new to the Mac, the first question people have is how to take a screenshot. There's no Print Screen key, so you'll be forgiven if it's not immediately obvious. Or hey, maybe you just forgot the keyboard shortcut or want to go deep into the very best screenshot apps available. We got ya.

There are plenty of options and customizations, so there's plenty to dig into. Here’s everything you could ever want to know about taking a screenshot on your Mac.
How to take a screenshot using keyboard shortcuts
MacOS keyboard shortcuts are the quickest ways to take screenshots, whether you're capturing the entire screen or just a portion. By default, Apple's methods save your screenshot to the desktop, but if you want to copy the screenshot to the clipboard, there's a keyboard shortcut you can use instead.
How to capture a selected area

Read more