# Batch Renaming Photos on Mac

Learn how to rename many photo files at once on a Mac using the Finder's batch rename dialog. A clear walkthrough with naming formats and tips.

You can [batch rename photos](/articles/batch-renaming-photos/) on a Mac directly in the Finder without extra software. Select the files, choose Rename from the context menu, and set a format like name with a counter or date. This guide walks through each step, the available format options, and how to undo a rename if you change your mind. 

- Finder's built-in rename feature handles any number of photos at once.
- Choose a naming format: name and index, name and counter, or name and date.
- You can add text before or after the name, or replace parts of it.
- The rename happens instantly, but you can undo with Command-Z.
- A little planning avoids overwriting or confusing names later.
 

## What You Need 

Batch renaming photos on a Mac requires only the built-in Finder application. No extra downloads or purchases are necessary for basic renaming tasks. You need a folder containing the photos you want to rename. The photos can be in any format such as JPEG, HEIC, or RAW. 

Make sure you can select more than one file at a time. Open the folder in Finder and use list or icon view. You do not need to open the photos in an editing app. The rename command works directly on the selected files wherever they are stored. 

For safety, consider copying the photos to a new folder before renaming. That way you keep the original file names untouched. A backup copy helps if you realize later you need the old names for reference. Finder cannot restore the exact previous names after you close the window unless you undo immediately. 

## Selecting Your Photos 

The first step is to select the photos you want to rename. In Finder, click the first photo, then hold the Command key and click more photos to add them. To select a whole range, click the first, hold Shift, and click the last. You can also drag a selection box around the images. 

If you want to rename every photo in the folder, press Command-A to select all. Check the selection count in the Finder status bar. The rename dialog will tell you how many items it will rename. You can select photos from different locations only if they are all in the same Finder window. 

After selecting, right-click or Control-click any one of the selected images. A context menu appears with common file actions. Choose Rename at the bottom of the menu, often near the color tags. A dialog box opens with the batch rename controls inside it. 

## Understanding the Rename Dialog 

The Finder batch rename dialog gives you three main format choices. The top dropdown menu switches between Replace Text, Add Text, and Format. Each choice changes the options that appear below. You can preview the new names in the dialog before applying anything. 

Replace Text lets you find a string of characters and swap it for another. This works well when many photos share a common part like a date prefix. For example, replace 'IMG_' with 'Trip_' to change every file at once. The original characters are deleted and the new ones take their place. 

Add Text simply inserts extra characters before or after the current name. You type the text you want to add and choose its position. This is a fast way to add a location tag or your initials. The existing names stay intact and the new text is appended or prepended. 

## Using the Format Option 

The Format option is the most powerful for creating entirely new names. It builds a fresh name using a pattern you define. Choose a name format first: Name and Index, Name and Counter, or Name and Date. Each format puts a number or date after a base name you enter. 

With Name and Index, files become something like Beach_1.jpg, Beach_2.jpg, and so on. The index starts at 1 and counts up for each file in the selection order. Name and Counter works the same way but starts at any number you choose. Name and Date appends the current date in a fixed order such as year-month-day. 

The dialog shows a sample name just below the format menu. That sample updates as you change settings. You can set where the number or date appears: after the name or before it. Usually you keep the default which places the counter after the text. 

## Setting the Name Pattern 

In the Format tab, the Custom Format field is where you type the base name. The counter or date will attach to that base according to your settings. For example, type 'Holiday' to get files like Holiday_1, Holiday_2, and onward. Spaces are allowed and become part of the file name. 

Below the Custom Format field is a small menu for the number format. You can choose to start at 1, or any number you like, and set the number of digits. Setting a fixed number of digits adds leading zeros to keep names aligned. For instance, a three-digit counter turns file 7 into Holiday_007. 

A checkbox lets you add a dash or underscore between the base and the number. Underscores are often safer for files that may go online later. The preview pane shows exactly what each selected file will become. Use the preview to catch typos before you hit Rename. 

## Applying the Batch Rename 

Once the settings look right, click the Rename button in the dialog. Finder immediately changes the names of all selected files. A quick progress bar may appear if the selection is large. After it finishes, the file list updates to show the new names. 

If you need to revert, press Command-Z right away. That undo step restores the previous names as long as you have not done anything else. The undo history for renaming is limited. Once you close the Finder window or perform another file operation, undo may no longer work. 

For that reason, many people rename a duplicate set of files. Keep the originals untouched in a separate folder until you confirm the new names are correct. This practice also protects against accidental overwriting when two files end up with the same name. 

## Practical Naming Examples 

Suppose you have a folder full of photos from a prairie birdwatching trip. You want every image to start with 'Prairie_'. Use Add Text with 'Prairie_' before the name. That keeps the original numbers but adds the useful context to each file. 

Alternatively, use Format with Name and Index to create ordered files. Set the custom format to 'Prairie_Birds' and choose a counter with two digits. The results will be Prairie_Birds_01.jpg, Prairie_Birds_02.jpg, and so on. That ordering helps when you browse the files later. 

For sorting by capture date, choose Name and Date. The date will be the day you perform the rename, not the original photo date. If you want the original capture date in the name, that requires a separate tool or script. Finder only uses the current date for this format. 

## Issues and Limitations 

Finder's batch rename cannot read photo metadata like the date taken. It works only with the file name you see. If you need to rename based on capture date or camera model, use an application that reads EXIF data. For plain renaming jobs, Finder is enough. 

Another limitation is that Finder cannot rename photos inside an album in the Photos app. You must work with the actual files in the Finder file system. For Photos app items, use the built-in batch change feature there. The two systems are separate and do not share rename actions. 

Be careful with duplicate names. If two files end up with the exact same name in the same folder, Finder will not warn you. One file may overwrite the other or create a confusing copy. Always check the preview and use a counter to keep every name unique. 

## Batch Photo Renaming Questions 

### Can I undo a batch rename on Mac? 

Yes, you can undo a batch rename immediately by pressing Command-Z in Finder. The undo works only if you have not performed another action since renaming. After closing the window or doing another file operation, undo may no longer restore the old names. 

### Does Finder batch rename work with all photo types? 

Yes, Finder batch rename works with any file type, including JPEG, HEIC, PNG, and RAW photo files. The rename process changes only the file name and does not alter the image data. All selected items are renamed regardless of their extension. 

### Can I add a number sequence to photo names? 

Yes, use the Format option and choose Name and Index or Name and Counter. Type the base name in the Custom Format field. The dialog adds a number to each file starting from the number you choose. You can set the number of digits to keep leading zeros. 

### How do I rename photos by date on Mac? 

Finder can add the current date using the Name and Date format. Select the photos, open the rename dialog, choose Format, then Name and Date. The date will be the day you perform the rename. For the original capture date, use an app that reads photo metadata. 

### What if two photos end up with the same name? 

Two files cannot have the exact same name in the same folder. If a rename would create a duplicate, Finder may skip that file or add a number. To avoid this, use a counter with enough digits and check the preview. Always ensure your naming pattern creates unique names. 

### Can I batch rename photos in the Photos app? 

The Photos app has its own batch change feature. Select multiple photos in Photos, then use the File menu to rename or adjust titles. That works only for photos managed by Photos, not for loose files in folders. For files outside Photos, use Finder's rename dialog.
