Guide · · By Rahman Yilmaz
How to bulk rename files on Mac
In Finder, select the files, Control-click one of them and choose Rename. The Rename Finder Items window offers three modes: Replace Text, Add Text and Format, which gives every file a new name followed by a number or a date. Click Rename and it is done. Finder is enough for files on your Mac. For files on a NAS or a cloud drive that is not mounted, for search and replace with patterns, for numbering TV episodes, or for an undo you can come back to later, a batch renamer such as Ultra Explorer shows every new name before anything changes.
At a glance
- Built into macOS
- Finder: select the files, Control-click, Rename
- Finder modes
- Replace Text, Add Text, Format (name plus index, counter or date)
- Preview in Finder
- One example name at the bottom of the window
- Patterns (regular expressions)
- Not in Finder; in Ultra Explorer, the Replace text rule accepts them
- Files on a NAS or a cloud
- Finder: only once the share or the cloud folder appears in Finder. Ultra Explorer: connects to them directly
- Undo
- Finder: Edit › Undo right after. Ultra Explorer: Undo all, and the last 100 renames kept in Operations
- Ultra Explorer on Mac
- Apple Silicon. Preview mode is free; renaming in one click is part of Pro
Step by step
-
In Finder, select the files
Open the folder and select the files to rename: click the first one and Shift-click the last one, Command-click to add or remove one file, or press Command-A for everything in the folder.
-
Control-click and choose Rename
Control-click (or right-click) one of the selected files and choose Rename. With several files selected, the Rename Finder Items window opens. Its pop-up menu at the top has three modes.
-
Replace Text: swap one word for another
Type the text to remove in Find and its replacement in Replace with. For example, find
IMG_and replace it withIceland 2026 -:IMG_4101.jpgbecomesIceland 2026 - 4101.jpg. Leave Replace with empty to delete the text. -
Add Text or Format: add words or numbers
Add Text puts the same text before or after every name. Format replaces the names with a name you type in Custom Format, followed or preceded by an index, a counter or the date, and lets you choose the number to start from.
-
Check the example and rename
The example at the bottom of the window shows what the first name will look like. Click Rename. If the result is wrong, choose Edit › Undo (Command-Z) straight away.
-
Beyond Finder: open the files in Ultra Explorer
Install Ultra Explorer and add the storage that holds the files: a NAS over SMB, SFTP or WebDAV, Google Drive, OneDrive, Dropbox and many more. They open without being mounted in Finder. Select the files, then press F2, or right-click and choose Rename 8 items….
-
Stack rules and read every new name
Click Add a rule: Replace text (with plain text or a regular expression), Insert text, Counter, Change case, Template, episode numbering and more, 13 rules in all, applied from top to bottom. The preview lists every new name, with what is removed struck through. A name that is already taken is flagged before anything changes and is never overwritten.
-
Rename, and undo if needed
Click Rename 8 items. Undo all gives the original names back in one click. The batch is also kept in Operations, where you can undo it later.
Where Finder stops
- Finder’s Replace Text looks for exact text: no wildcards and no regular expressions. To turn
Holiday_2025_07_14.jpginto2025-07-14 Holiday.jpgacross hundreds of files, you need a pattern, such as the Replace text rule of Ultra Explorer set to Regular expression, which reuses the captured parts with$1,$2. - Finder renames what Finder can see. A NAS share appears once you connect to it (Go › Connect to Server), and a cloud drive once its app puts a folder in Finder. Ultra Explorer connects to these storages itself, and with the rename tray you can gather files from several folders and storages into one batch.
- Finder shows a single example name. Ultra Explorer shows every new name, with filters for Changed, Errors and Unchanged, and checks each one with the storage before the rename.
- For TV shows, Finder’s counter does not know seasons and episodes. Ultra Explorer’s TV · Plex/Jellyfin preset turns
Orbital.Station.S01E01.1080p.WEB-DL.x264-NOVA.mkvintoOrbital Station - S01E01.mkv, and subtitles take the new name of their video. - Apple’s own advice applies everywhere: do not change file extensions, and do not rename system or app folders. By default, Ultra Explorer’s rules leave the extension alone.
Questions
-
Select them in Finder, Control-click one of them, choose Rename, then pick Replace Text, Add Text or Format in the Rename Finder Items window and click Rename.
-
In Finder, use Format: type a name in Custom Format, choose an index or a counter, before or after the name, and the number to start from. In Ultra Explorer, the Counter rule also sets the step, the number of digits, and whether numbering starts again in each folder.
-
No. Replace Text only finds exact text. Ultra Explorer’s Replace text rule accepts regular expressions and reuses captured groups with
$1or$<name>. -
In Finder, choose Edit › Undo (Command-Z) right after the rename. In Ultra Explorer, click Undo all at the end of the rename, or undo it later from Operations, which keeps the last 100 renames. An item that changed since is left alone.
-
With Finder, only once the NAS share or the cloud folder appears in Finder. Ultra Explorer connects to the NAS (SMB, SFTP, WebDAV) and to cloud drives directly, and renames the files where they are, without downloading them.
-
It should not: Apple advises against changing extensions. In Ultra Explorer, rules apply to the name without its extension unless you choose otherwise.
-
You can open it, set up rules and presets, and see every new name for free, in preview mode. Renaming in one click is part of Pro.


Source for the Finder steps: Apple, Rename files, folders and disks on Mac
Go further: Batch rename tutorial (8 min video)Rename TV shows and movies for Plex and Jellyfin
Rename files wherever they are
Try batch rename in preview mode with the free version: every rule, every new name, before anything changes. Renaming in one click is part of Pro.