Skip to content

How to Rename Files Automatically on a Mac, From Batch Rename to Names Read From the Content

invoice_0326.pdf, IMG_2041.HEIC, document(3).pdf. Batch rename in the Finder, Shortcuts and Automator, and names written from what the file actually says.

Jungle Labs2 min read

On this page2 min left
In short
  • The Finder renames a batch of files with a counter or a date, in a few clicks.
  • Shortcuts and Automator repeat the same rule on every new file.
  • None of them can read the file. Inner Files (our app) writes the name from the content, and asks first.

Files arrive with the name a machine gave them: invoice_0326.pdf, IMG_2041.HEIC, e-ticket-88231.pdf. A good name says what the file is without opening it. A common pattern is date first, then the subject: 2026-03 Energy bill.pdf.

Batch rename in the Finder

  1. Select the files
    In a Finder window, select everything that should follow the same pattern.
  2. Choose Rename
    Control-click, then Rename. The sheet offers three modes.
  3. Pick a mode
    Replace Text, Add Text, or Format (a name followed by an index, a counter or a date).
  4. Check the example
    The sheet shows the first new name before you confirm.

It is quick for a series: forty photos from the same trip, a set of slides. It gives every file the same base name, so it can’t tell an invoice from a contract.

Shortcuts and Automator

The Shortcuts app has a Rename File action, and Automator has Rename Finder Items. Attach a workflow to a folder with Folder Actions and every file that lands there is renamed by the same rule: add the date, replace spaces, add a prefix.

Built-in tools
Batchesrename hundreds of files in one go
Rulesdate, counter, find and replace
Contentthey never read what is inside
Mistakesa wrong rule renames everything the same way

Names written from the content

Inner Files reads each file on your Mac and proposes a name from what it says: the month and supplier of a bill, the date and route of a train ticket. Point at a file to see the name it would get:

Downloads, before and after a plan
Point at a file to see where the plan puts it.

The names come with a destination folder, as part of an organizing plan. You can keep the current folders and choose "Rename only". Nothing changes before you approve, and every rename can be undone from History. Organizing and renaming are part of Pro, paid once.

At a glance

ToolMany files at onceReads the contentAsks firstUndo
Finder RenameYesNoShows an exampleEdit › Undo
Shortcuts, AutomatorYesNoNoNo
Inner FilesYesYes, on the MacYes, every timeFrom History, anytime

Questions

How do I rename several files at once on a Mac?
Select the files in the Finder, Control-click and choose Rename. You can replace text, add text before or after the name, or apply a format with a name and a counter, index or date.
Can a Mac rename files based on their content?
Not with the built-in tools: the Finder, Shortcuts and Automator work on names, dates and counters. Inner Files reads each file on the Mac and proposes a name from its content, such as the date and supplier of an invoice, which you approve before anything changes.
What is a good naming convention for documents?
Start with the date in year-month order (2026-03), then what the document is and who it comes from. Names sorted alphabetically then sort by date, and stay readable outside the folder.
All articles