Guides ·
Rename PDFs automatically on a Mac, by date and sender
Pick a naming scheme that lasts
Settle on the scheme before you automate anything. A proven pattern: the date first as year-month-day, then the sender, then the subject. Because the year leads, any Finder window sorts the files in date order on its own.
- 2026-03-14 Telekom invoice mobile.pdf
- 2026-04-02 Tax office assessment income tax.pdf
- 2026-05-20 Utility company electricity instalment.pdf
Way 1: Finder, for many files by pattern
Select the PDFs, Control-click one of them and choose Rename. Under Rename Finder Items you get three options: Replace Text, Add Text, and Format with an index, counter or date. That is enough to swap "Scan" for "Invoice" or to number everything in sequence.
What Finder cannot do is look inside the document. The date it inserts belongs to the file, not to the letter on page one.
Way 2: Shortcuts, including folder automation
In the Shortcuts app you can build a Quick Action for Finder. The basic idea: Get Text from PDF reads the text, a middle step turns it into a name, and Rename File applies it. The middle step can be a text match, for example for a date, or, on supported Macs running macOS Tahoe, a language model via Apple Intelligence.
Since macOS Tahoe, Shortcuts can also watch a folder. Under Automation in the sidebar you create a folder automation that runs whenever a file arrives there. Every new scan can then be renamed the moment it lands.
One limit: a pure image scan has no text layer. Get Text from PDF then returns nothing, so you need text recognition first.
Way 3: Automator with a Folder Action
Automator is still around. Apple describes a Folder Action as a workflow attached to a Finder folder that receives every new file as input. Its Rename Finder Items action works with patterns much like Finder and does not read PDF content. For fixed patterns, say a prefix plus today's date, it is still a solid option with nothing extra to install.
Way 4: an app that understands the content
PDF Hub imports whole folders, subfolders included. Scanned pages are read locally with Apple's text recognition. Date, sender, amount and invoice number are picked out of the text by pattern matching, with no AI involved.
If you want more, add an analysis step. Apple Intelligence runs locally on eligible Macs with macOS 26. Alternatively PDF Hub uses Anthropic's Claude with your own API key, in which case the recognised text goes to Anthropic, or the PDF itself if it has no text.
Renaming follows a template such as "{datum} {absender} - {titel}", filing follows "{jahr}/{kategorie}" (the placeholders are in German). Before anything changes you see old and new names side by side, and ⌥⌘Z undoes the lot. Watched folders flag new PDFs as soon as they arrive. The app runs on macOS 14 or later, on Apple silicon and Intel.
Rename PDFs by pattern in Finder
- Select the PDFs in Finder.
- Control-click one of the selected items and choose Rename.
- Choose Replace Text, Add Text or Format from the pop-up menu and fill in the fields.
- Click Rename.
Questions before you buy
Can a Mac rename PDFs by content without an extra app?
Yes, with a shortcut you build yourself. Get Text from PDF and Rename File come with the Shortcuts app. Turning the text into a good name is up to you, though, and scanned PDFs without text slip through.
Which date belongs in the file name?
The date of the document, meaning the invoice or letter date. The file's creation or scan date tells you little later on. Written as year-month-day, the files sort themselves correctly.
What about scanned PDFs?
A scan is often just an image. Only text recognition (OCR) turns it into readable text. Some scanning apps do this while scanning; otherwise you need software with OCR.
Can I undo a rename?
In Finder, right afterwards, with Edit > Undo. With automations that touch many files at once it is harder, so try new workflows on copies first.
Are my PDFs uploaded during analysis?
That depends on the tool. Finder, Automator and text recognition work on your Mac. As soon as a cloud model suggests the name, text goes to that provider, so check where the analysis runs.