macos finder iconIn early versions of Mac OS, users looking for a way to quickly rename multiple files simultaneously (commonly referred to as batch renaming) had to use the command line or download and install a third-party tool dedicated to the task.

Since OS X Yosemite however, Apple has integrated several useful batch renaming capabilities directly into Finder.

To rename several files of the same kind on your Mac at once, follow the steps below. In our example we're going to be batch renaming some photos.

  1. Open a Finder window and locate the files you want to rename.

  2. Drag a selection box over the files with your mouse or hold the Shift key and click them one by one.
    how to batch rename files mac 1

  3. Click the Action button in the Finder toolbar. Alternatively, right-click (or Ctrl-click) one of the selected files in the Finder window.
    how to batch rename files mac 2

  4. Select Rename [XX] Items in the menu.

  5. Select Format from the first dropdown menu in the Rename Finder Items panel.
    how to batch rename files mac 3

  6. In the next dropdown, select a Name format. We're going to use Name and Index, but you can optionally select Name and Counter or Name and Date.
    how to batch rename files mac 4

  7. Enter a common name for your files in the Custom Format field.
    how to batch rename files mac 5

  8. Enter a starting number for the file series in the Start numbers at field. Note that if you selected a number format, you can use the Where dropdown to choose whether the sequential numbers appear before or after the common name of your files.

  9. Make sure you're happy with the preview example at the bottom of the Rename panel, then click Rename.
    how to batch rename files mac 6

The selected files will now be renamed with your chosen nomenclature. Note that if you're note happy with the change, you can select Edit -> Undo Rename in the Finder menu bar or press the keys Command-Z to revert the files back to their original names.

How to Add Text to Existing File Names

Finder's renaming tool also lets you add supplementary text to filenames without changing their original titles.

how to batch rename files mac 7
Simply select the files whose names you want to adjust and bring up the Rename Finder Items panel as described above, only select Add Text from the from the first dropdown instead. Then just type in the additional text in the input field.

How to Search and Replace Text in File Names

Finder also allows you to rename only certain files whose names include a certain piece of identifying text. This is particularly convenient if you have tens or hundreds of files in a folder with different names and you only want to change those files that contain a particular word.

Select all the files in a folder (make sure they're all of the same kind, or this won't work), bring up the Rename Finder Items panel in the same way as before, but this time select Replace Text in the first dropdown.

how to batch rename files mac 8
Now simply type the identifying text you want to replace into the Find field, and enter the text you want to replace it with in the Replace With field, then click Rename.

Top Rated Comments

Ovedius Avatar
54 months ago
Automator says hi.
Score: 6 Votes (Like | Disagree)
Abstract Avatar
54 months ago
In early versions of Mac OS, users looking for a way to quickly rename multiple files simultaneously (commonly referred to as batch renaming) had to use the command line or download and install a third-party tool dedicated to the task.
Automator!?!?!?

It’s like Apple built in a few Automator scripts into Finder, because I had 2 scripts saved from back in 2006 for exactly this purpose: batch renaming files, and replacing words in filenames with other words. I’m not a programmer or anything, but Apple made Automator so easy to use!!

I used my Automator for naming imported photos using a specific format I liked (YYYY-MM-DD, photo number starting from 001, then Custom text/title), as well as renaming songs in music albums a certain way (01. Artist Name - Song Name), etc.

This looks good too; better in some ways, but worse in others.
Score: 4 Votes (Like | Disagree)
Big Ron Avatar
54 months ago
This is something much simpler in Windows. Highlight a group of files, right click on one, choose rename, the rest get the same name with numbers. If you start one with a number in brackets or is it parentheses . The rest get higher numbers.
So what, this is a Mac forum.
Score: 3 Votes (Like | Disagree)
neliason Avatar
54 months ago
This is something much simpler in Windows. Highlight a group of files, right click on one, choose rename, the rest get the same name with numbers. If you start one with a number in brackets or is it parentheses . The rest get higher numbers.
Much simpler and less robust. That is a pretty standard trade off.
Score: 2 Votes (Like | Disagree)
Col4bin Avatar
54 months ago
This is actually pretty cool. As a graphic designer who sometimes deals with hundreds of photos and other creative assets per project, this is a great way to efficiently sort and organize files.
Score: 2 Votes (Like | Disagree)
pecuriosity Avatar
54 months ago
how can I mass convert file formats?
need to convert RTFD to TXT
Terminal > cd to folder with RTFD files > for file in *.RTFD; do mv "$file" "${file%.rtfd}.txt"; done
Score: 2 Votes (Like | Disagree)

Popular Stories

iOS 16

iOS 16.3 Now Available for Your iPhone With These 4 New Features

Friday February 3, 2023 1:13 pm PST by
Apple released iOS 16.3 in late January following nearly six weeks of beta testing. The software update is available for the iPhone 8 and newer, and while it is a relatively minor update, it still includes a handful of new features, changes, and bug fixes. Below, we've recapped new features in iOS 16.3, including support for physical security keys as a two-factor authentication option for...
iPhone 14 Pro Purple Side Perspective Feature Purple

Gurman: Apple Considering New High-End iPhone Alongside Pro and Pro Max

Sunday February 5, 2023 6:07 am PST by
Apple has discussed selling a new top-of-the-line iPhone alongside the Pro and Pro Max models in 2024 at the earliest, according to Bloomberg's Mark Gurman. Based on this timeframe, the device would be part of the iPhone 16 lineup or later. In a September 2022 edition of his weekly "Power On" newsletter, Gurman said there was "potential" for an iPhone 15 Ultra to replace the iPhone 15 Pro...
ipad air purple

Deals: M1 iPad Air Hits Record-Low Prices at TigerDirect, Starting at $313.99 (48% Off) [Updated]

Saturday February 4, 2023 10:05 am PST by
Online retailer TigerDirect has slashed pricing on the M1 iPad Air in several colors, offering the base 64GB configuration for just $313.99 in Purple and Pink. Note: MacRumors is an affiliate partner with TigerDirect. When you click a link and make a purchase, we may receive a small payment, which helps us keep the site running. That's a savings of 48% compared to Apple's normal $599.00...
mac studio pink

Apple May Not Launch Updated Mac Studio With M2 Ultra Chip Due to Similarity With Upcoming Mac Pro

Sunday February 5, 2023 6:06 am PST by
A new version of the Mac Studio with the "M2 Ultra" chip is unlikely to arrive in the near future, according to Bloomberg's Mark Gurman. In the latest edition of his "Power On" newsletter, Gurman explained that since the upcoming Apple silicon Mac Pro is "very similar in functionality to the Mac Studio," Apple may wait until the release of M3- or M4-series chips to update the machine, or...
HomePod 2 White and Midnight Feature Purple Orange

Apple Releases tvOS 16.3.1 and HomePod 16.3.1 Software Updates

Monday February 6, 2023 10:13 am PST by
Apple today released new tvOS 16.3.1 and HomePod 16.3.1 software updates, with the software coming two weeks after the tvOS 16.3 and HomePod 16.3 updates were released. According to Apple's release notes for HomePod software 16.3.1, the update includes general performance and stability improvements. Notes for tvOS 16.3.1 are unavailable as of yet, but are probably similar to the HomePod...
iPhone 15 Pro Blue Feature

iPhone 15 Pro 'Buttonless Design' Rumors: Everything We Know

Monday February 6, 2023 7:44 am PST by
The iPhone 15 Pro models will feature a "buttonless design" thanks to additional Taptic Engines, according to multiple corroborated reports, so what do we know about the change so far? Apple analyst Ming-Chi Kuo was first to report that the volume and power buttons on this year's two high-end iPhone models will adopt a solid-state design, similar to the iPhone 7's home button, replacing a...
iphone ultra concept daehnert

'iPhone Ultra' Concept Envisions Apple's Rumored Future Top-Tier Smartphone

Tuesday February 7, 2023 5:38 am PST by
Apple has reportedly considered releasing a new top-of-the-line iPhone alongside future Pro and Pro Max models, tentatively referred to as "iPhone Ultra," and one designer has taken it upon himself to envision what such a device could potentially look like. German industrial designer Jonas Daehnert came up with this impressive-looking concept (pictured) by marrying design elements of the...
webkit vs chromium feature

Google Working on Browser for iOS That Would Break Apple's App Store Rules

Saturday February 4, 2023 1:30 am PST by
Google's Chromium developers are working on an experimental web browser for iOS that would break Apple's browser engine restrictions, The Register reports. The experimental browser, which is being actively pursued by developers, uses Google's Blink engine. Yet if Google attempted to release it on the App Store, it would not pass Apple's App Review process. Apple's App Store rules dictate...