Apple How to

How to Copy File Path Mac as Text – Tutorial

copy file path mac
Written by Hassan Abbas

Most of the time you may want to get the full path of an item in the Finder. And while there are many ways to access file paths, not all will permit you to extract them as text to paste into documents you may be composing. In this article, we are going to talk about How to Copy File Path Mac as Text – Tutorial. Let’s begin!

Such as, if you select a file in the Finder and press Command-C to copy it, the behavior when pasting it will be different, that depends on the program being used. In some of the cases, the program will only paste the file name. However, in others, it may try to embed the file’s contents or its icon where you have pasted. The same goes for dragging and also dropping files from the Finder. They similarly may be handled either as file names or as icons or content objects as well.

If you would like to rather just get the file path of the selected document. Then you can use the Finder’s “Show Path Bar” option in the View menu as well. Open the document in a program and then use the path menu, or by searching for the item in Spotlight. Followed through holding the Option and Command keys when hovering your mouse over a search result to reveal its path in the preview window. But, these approaches do not give you the option to copy the file path as text.


Advanced Mac users who need frequent access to a files complete path in macOS and also Mac OS . They may find themselves turning to the drag & drop Terminal trick. Or also performing a variety of other tricks to copy the path of an item. However, with OS X 10.11 and later, there’s also a new native Copy Pathname option built directly into the Finder as well. Just as it sounds, it will copy the complete pathname of a file. Or also folder directly to the clipboard as well.

copy file path mac

Copy File Path Mac as Text on Mac Finder

Using the Copy-Item as Pathname in Mac OS X Finder is fairly easy. Let’ see here all you need to do to copy any items path name directly to the clipboard from anywhere in the file system:

  • First, navigate to the file or folder that you want to copy the path for.
  • Right-click (or Control+Click, or also a Two-Finger click on trackpads as well) on the file or folder in the Mac Finder
  • When in the right-click menu, then hold down the OPTION key in order to reveal the “Copy (item name) as Pathname” option. It actually replaces the standard Copy option
  • When selected, the file or folders path is now in the clipboard, then ready to paste anywhere

The copied pathname is always the complete path, then it is not relative.

(Where OS X network settings are stored) will then copy the following file path into the clipboard. That can then be pasted anywhere as so:


Although this right-clicks Copy Pathname option is only available in the latest versions of OS X actually. There are other ways to copy a file path in all versions of Mac OS X, which includes an Automator script. So if you are not on the latest and greatest you can still get the same feature via the Service menu and the Automator trick.

If you find yourself frequently needing path information on the Mac, then two other handy tricks are enabling the Path Bar. That is interactive or displaying the complete path in the Finder window title bars too. That will show the full path to the active folder where ever you are in the Finder within the title bar.


Alright, That was all Folks! I hope you guys like this article and also find it helpful to you. Give us your feedback on it. Also if you guys have further queries and issues related to this article. Then let us know in the comments section below. We will get back to you shortly.

Have a Great Day!

Also See: Do You Want To Convert Word Doc To Google Docs?

About the author

Hassan Abbas

Tech enthusiast with too many items on his wish-list and not nearly enough money! Specializing in all things tech, with a slight Apple bent he has been writing for various blogs for the best part of (too many) years

Leave a Comment