Batch Rename PDF
Rename many PDFs at once using an invoice number, date, or reference code pulled straight from page 1 — no manual renaming, no server upload.
Drop PDFs here, or click to browse
Your browser doesn't support renaming files directly. You'll get renamed copies to download instead — the originals are left untouched.
How pattern-based PDF renaming works
Batch Rename PDF reads the first page of every PDF you give it, searches for a pattern you define, and builds a new filename from whatever it finds — turning a folder of generically-named scans like "scan-0231.pdf" into filenames that actually mean something, based on content the document already contains: an invoice number, a date, a reference code, a purchase order.
Unlike AI-based renaming services that upload your documents to a server to read them, this tool never leaves your device. The pattern matching, text extraction, and file writing all run locally in your browser using standard web APIs. In Chrome or Edge, you can pick a folder directly and files are renamed in place — no downloads, no duplicate copies left behind. Safari and Firefox don't support that kind of direct file-system access yet, so there you'll upload the PDFs and get a .zip of renamed copies instead, leaving your originals untouched. Before you commit to renaming anything, a live preview shows you what the first several files will be named so you can catch a bad pattern early, and if a name would collide with another file in the same batch it's automatically numbered apart rather than silently overwritten.
Common use cases
- Renaming a folder of scanned invoices to their actual invoice numbers
- Organizing statements or receipts by the date printed on them
- Turning a batch of generically-named scans into something searchable
- Standardizing filenames across documents from different sources before archiving
- Numbering a large set of files sequentially when the content itself doesn't need to drive the name
If a file doesn't match your pattern, it's still included in the results — marked "unmatched" — so nothing gets silently skipped, and you can correct just that one file's name afterward instead of starting the whole batch over.
Related tools
Batch Rename PDF — frequently asked questions
You give it a pattern — a regular expression, or one of the built-in presets like Invoice number or Date — to search for on the first page of every PDF, plus a template for the new filename. It reads each file's text directly in your browser and fills in whatever it finds, file by file.
It's still included in the results with "-unmatched" added to its name instead of being silently skipped. You can also fix any single unmatched file afterward with the inline edit button, without re-running the whole batch.
In Chrome or Edge, pick a folder and files are renamed directly in place — no downloads, no leftover duplicates. In Safari or Firefox, direct folder access isn't supported yet, so you'll upload files and download a .zip of renamed copies instead, leaving your originals untouched.
No. Reading the text and renaming both happen locally in your browser using standard web APIs. Nothing is sent to a server — that's different from AI-based renaming services that upload your documents to read them.
The tool checks for that automatically and adds a -2, -3 suffix to whichever file would otherwise collide, so you never lose a file to a silent overwrite.
Yes — pick the "Just number them" preset, or use {n} in your own template, and files get numbered in the order you added them (Document-001.pdf, Document-002.pdf, and so on) without needing to match anything on the page.
Not yet. This tool reads the text layer of a PDF, so a scanned page with no embedded text (a pure image) won't produce a match and will come back "unmatched." If most of your batch is scanned, run it through this site's OCR tool first, or type the new names manually for those files.