How to Batch Rename PDFs With a Consistent Naming Convention

Rename whole folders of PDFs in one go with a naming convention that survives sorting, search, and archiving.

A folder of 80 PDFs called `scan001.pdf` through `scan080.pdf` is useless to anyone who didn't run the scanner. Names like `2026-01-12_invoice_acme.pdf` are searchable, sortable, and self-explanatory.

Batch rename once, save hours forever.

Pick a naming convention you'll stick to

Date-first works best for files that accumulate over time. `YYYY-MM-DD_type_party.pdf` — invoices, receipts, contracts. The date prefix sorts chronologically without any extra effort.

Project-first works for active work. `PROJ-1234_v3_signed.pdf`. Always include a version marker if the file gets revised.

Use the OS tools, not manual rename

Finder (Mac), File Explorer (Windows), and Nautilus (Linux) all support batch rename. Select all the files, right-click, rename — replace the prefix, set a counter, choose a format.

For more complex patterns (regex, extracting dates from PDF contents), tools like A Better Finder Rename, Bulk Rename Utility, or `rename` on Linux handle it.

Tag inside the file too

Filenames help filesystem search. PDF metadata helps in-document search. Update both for findable archives — set the title to match the filename pattern.

If the files are scanned, OCR them so their content is searchable too. Filename plus metadata plus OCR makes a folder genuinely searchable.

FAQ

What's a good naming pattern for invoices?

`YYYY-MM-DD_invoice_vendor_amount.pdf`. Sorts chronologically, identifies the vendor, and shows the amount at a glance.

Should I include the file type in the name?

Yes — `_invoice`, `_contract`, `_receipt`. It lets you filter the folder by type without opening anything.

Can I extract data from the PDF to use in the filename?

With specialised tools, yes — extracting dates and amounts from invoice PDFs is a common workflow. Build the naming convention around extractable fields.

What about spaces vs underscores in filenames?

Underscores. Spaces break in URLs, in command-line tools, and in some older systems. `2026-01-12_invoice.pdf` always works.

A consistent naming convention pays back ten times over the next year. Set it once, apply it in bulk, and keep your PDFs organised for good.

Try it now

Drop a PDF in and you'll be done in seconds — no install, files private to your account.

More on this

How to Batch Rename PDFs | Flint — Flint PDF