If your ~/Documents/Scans folder on your Mac is full of files named scan0042.pdf, scan0043.pdf, scan0044.pdf, you already know the cost. Finding one invoice is a 10-minute expedition. Preparing tax season takes a whole weekend. This post shows how to rename PDFs by content on macOS automatically — each file gets a name that tells you the vendor, the date, and the amount.

Why rename PDFs by content at all?

Mac tools can rename PDFs by adding a prefix or sequence number. That doesn't help when you need to find a file later. A good PDF filename encodes three things:

Example target: 2026-03-10_invoice_aws_$284.50.pdf. Zero ambiguity.

What makes PDF renaming hard on macOS

macOS Finder, Automator, and Shortcuts cannot read inside a PDF. They can rename based on the filename or Finder metadata, not the document contents. To rename a PDF by what it says, you need three things working together:

  1. Text extraction for text-layer PDFs (exported from Word, invoices from software).
  2. OCR for scanned PDFs (receipts, paper contracts, old documents).
  3. AI to interpret the extracted text — "this is an AWS invoice dated March 10 2026 for $284.50" — and produce a filename.

A smart renaming tool for macOS handles all three automatically.

How FilesDesk renames PDFs by content on Mac

FilesDesk, a smart renaming tool for macOS, runs this pipeline on every PDF:

  1. Open the PDF, check for a text layer. If present, extract text directly (fast).
  2. If no text layer, run OCR on the rendered pages (slower, but works on scans).
  3. Send the extracted text to the AI provider you chose — OpenAI, Claude, Gemini, or a local Ollama model.
  4. The AI returns a structured filename based on your template.
  5. FilesDesk renames the file and shows you an undo option.

Setting it up — step by step

  1. Install FilesDesk from filesdesk.app/download and drag to Applications.
  2. Choose an AI mode. Managed is simplest. If you handle sensitive client PDFs, pick Ollama (offline).
  3. Create a template for finance docs:
    {ocr_date}_{ai_doctype}_{ai_vendor}_{ocr_amount}
  4. Enable Watch Folder on ~/Documents/Scans (or wherever your scanner drops PDFs).
  5. Every new PDF is renamed within seconds of appearing.

Before and after — real Mac examples

Three weeks of scanned financial paperwork, before and after.

# Before
scan0042.pdf
scan0043.pdf
scan0044.pdf
scan0045.pdf
invoice.pdf
statement.pdf
Untitled.pdf

# After FilesDesk on Mac
2026-03-10_invoice_aws_$284.50.pdf
2026-03-12_receipt_apple_$1999.00.pdf
2026-03-15_contract_acme-corp_web-redesign.pdf
2026-03-18_statement_chase_checking_march.pdf
2026-03-22_invoice_openai_$120.00.pdf
2026-03-25_1099_upwork_client-xyz.pdf
2026-03-28_receipt_costco_groceries_$412.30.pdf

Privacy tip: If you process medical records, legal discovery, or anything under NDA, use the self-managed lifetime license with Ollama. PDFs are OCR'd and renamed entirely on your Mac. No file ever touches a cloud.

Tax-season workflow

The real win is at tax time. One folder of consistently named PDFs beats a zip of scan0042.pdfscan0318.pdf every time.

  1. All year: scanner drops PDFs into ~/Documents/Scans. FilesDesk Watch Folder renames them instantly.
  2. Quarterly: sort by name. Invoices group together by vendor. Receipts group by date.
  3. Tax prep: export the whole folder to your accountant. Every filename is self-documenting.

Accuracy on scanned invoices

Our internal test set (500 scanned US invoices of varying quality):

Cloud models are more accurate; Ollama is fully offline. Pick the tradeoff that matches your workflow.

Stop naming PDFs by hand

The smart renaming tool for macOS reads your scans and names them in one click.

Download FilesDesk for Mac

FAQ

Can I rename scanned PDFs by content on my Mac?

Yes. FilesDesk OCRs scanned PDFs directly on macOS and renames them based on the extracted text plus AI interpretation. Works for receipts, invoices, contracts, and statements.

Do I need Adobe Acrobat to rename PDFs by content?

No. FilesDesk handles both text-layer PDFs and scanned image PDFs without Acrobat.

Can I rename PDFs offline on macOS?

Yes. Use FilesDesk's self-managed lifetime license with Ollama. OCR and AI both run locally on your Mac.

What if the AI gets the vendor name wrong?

Preview mode shows every generated name before applying. You can override any file, or adjust the template to prefer explicit fields.