Updated
How to Copy a List of File Names on Mac
By Sindre Sorhus, who makes the Supercharge app
With Supercharge
- Open the settings of Supercharge, click “Tweaks”, and click “Configure…” next to “Context menu items”.
- In the “Main Menu” tab, turn on “Copy Filename”.
- Select the files in Finder. To select all the files of a folder, press CommandA.
- Right-click the files, and choose “Copy Filenames”. For one file, the item is “Copy Filename”.
- Paste the names. In a spreadsheet, each name goes in its own row.
The names include the file extension, like report.pdf. To copy the full paths, use “Copy Path”. See how to copy a file path.
The right-click items cannot show in synced folders, like iCloud Drive and Dropbox. There, select the files, right-click, and choose
Get Supercharge
Elevate your Mac experience
$20, one-time purchase, plus tax where applicable
- Requires
- macOS 27 or later
- Privacy
- No personal data collected
- License
- All your Macs
- Updated
- November 2026
- Gumroad rating
- 5.0/5 (288 ratings)
Without an app
Finder copies the names of the files as text too:
In Terminal, go to the folder, and copy the names of all its items, one on each line:
cd ~/Documents/Invoices
ls | pbcopy
To copy only some files, use a pattern, like ls *.pdf | pbcopy. Supercharge copies the names in one step, without a document in between.
