To rename a batch of files on a Mac, select the files in Finder, Control-click the selection, and choose Rename. Pick Replace Text, Add Text, or Format in the Rename Finder Items dialog and check its example before clicking Rename. The steps follow macOS 27 Golden Gate. On macOS 26 Tahoe, use them when your Finder shows the same options. A successful rename gives every intended file its new name while keeping the file count, extensions, and contents intact.

Choose the scope before opening Rename

Start in one local folder that contains ordinary documents or images. If the files are in a shared project, make a copy of the batch for the first pass. Other people or apps may work from the existing names, so agree on when a validated set will replace those names. Use work copies for the first attempt even when you are the sole owner and the naming rule is unfamiliar.

Switch Finder to List view so you can see every name and sort the set. Show filename extensions under Finder → Settings → Advanced → Show all filename extensions. Decide which characters describe the file and which characters belong to its extension. Editing the extension can affect the app that opens the file. Changing the extension also leaves the data in its original format. If you are preparing camera images for another app, convert the HEIC copies to JPEG first and rename the outputs afterward.

Select only the files that should receive the rule. Select a contiguous range with Shift or add individual files with Command. Use Command-A only in a folder known to contain the full intended set and nothing else. If folders and files are mixed together, keep folders out of the selection unless they are deliberately part of the job. In a search window, check each item’s enclosing folder first. Two results with similar names can belong to different projects.

Keep a simple old-name list, including the extensions. For a short batch, write the names down. For a larger one, keep an untouched copy or export a directory listing before the rename. A record with the starting count and exact names is useful if a file needs to be matched later to an attachment, project reference, or delivery note.

Pick a rule in Rename Finder Items

Control-click one of the highlighted files. Keep the selection active as you choose Rename. Finder may show the number of selected items in the menu label. Check that number before opening the dialog. Apple’s Finder rename guide documents the three rule types and the filename extension considerations.

Replace Text for a shared part of each name

Choose Replace Text and enter the exact shared text in Find. Enter the new string in Replace with. For example, search for draft- and replace it with review- when the files begin with that prefix. Include the hyphen in both fields so the word stays separate from what follows. Check a few different names for other occurrences of the same string. A broader search can affect more characters than you meant to change.

Check the Example in the dialog. If a file name needs two unrelated replacements, do one small rule at a time and verify the results between them. That makes it clearer which rule produced each change. A candidate that lacks the search text should be left outside the intended subset, or accounted for as an expected unchanged file when you verify the batch.

Add Text to keep the existing base names

Choose Add Text when each original base name still carries information you will need. Enter the new text, then choose whether it goes before or after the name. For example, add 2026-12-02- before a set of receipt names, or add -approved after the names in a review batch. Include the separator as part of the text, and check the example for the correct position relative to the extension.

A repeated run can add the same text a second time. After a partial rename or a returned project, check which files already carry the prefix or suffix before selecting the region of the list again. If two teammates will use the same rule, give them an example of the complete filename, including the extension, so the expected spelling is visible.

Format for a new base name and sequence

Choose Format when the existing names add little value and the set needs one consistent name. For simple numbering, choose Name and Index, set the position to after name, enter panel for the custom format, and choose a starting number such as 1. Inspect the example for spacing and the index. Apple also lists formats based on a counter or date. Choose the one that reflects the system you and the recipient use.

Sort the source list in the order you intend to work and keep a record of the original names. If the mapping of a specific item to a specific number matters, test the sequence with copies and open the result of each numbered file. The dialog’s one example confirms the pattern. The content check confirms which file received each number. For a mandatory sequence, work in smaller groups or use individual names for assignments that must be exact.

Reproduce a three-file rename

Create a fresh practice folder. In TextEdit, create plain text files named draft-panel-A.txt, draft-panel-B.txt, and draft-panel-C.txt. Put Panel A holds the blue sample. in the first file. Put Panel B holds the green sample. in the second and Panel C holds the orange sample. in the third. Confirm that the filenames end in .txt. Distinct contents let you identify the same file even after its base name changes.

Select those three files, open Rename, and choose Replace Text. Use draft- for Find and review- for Replace with. The expected files are review-panel-A.txt, review-panel-B.txt, and review-panel-C.txt. Confirm that there are three files and that Finder shows the text extension on all three. Open each file and check its panel letter and color against the practice set.

To observe Add Text, duplicate the practice folder and add 2026-12-02- before the current names. All three names should begin with that date and preserve their individual panel letters. In a separate copy, try Format with Name and Index beginning at one. Confirm that the three names have successive index values and that the set of three original sentences is still present. If you need exact pairing between the original letters and the new indices, write down the mapping you observe.

Verify the rename and recover from mistakes

After clicking Rename, look for four things. First, the number of selected files processed should match the number you intended. Second, the new names should fit the rule, including separators and any expected number range. Third, regular files should still end with their original extensions. Fourth, open or preview enough items to check their identity. For a batch with one-to-one assignments, open every result and compare with your starting list. A filename that follows the pattern can still label the wrong content.

If Finder reports a name conflict, compare the proposed name with items outside the selection. Move the working copies to a fresh practice folder and choose a rule that produces unique names. A temporary prefix can help when you are coordinating a second pass, but keep a mapping of each first-pass name until the result is checked. If some items changed and others stayed the same, account for them individually before rerunning a rule that adds text or assigns numbers.

For a change you just made in Finder, check the Edit menu for the corresponding Undo Rename action. Use it while that rename is still the action indicated by the menu, then compare the recovered names and count with the starting list. If another file operation happened afterward, recover names from the list or return to untouched copies. Check both the extension and content again after undoing. For a folder with shortcuts, catalog entries, or other project references, check those references before asking another person to use the renamed files.

Check matching names across more than one folder

If you intend to gather the files into one destination, check for collisions in that destination as well as in the current folder. Two folders can each contain a file called summary.txt. Adding the same date to both still leaves matching names when you combine them. Rename the working copies in two batches with distinct project prefixes, then copy the results to a new delivery folder. Compare the names and file count there with the combined input list. This also catches collisions with a report that was already in the delivery folder.

For a recurring task, keep one naming example for each file type. A PDF and a spreadsheet may have the same project name and still need to stay together. Verify both extensions and open the files in their intended apps. For a batch supplied by several people, include one filename with spaces and one with a longer project label in the rehearsal. That gives you a chance to improve the separators before the batch is shared.

Apply the checked rule to a real batch

Build the next batch from files that share a clear reason to receive the same change. The cleanest rule is usually one that changes as little of each name as the job allows. Use Replace Text for a known prefix or suffix, Add Text for shared project information, and Format for a numbered set whose individual labels can be discarded.

Save the rule next to your list of before and after filenames if you need to repeat the job next month. Include the exact text, placement, selected folder, and expected count. When a future batch contains a new file type or a filename that looks unusual, rehearse on copies of two or three representative files before applying the rule to the whole folder.