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
77 months ago
Automator says hi.
Score: 6 Votes (Like | Disagree)
Abstract Avatar
77 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
77 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
77 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
77 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
77 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 18

Here Are Apple's Full Release Notes for iOS 18.2

Thursday December 5, 2024 11:48 am PST by
Apple seeded the release candidate version of iOS 18.2 today, which means it's going to see a public launch imminently. Release candidates represent the final version of new software that will be provided to the public should no last minute bugs be found, and Apple includes release notes with the RC launch. The iOS 18.2 release notes provide a look at all of the new features that are coming...
Apple AI Command Center Concept Mock 3

Apple Expected to Launch This All-New Device Next Year

Wednesday November 27, 2024 1:05 pm PST by
Apple is expected to kick off 2025 by launching an all-new smart home hub, also referred to as a "command center," as early as March. The hub is expected to feature around a six-inch display that can be attached to a tabletop base with a speaker, or mounted on a wall. The device is said to run a new "homeOS" operating system with a customizable widget-focused home screen, and it is expected...
New Things Your iPhone Can Do in iOS 18

20 New Things Your iPhone Can Do in iOS 18.2

Friday December 6, 2024 4:42 am PST by
Apple is set to release iOS 18.2 in the second week of December, bringing the second round of Apple Intelligence features to iPhone 15 Pro and iPhone 16 models. This update brings several major advancements to Apple's AI integration, including completely new image generation tools and a range of Visual Intelligence-based enhancements. There are a handful of new non-AI related feature controls...
iPhone 17 Slim Feature

iPhone 17 'Air' Expected to Be ~2mm Thinner Than iPhone 16 Pro

Friday December 6, 2024 4:07 pm PST by
In 2025, Apple is planning to debut a thinner version of the iPhone that will be sold alongside the iPhone 17, iPhone 17 Pro, and iPhone 17 Pro Max. This iPhone 17 "Air" will be about two millimeters thinner than the current iPhone 16 Pro, according to Bloomberg's Mark Gurman. The iPhone 16 Pro is 8.25mm thick, so an iPhone 17 that is 2mm thinner would come in at around 6.25mm. At 6.25mm,...
iPhone 14 Pro Display Two Times Brighter Feature

Every Display Upgrade Rumored for Apple's iPhone 17

Friday December 6, 2024 5:14 am PST by
Apple's next-generation iPhone 17 lineup may bring some of the most significant display improvements we've seen in recent years. While the iPhone 17 series isn't expected until late 2025, multiple rumors suggest Apple is working on substantial screen upgrades across its entire smartphone range. From enhanced refresh rates to advanced materials and improved power efficiency, these display...
airpods pro 2 gradient

AirPods Pro 3 Expected Next Year: Here's What We Know

Thursday November 28, 2024 3:30 am PST by
Despite being released over two years ago, Apple's AirPods Pro 2 continue to dominate the wireless earbud market. However, with the AirPods Pro 3 expected to launch sometime in 2025, anyone thinking of buying Apple's premium earbuds may be wondering if the next generation is worth holding out for. Apart from their audio and noise-canceling performance, which are generally regarded as...
Generic iOS 18

Apple Seeds Release Candidate Versions of iOS 18.2 and More With Genmoji, Image Playground and ChatGPT Integration

Thursday December 5, 2024 10:03 am PST by
Apple today seeded the release candidate versions of upcoming iOS 18.2, iPadOS 18.2, and macOS Sequoia 15.2 updates to developers and public beta testers for testing purposes, two weeks after releasing the fourth betas. Alongside the release candidate versions of the iPhone, iPad, and Mac operating system updates, Apple has also seeded the watchOS 11.2, tvOS 18.2, and HomePod Software 18.2 RCs....
open ai logo

OpenAI Launches $200/Month ChatGPT Pro Plan

Thursday December 5, 2024 4:19 pm PST by
OpenAI today announced the launch of ChatGPT Pro, a $200 per month subscription service that provides unlimited access to OpenAI o1, the company's newest and most advanced large language model. The plan includes unlimited use of OpenAI o1, o1-mini, GPT-4o, and Advanced Voice, along with o1 pro mode, an o1 version that uses more compute to provide better answers to the hardest problems. In...