Rename Files Automatically on Mac: The Complete Guide
TL;DR
- File chaos costs you time. Names like
IMG_4827.jpg,Scan_001.pdf, orScreenshot 2026-03-15 at 12.34.pngtell you nothing about the content. At the end of the month, you're hunting for that café receipt and can't find it. - Finder can already do a lot: Select several files → right-click → "Rename…" → replace text, add text, or format with counter and date. Automator and Shortcuts extend this with saved workflows and regular expressions, but still stay pattern-based.
- But: None of Apple's built-in tools can read file content. From a PDF: no date, no sender, no amount.
- NameQuick fills that gap. The Mac app reads content via OCR, uses AI (OpenAI, Anthropic Claude, Google Gemini, or locally via Ollama), and generates structured filenames. Watch Folders, templates, free-form prompts, and a Rules Engine deliver real automation.
- Ready in 15 minutes: Point a Watch Folder at Downloads, create a receipt template, done. From there the renaming runs automatically in the background.
Why rename files automatically on your Mac?
Let's be honest — how many files with cryptic names are sitting on your Mac right now? IMG_4827.jpg, Scan_001.pdf, Screenshot 2026-03-15 at 14.35.27.png — names like these tell you nothing about whether a file is vacation photos, a tax invoice, or an important receipt. Manual renaming costs time, keeps getting pushed off, and rarely produces consistent results anyway.
An automated workflow solves this on four levels:
- Time savings. Renaming files one by one works fine — until you're staring at dozens or hundreds of them. Automation processes the stack in seconds.
- Better findability. A name like
2026-01-12_Medical_Bill_Dr_Mueller_89EUR.pdftells you immediately what it is. Spotlight and Finder tags work much better when the name describes the content. - Consistency. Templates you define once ensure receipts, contracts, and photos all follow the same scheme. Saves headaches at tax time.
- Set-it-and-forget-it. With Watch Folders and rules, filing happens automatically as soon as new files appear — perfect for scanned receipts from your iPhone or PDFs coming out of your banking app.
What Finder and Automator can do
macOS ships with three built-in tools that are plenty for simple to moderately complex batch renames. All three are pattern-based — they work with the filename, not the content. No AI, no OCR, but they're free and available right now.
Finder right-click: the quick option
Since macOS Yosemite, Finder has had a hidden batch rename feature. Here's how to use it:
- Select several files in Finder (Shift-click or Cmd-click).
- Right-click or Ctrl-click → "Rename [N] Items…".
- Choose one of the three modes:
- Replace Text. Search for part of the filename and replace it with different text. Or leave the field empty to delete text. Handy for actions like
IMG_→Vacation_. - Add Text. Insert text before or after the existing name. Ideal for prefixes like
Invoice_or suffixes like_archive. - Format. Build completely new names with a counter, index, or the current date. You choose whether the digits come before or after and which number to start counting from.
- Replace Text. Search for part of the filename and replace it with different text. Or leave the field empty to delete text. Handy for actions like
- Click "Rename" — Finder runs everything at once.
Cmd+Zin the Edit menu undoes the action.
Automator: the classic scripting route
Automator has been part of macOS since Tiger. You build workflows by dragging actions together and can expose them as a "Service" (Quick Action) in the context menu. For batch renaming, there's the "Rename Finder Items" action:
- Create a new service. Open Automator and pick the "Service" (Quick Action) template.
- Add the rename action. Drag the "Rename Finder Items" action into the workflow. You can choose whether to overwrite originals or copy them.
- Pick a mode. Inside the action you get the same three Finder modes: replace text, add text, and format. The "Show this action when the workflow runs" option is useful when you want to tweak settings each time.
- Save and use it. Save the service (for example, "Number Files") and pick it in Finder under "Services" or through the right-click context menu.
Automator shines at recurring patterns: "add today's date to the front" or "replace _ with -". The ceiling is the same as with Finder: content stays invisible.
Shortcuts on macOS
With macOS Monterey, Apple brought the Shortcuts app from iPhone to Mac. It's more powerful than Automator: loops, branches, and regular expressions are all possible. The "Replace Text" action combined with regex allows filename transformations that pure Finder can't do — like reversing word order or extracting parts and recomposing them.
Like Automator services, shortcuts can be exposed as a Quick Action in Finder and run as a loop across multiple files one after another. The advantage over Automator: a more modern interface, cross-platform support (Mac, iPhone, iPad), and better integration with Photos, Files, and Calendar. The shared drawback is still the same: shortcuts don't understand file content.
Where the built-in tools hit their limits
Finder, Automator, and Shortcuts are all pattern-based. They manipulate the existing filename or set counters. No OCR, no AI, no context understanding, no semantic interpretation. That leads to four concrete limits:
- No content understanding. A PDF of a medical bill is often called
Scan_001.pdfafter scanning. You can append a counter — but you can't automatically turn it into2026-02-12_Doctor_Mueller_89EUR.pdf. - No text recognition in images. Photos of whiteboards or snapshots of receipts contain information the built-in tools can't see.
- No context extraction. Finder doesn't know whether a file is an invoice, a contract, or a screenshot. You have to decide yourself which name makes sense.
- No automatic moving based on content. Watch Folders that detect new files and process them based on their content don't exist with Apple's built-in tools — only through convoluted folder actions or third-party apps.
For simple patterns — adding prefixes, inserting numbers, replacing text — the Finder context menu is often faster than any third-party app. The question isn't "Finder or NameQuick", it's "which tool solves which problem?". As soon as you want to read file content or have true background automation, Apple's built-in tools aren't enough.
NameQuick: AI-powered renaming on the Mac
NameQuick is a macOS app (macOS 15+, Apple Silicon and Intel) that brings AI directly into Finder's file system. The app reads documents via OCR, analyzes the content through an AI provider (OpenAI, Anthropic Claude, Google Gemini, or locally via Ollama), and generates meaningful filenames. Important: your files don't get pulled into a database — everything stays as a normal file in your Finder.
Smart Rename with OCR and AI
The centerpiece is Smart Rename. As soon as you drag a document onto the app or drop it into a Watch Folder, here's what happens:
- OCR. PDFs, images, and scanned documents are read with built-in text recognition. Dates, amounts, senders, and document types are extracted.
- AI analysis. Only the extracted text goes to the chosen AI model (never the original file). The AI understands the context: "Is this an invoice?", "Who sent it?", "What date is on it?".
- Meaningful names. Based on a template or your free-form prompt, a name emerges like
2026-02-12_AcmeCorp_Invoice_89EUR.pdf. - Undo. Every rename can be undone — similar to Finder.
Templates and free-form prompts
For recurring document types, you use templates: structured blueprints with fields like date, sender, or amount. The format {date}_{sender}_{amount}EUR.pdf is enough — the AI fills in the placeholders from the document.
For creative or one-off cases, there are free-form prompts. Describe in plain language how the filename should look: "Name the file by invoice date, doctor's name, and amount due." The AI interprets your prompt and generates the matching name. Especially useful for mixed documents that don't fit into a single template.
Watch Folders: folders instead of a database
Don't want to process files manually every time? Enable a Watch Folder. NameQuick monitors the folder you pick (for example, Downloads or an iCloud scan folder). As soon as a new file lands there, the app analyzes it in the background, renames it, and optionally moves it to a target folder. Fully automatic, with nothing to click.
For iPhone users this is elegant: scan receipts with the Files app or a scanner app directly into an iCloud folder that runs as a Watch Folder on your Mac. A few seconds later the file sits in the right place with a clean name.
Rules Engine and Finder tags
The Rules Engine allows AND/OR conditions in two phases:
- "When added" — rules that fire before the AI analysis (for example, "only process files larger than 10 KB and smaller than 50 MB").
- "After rename" — rules that run after the rename (for example, "if amount > 500 EUR, set Finder tag
large_expenseand move toInvoices/Large").
NameQuick uses native macOS Finder tags and color labels. Spotlight then finds files through filenames and tags — with no search engine of its own.
Batch, drag-and-drop, undo
Even though Watch Folders are handy, you can work via drag-and-drop any time. Drop a stack of PDFs, images, or a whole folder onto the app window — NameQuick processes hundreds of files in parallel. When the AI is uncertain about a document, it suggests a name and waits for your confirmation. Every action can be undone individually or as a batch.
BYOK or Managed AI
Two pricing models:
- Managed AI — credit-based with built-in AI. 500 renames per month for 5 USD, 2,000 for 10 USD, 5,000 for 20 USD, 10,000 for 35 USD. One credit equals one rename.
- BYOK (Bring Your Own Key) — one-time purchase for 38 USD (lifetime, one device). You use your own API key for OpenAI, Anthropic Claude, Google Gemini, or a local Ollama model.
Both models start with a 7-day trial (50 renames, no credit card). For maximum privacy, combine BYOK with a local Ollama model — then even the extracted text stays on your Mac.
Try NameQuick on your next batch
Use AI-powered presets and pricing that fit batch renaming without rebuilding your workflow.
Comparison: Finder vs. Automator vs. NameQuick
| Tool | Pattern-based renaming | AI-powered content analysis | Templates / prompts | Watch Folders | Undo |
|---|---|---|---|---|---|
| Finder (right-click) | Yes, three modes (replace text, add text, format) | No | No | No | Yes (Cmd+Z) |
| Automator / Shortcuts | Yes, same as Finder; Shortcuts also supports regex and loops | No | No | Only via folder actions | Partially |
| NameQuick | Yes, through templates | Yes (OCR + AI) | Yes | Yes, fully automatic | Yes |
NameQuick is the only one of the three tools that understands file content and generates names from it. Finder and Automator stay pattern-based; Shortcuts allows complex pattern manipulation but still without semantic interpretation.
Recipe: rename receipts and invoices automatically
Probably the most common use case for AI-based renaming. Here's how to set up the workflow:
- Create an intake folder. In Finder, create a folder like
~/Documents/Receipts_Inbox. All new scans and PDF downloads land here. - Scan your receipts. Use your iPhone (Notes.app, Scanbot, Genius Scan — all produce OCR PDFs) or a scanner. Save directly into the intake folder.
- Install NameQuick. Download the app from namequick.app and start the 7-day trial.
- Set up the Watch Folder. Add
~/Documents/Receipts_Inboxas a Watch Folder. - Create a template. Open the template editor and build a template with the scheme
{date}_{vendor}_{amount}EUR.pdf. Alternatively: free-form prompt "Name by date, vendor, and amount, format YYYY-MM-DD_Vendor_AmountEUR.pdf". - Define rules. Optional: all receipts above 100 EUR get the Finder tag
large_expenseand move toInvoices/Large, everything else goes toInvoices/{year}. - Let the automation run. New receipt in the Watch Folder → NameQuick picks it up, reads date and amount, renames it, and moves it. Within seconds.
The recipe saves hours per tax return. You can easily adapt the template for medical bills ({date}_Doctor_{name}_Bill.pdf), bank statements, online orders, or insurance documents.
How to set up automatic renaming in 15 minutes
Work through this in order:
- Define the job. Think about which files you rename most often: photos, invoices, contracts, screenshots. Each type gets its own template or prompt later.
- Try Finder first. Select a few sample files and try the right-click dialog. "Replace Text" or "Format" is enough for simple jobs like numbering or adding prefixes.
- Use Automator or Shortcuts for recurring patterns. If you need the same pattern change several times a week, save it as an Automator service or a shortcut. Both show up as Quick Actions in the Finder context menu.
- Install NameQuick. Download the 7-day trial. Test Smart Rename with a few typical documents and watch how well the AI picks up date, sender, and amounts.
- Create templates. Build one template per document type. Start with one (receipts) and expand as needed.
- Enable a Watch Folder. Pick a folder where new files land — Downloads, iCloud Drive, a scan inbox. From here on, NameQuick handles the work automatically.
- Fine-tune. Adjust templates, add Finder tags and rules, experiment with free-form prompts. After a few passes everything runs in the background, and you only touch your Mac when you want to find something.
The Finder context menu fits when:
- You only want to rename a handful of files in a one-off action
- The pattern is simple (replace text, add a prefix, number files)
- You don't feel like installing an app
Automator or Shortcuts fit when:
- You want to automate recurring pattern changes
- Renaming is part of a larger workflow (copy, move, convert)
- You're comfortable with regular expressions and enjoy tinkering
NameQuick fits when:
- The content of the files matters for the new name (date, sender, amount from invoices)
- You want background automation instead of manual workflows
- Hundreds of files are waiting at once
- Finder tags and native Mac integration matter to you
For more depth, see our guides on private document management on the Mac, the Paperless-ngx alternatives comparison, and a sensible folder structure on the Mac. If you currently use Hazel, the NameQuick vs. Hazel comparison is worth a read.
Conclusion
The Mac gives you plenty of ways to rename files automatically. Finder, Automator, and Shortcuts cover simple to advanced patterns. They work great when all you want to do is replace text, add prefixes, or insert a counter. The limits show up the moment the filename needs to be more than a pattern.
This is where NameQuick comes in: a native macOS app that uses AI to understand file content, apply templates, and process Watch Folders automatically. It doesn't replace Apple's built-in tools; it complements them for the cases where content matters. Whether you're a freelancer sorting invoices, a student managing lecture notes, or just someone trying to bring order to your Mac — NameQuick makes the difference.
Try the 7-day trial and set up automatic renaming for your Downloads folder in fifteen minutes. You'll be surprised how much time it saves.
FAQ
Why should I use NameQuick instead of Finder or Automator?
Finder and Automator are excellent for simple patterns like "replace text" or "add text". They have no access to the content of your documents, though — they only see the filename. NameQuick reads the text via OCR and uses AI to generate context-aware filenames. For complex workflows or large stacks of receipts, you're faster and more accurate with NameQuick.
How safe is the AI analysis? Are my files uploaded?
NameQuick processes files locally. Only the text extracted via OCR is sent to the chosen AI provider — the original file never leaves your Mac. For maximum privacy, use BYOK with a local Ollama model; then the text stays on the device as well. With Managed AI or BYOK using OpenAI, Claude, or Gemini, the extracted text goes to the respective provider.
Does NameQuick support Windows or iOS?
No. NameQuick is a native macOS app (macOS 15+) that runs on Apple Silicon and Intel. For iPhone scans you can use the Files app or a scanner app and drop the results into a Watch Folder synced via iCloud Drive to your Mac. The renaming then happens on the Mac.
Can I use NameQuick without an internet connection?
Yes, if you pair BYOK with a local Ollama model. Then the entire AI processing runs offline. With the Managed AI options and with BYOK using cloud providers (OpenAI, Claude, Gemini), an internet connection is required to reach the AI.
How many files can I rename at once?
The batch mode is built for hundreds of files at a time. Performance mostly depends on your Mac's hardware and the AI you choose. Each rename consumes one credit on the Managed plan. BYOK users are only limited by their own API quota.
Can I use NameQuick with my own AI?
Yes. With BYOK you bring your own API key for OpenAI, Anthropic Claude, Google Gemini, or a local Ollama model. The BYOK license costs 38 USD one-time (lifetime, one device). Alternatively, there are credit-based Managed AI plans starting at 5 USD per month.
How does the undo feature work?
Similar to Finder. Every rename can be undone — individually or as a batch. NameQuick stores the old filename and reapplies it when needed. So you can experiment safely: test a template, check the result, roll back if needed, adjust the template, and run it again.