How to Bulk Rename Files on a Mac Using Finder, Automator, and Apps

Mahesh Makvana
·
7 min read

Switching to Mac is reader-supported. We may earn a commission when you buy through links on our site. Learn more.

Camera imports and downloaded files often arrive with names such as DSC_01.jpg, which tell you almost nothing. Renaming hundreds of them manually gets old fast.

Finder’s batch-renaming tool handles common jobs without extra software. It looks promising for a basic cleanup, but Automator and dedicated renaming apps give you more control when the same naming job keeps coming back.

Finder window containing several selected image files with generic camera filenames and the right-click menu showing Rename Items

Bulk Rename Files Using Finder

Finder is the best place to start. Apple’s Rename files, folders, and disks on Mac guide confirms that its batch tool can replace text, add text, or apply a numbered format.

These steps apply to macOS Sequoia and other recent macOS releases.

  1. Open Finder and locate the files you want to rename.
  1. Select the files. Use Cmd + A for everything in the folder, Shift-click for a continuous range, or Cmd-click to select individual items.
  1. Control-click or right-click one selected file, then choose Rename [X] Items. You can also use File > Rename [X] Items or the Finder toolbar’s Action button.
Finder window with four files selected and the context menu open, highlighting Rename 4 Items
  1. Open the menu in the Rename Finder Items dialog and choose Replace Text, Add Text, or Format.
Rename Finder Items dialog with the method menu expanded to show Replace Text, Add Text, and Format
  1. Configure the selected method and inspect the filename preview at the bottom of the dialog.
  1. Click Rename when the preview looks right.

So far, so good. Finder covers the three renaming jobs you’re likely to need most often, and each mode preserves the file extension.

Replace Part of an Existing Filename

Choose Replace Text when only part of each name needs changing. Finder searches the selected filenames for an exact string and substitutes your replacement.

For example, enter IMG_ under Find and ParisTrip_ under Replace with. A file named IMG_0042.jpg becomes ParisTrip_0042.jpg.

Use an empty Replace with field to remove unwanted text. Check the preview carefully because Finder will change every matching occurrence in the selected filenames.

Add a Prefix or Suffix

Choose Add Text to keep the existing names while attaching a project code, date, or other identifier. Enter the text, then place it before or after the current name.

Adding _2026Edit after DSC_001.jpg produces DSC_001_2026Edit.jpg. Finder inserts the text before the extension, so the file remains a JPEG.

Create Sequential Filenames

Choose Format when you want to replace the existing names with a consistent series. This is useful for photos, scanned documents, and project exports.

You can select:

  • Name and Index for a basic numbered sequence.
  • Name and Counter for numbering with additional leading zeros.
  • Name and Date to include a date in each filename.

Enter a base name under Custom Format, set Start numbers at, and choose whether the number or date appears before or after the name. A custom format of Vacation starting at 1 can produce names such as Vacation 01.jpg and Vacation 02.jpg.

Create a Reusable Rename Quick Action in Automator

Finder works well for occasional batches. If you add the same client code or project prefix every week, rebuilding those settings each time wastes effort.

Automator can save the operation as a Quick Action in Finder’s contextual menu. The setup takes a few minutes, but repeated renames become much faster afterward.

  1. Open Automator from the Applications folder and choose Quick Action as the document type.
Automator new document window with Quick Action selected and the Choose button visible
  1. At the top of the workflow, set Workflow receives current to files or folders and select Finder as the source application.
Automator Quick Action workflow with Workflow receives current set to files or folders in Finder
  1. Search the Automator actions for Rename Finder Items, then drag that action into the workflow area.
Automator Actions library with Rename Finder Items found in search and added to the Quick Action workflow
  1. Automator may ask whether you want to add a Copy Finder Items action. Choose Don’t Add to rename the original files. Add the copy action if you need untouched duplicates (safer, but it uses extra storage).
Automator confirmation dialog asking whether to add a Copy Finder Items action, with Don't Add highlighted
  1. Configure Rename Finder Items with Replace Text, Add Text, or Make Sequential. Use the settings for the naming pattern you repeat regularly.
Automator workflow showing the Rename Finder Items action with its operation menu and naming options visible
  1. Choose File > Save, enter a descriptive name such as Add Project Prefix, and save the Quick Action.
Automator save dialog for a Quick Action with Add Project Prefix entered as the workflow name
  1. In Finder, select the files, right-click one of them, and choose your workflow under Quick Actions.

The action changes the selected files using your saved settings. Test it on copied files first, especially if the workflow replaces existing text.

You can also build an Automator application that accepts files dropped onto its icon. That approach remains handy if you prefer keeping a dedicated renamer in the Dock.

File Renamer icon on desktop next to a row of jpegs

A Finder Quick Action is easier to reach for regular work, while a drag-and-drop application gives you a visible target. Pick whichever fits how you organize your Mac.

Use Terminal for Complex Rename Rules

Terminal makes sense when filenames follow a precise pattern, files sit across nested folders, or the rename belongs in a larger script. Shell loops can process matching files, while command-line renaming tools installed through Homebrew can handle more advanced patterns.

Command-line renames can also overwrite files when two generated names collide. I’d skip this method unless you’re comfortable checking a script’s output and working with backups. Finder’s preview is far more forgiving.

Use a Dedicated Batch Renaming App

Finder starts feeling cramped when you need regular expressions, metadata, several rules in sequence, or batches containing thousands of files. A dedicated renamer provides a larger preview and reusable rule sets.

Current options include:

  • Transnomino: A free Mac utility with text replacement, prefixes, suffixes, trimming, case changes, and regular-expression support.
  • Renamer: Built for large batches and reusable chains of renaming rules.
  • Advanced Renamer: A cross-platform option for rule-based filename and folder changes, including metadata-driven jobs.

Transnomino is a good option when Finder can’t express the pattern you need and you don’t want another subscription.

Rename Files With Transnomino

  1. Download Transnomino, move it to Applications, and open it.
  1. Drag files from Finder into the Transnomino window.
  1. Add and configure the renaming operations you need. The app can replace text, attach prefixes, or process regular expressions.
  1. Review the proposed names beside the originals. This preview is the main reason to use a dedicated app for complicated batches.
  1. Click Rename after checking the results.
Current Transnomino window on macOS with several files loaded, original and proposed filenames visible, a renaming rule configured, and the Rename button highlighted

Transnomino offers more control than Finder without demanding much setup. Regular expressions can still produce surprising results, so run a small sample before processing an entire archive.

Fix Common Bulk-Renaming Problems

The Rename Items Command Is Missing

Make sure you’ve selected at least two items. A single selection shows the standard Rename command instead of the batch version.

Right-click one of the selected files rather than an empty area in the folder. If the contextual menu still doesn’t show the command, use File > Rename [X] Items from the menu bar.

Finder Is Replacing the Entire Filename

You probably selected Format, which creates a new naming scheme. Choose Replace Text when you want to change only IMG_ or another section of the existing name.

Choose Add Text when the original filename should remain intact with a new prefix or suffix.

The Numbers Appear in the Wrong Place

In Format, check the placement menu and confirm whether the number should appear before or after the custom name. Also verify Start numbers at before clicking Rename.

The preview shows one resulting filename. Treat it as a required check, especially when the folder’s sort order affects which file receives the first number.

You Made a Naming Mistake

Keep the Finder window active and choose Edit > Undo Rename, or press Cmd + Z. Undo works during the current Finder session and is the quickest way back from a bad batch.

Don’t start moving or editing the renamed files before undoing the operation. For valuable files, keep a backup before applying an Automator workflow, Terminal script, or third-party rule set.

Finder Struggles With a Very Large Batch

Break the job into smaller groups or use a dedicated app. Renamer and Advanced Renamer are designed for large collections, while Transnomino offers a useful middle ground for complex Mac-only jobs.

Finder remains the solid choice for replacing text, adding a label, or numbering a normal folder of files. Automator is worth trying for repeated patterns, and I’d recommend a dedicated renamer when previews, metadata, or chained rules matter more than staying with Apple’s built-in tools.