Renaming a handful of files on a Mac is easy. Renaming two thousand is a different problem. In 2026 there are five real ways to batch rename files on macOS, and each fits a different job. This is a practical tour β no fluff β from the built-in Finder trick to the smart renaming tool for macOS that reads files and names them by content.
Method 1 β macOS Finder batch rename
The fastest way to batch rename files on Mac for simple cases. No apps required.
- Open Finder, select two or more files.
- Right-click β Rename N Itemsβ¦
- Choose Replace Text, Add Text, or Format (name + index).
- Click Rename.
Good for: fixing a typo across many filenames, adding a prefix like 2026-04_, numbering a sequence.
Not good for: anything that requires understanding what's inside the file. Finder cannot read a PDF, analyze an image, or extract an invoice amount.
Method 2 β Automator / Shortcuts
macOS ships with Automator and Shortcuts. Both can build a "Rename Finder Items" workflow and attach it as a Quick Action.
1. Open Shortcuts.app 2. New Shortcut β Add Action "Rename File" 3. Configure: Replace / Add Text / Format 4. Save as Quick Action β appears in Finder right-click menu
Good for: reusable rule-based rename workflows, chaining with other actions (move, tag, compress).
Not good for: content-aware naming. Same limitation as Finder β it's automation over a rule, not intelligence.
Method 3 β Terminal (zsh / bash)
For developers, the Terminal is the most powerful rule-based batch renamer on a Mac.
# Add a prefix to all .jpg in current folder
for f in *.jpg; do mv "$f" "2026-04_$f"; done
# Replace "IMG_" with "trip_"
for f in IMG_*.jpg; do mv "$f" "${f/IMG_/trip_}"; done
# Zero-pad sequence (requires rename)
brew install rename
rename 's/(\d+)/sprintf("%04d", $1)/e' *.jpg
Good for: regex, scripting, tens of thousands of files, pipelines with find and exiftool.
Not good for: users who don't want a terminal, and still can't read content without extra tooling.
Method 4 β Rule-based batch rename apps (Renamer, NameChanger, A Better Finder Rename)
These Mac apps wrap regex and rules in a GUI. Renamer (renamer.com) is the best-known; NameChanger and A Better Finder Rename are long-standing alternatives.
Good for: repeating complex rule chains β "remove everything before the first dash, then zero-pad, then add creation date." Real-time preview is a big quality-of-life win.
Not good for: files where the right name depends on content, not metadata. A scanned invoice named scan0042.pdf can't be renamed to 2026-03-10_invoice_aws_$284.50.pdf by any rule β you need to read the PDF.
Method 5 β AI smart renaming tool for macOS
This is the category that changed the game. Instead of writing a rule, you point the tool at a folder and it reads every file β PDFs via OCR, images via vision AI, documents via text extraction β and names each one by what is inside.
FilesDesk is a smart renaming tool for macOS that supports three AI modes:
- Managed: built-in cloud AI with credits. No API key needed. Fastest to try.
- BYOK: your own OpenAI, Claude, or Gemini API key. You pay the provider directly.
- Offline: local Ollama models like
qwen2.5vl. Files never leave your Mac.
A typical batch:
# Before (camera dump to ~/Pictures/2026-04-12/) IMG_4321.HEIC IMG_4322.HEIC IMG_4323.HEIC IMG_4324.HEIC # After FilesDesk batch rename on Mac 2026-04-12_big-sur_coastline_sunset.HEIC 2026-04-12_big-sur_cliff_wide.HEIC 2026-04-12_big-sur_portrait_emma.HEIC 2026-04-12_big-sur_lighthouse.HEIC
Tip: Enable Watch Folder on ~/Pictures/Screenshots or ~/Downloads once, and every new file is renamed automatically β no manual batch step.
Which method should you use?
- A handful of files, quick fix: Finder (Method 1).
- Reusable rule-based automation: Shortcuts (Method 2) or Renamer (Method 4).
- Power-user regex at scale: Terminal (Method 3).
- Name files by what's inside them: FilesDesk or another smart renaming tool for macOS (Method 5).
Step-by-step: batch rename files on Mac with FilesDesk
- Download FilesDesk for Mac and install (drag to Applications).
- Choose AI mode β managed (quickest), BYOK (cheapest at scale), or Ollama (offline).
- Drag a folder into the app, or set it as a Watch Folder.
- Pick a template β default "AI Smart Rename" works for most cases.
- Preview the generated names, override any you don't like.
- Apply. Undo is one click if you change your mind.
Try the smart renaming tool for macOS free
15 AI credits included. No card. Apple Silicon native.
Download FilesDesk for MacFAQ
What's the fastest way to batch rename files on Mac?
For simple rule-based changes, Finder's right-click β Rename N Items is fastest. For content-aware batch renaming, a smart renaming tool for macOS like FilesDesk is faster than any manual process because you don't have to write a rule β the AI names each file individually.
Can macOS Finder rename by file content?
No. Finder only supports find/replace, format-and-number, and add text. It cannot read inside PDFs, images, or documents.
Can I batch rename files on Mac without internet?
Yes. Use Finder, Terminal, or Automator for rule-based renaming β all work offline. For AI-powered content-based batch rename, use FilesDesk's self-managed lifetime license with Ollama running locally on your Mac.
How do I batch rename thousands of photos on Mac?
Drop them into FilesDesk as one job, pick an AI provider (Claude and GPT-4o are fastest), and let it run. EXIF + AI vision combined give names like 2026-04-12_big-sur_sunset_sony-a7iv.HEIC across thousands of files.