Three hundred wedding photos named IMG_4821.HEIC, IMG_4822.HEIC and so on, a folder of invoices downloaded with names like document (3).pdf, an archive of scans to number. Renaming them one by one is slow and error-prone; doing it in bulk takes seconds, if you know which tool to use. The Mac already has one in the Finder, and for trickier cases there are more powerful options.
With the Finder
The Finder has been able to rename several files at once for years, but the feature isn’t very visible. Select the files, right-click one of them and choose Rename. The window that opens offers three modes:
- Replace Text. It looks for some text in the names and swaps it for something else:
IMG_becomesWedding_,documentbecomesinvoice. - Add Text. It puts some text before or after the current name, for example
2026-at the start or_finalat the end. - Format. It replaces the name with text of your choice followed by a sequential number or the date, starting from the number you give:
Wedding 1,Wedding 2…
For many jobs that’s enough. The limits show up when you need several operations together, when files need sorting in a particular way before numbering, or when the name should contain information stored inside the file, such as the date a photo was taken.
With Shortcuts
The Shortcuts app on the Mac has an action for renaming files. Combined with others, it lets you build a flow that runs the same way every time: take the files selected in the Finder, read a date, put a name together and save it. It’s a good option for a recurring task, such as tidying the bank statements you download every month, but you have to build it by hand and, if something goes wrong halfway, it doesn’t show you the result first.
With a dedicated app
When there are lots of files and more than one rule, an app built for the job saves time and mistakes. rName, free on the Mac App Store, works with a chain of rules applied in order:
- Rules you can combine. Replace (regular expressions included), insert, remove, number, change case, add a date, fix the extension and clean the name of accents, emoji and invalid characters.
- Photo data. The name can include the capture date, camera or lens read from the EXIF metadata. If a photo doesn’t have them, it stays as it is or uses a fallback you choose.
- Live preview. Next to each current name you see the new one while you change the rules, before anything touches the disk.
- Conflicts set aside. Files that would end up with the same name, or with a name that already exists, are left out of the operation instead of breaking it.
- Undo. With ⌘ Z files go back to their previous names, even after several operations in a row.
Rules can be saved as presets, and four come ready-made, including date as prefix and web-friendly names. The guide to the rule chain shows how to combine them.
Names that last
The naming scheme matters more than the tool. A few rules that work everywhere:
- Date first, as year-month-day.
2026-11-18sorts itself chronologically, while18-11-2026mixes up months and years. - Numbers with leading zeros.
001,002…120stay in order;1,2…120are sorted as text by many programs, and10ends up before2. - No special characters. Slashes, colons, asterisks and accents cause trouble on Windows, on websites and in compressed archives. Hyphens and underscores work everywhere.
- Descriptive but short.
2026-11-18_electricity_bill.pdfsays it all; a name as long as a line gets cut off by many programs and by some backup systems.
Tip: before renaming an important folder, try it on a copy of a few files. With photos, if the name should contain the capture date, check that the dates are right first: fixing the capture date comes before renaming.
What to keep in mind
Renaming files looks like a small job, until you need to find an invoice from three years ago or sort an archive of thousands of photos. The Finder is enough for simple cases, Shortcuts for recurring jobs, an app with preview and undo for the big ones. Whatever tool you use, a consistent scheme decided once saves you time every time you look for something.