PDF Batch Rename by Content
Rename many PDFs from what is written inside them, such as invoice number, date, total, order or account number, using a pattern; preview every name and download a ZIP.
S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho
…
Com es fa
- 1Load the PDFs
Drop all the files you want to rename.
- 2Write the pattern
Use fields such as '{date}', '{invoice}' and '{total}', or pick a preset.
- 3Add a custom rule
Optional regular expression for '{custom}'.
- 4Choose how much to read
First page, two pages or all pages, and the date style.
- 5Build the names
Press the button and check the preview table.
- 6Download
Save the ZIP of renamed files.
Sobre aquesta eina
Downloads called invoice (14).pdf, Statement.pdf and scan0042.pdf are impossible to find a month later. Renaming them by hand means opening each one, finding the number and the date, and typing. This tool reads the text of every PDF and builds the new name from a pattern such as '{date}'_'{invoice}'_'{total}'. It recognises invoice and order numbers, dates in common formats, totals and amounts due, account numbers and e-mail addresses, plus a custom pattern of your own. Dates can be converted to the year-month-day form so files sort in date order. The preview table shows the old name, the new name and what was found in each file before you download the renamed copies as a ZIP.
The pattern
Write the name you want with fields in curly brackets: - '{invoice}' the invoice or bill number, - '{date}' the first date found, - '{total}' the total, amount due or balance due, - '{order}' an order or purchase order number, - '{account}' an account number, - '{email}' the first e-mail address, - '{first}' the first line of text, often the company name, - '{custom}' the first group of your own regular expression, - '{original}' the old file name and '{n}' a running number.
Characters that are not allowed in file names are replaced, and separators are tidied so a missing field does not leave double underscores.
Dates that sort
Dates written 12/03/2026 or 3 March 2026 sort badly as file names. With the default setting they become 2026-03-12, the ISO 8601 order, so a folder sorted by name is also sorted by date. Dates written with a slash are read day first; choose Keep as written if your documents use US month-first dates.
Custom patterns
For a field the built-in rules do not know, write a regular expression with one group, such as Customer:\s*(.+) or Policy\s*No\.?\s*(\w+), and use '{custom}' in the name.
How much text is read
Reading only the first page is fastest and usually enough for invoices. Statements may have the account number on page two; choose two pages or all pages if needed.
Limits
The tool reads the text layer. Scanned PDFs without OCR have no text, so they keep a name based on '{original}'; the note column flags them. Unusual layouts can put a different number first, so always check the preview table. The renamed files are copies with new names; the contents are not changed and nothing is uploaded.
Exemple resolt
40 supplier invoices named like download (7).pdf are loaded. With '{date}'_'{invoice}'_'{total}' the table shows names such as 2026-03-12_INV-2041_1,250.00.pdf; 2 scanned files are flagged "no text" and keep their old names in the ZIP.
En resum
- Categoria: Organitza PDF
- S'executa al navegador, sense registre, sense pujar res.
- La informació que introdueixes es queda al dispositiu.
- Disponible en anglès.
- Contingut revisat per última vegada:
- Font oficial: ISO 8601 date format (YYYY-MM-DD) for names that sort correctly
Preguntes freqüents
Does it change the PDFs themselves?
No. The ZIP holds identical copies of your files with new names.
Which date formats are recognised?
2026-03-12, 12/03/2026, 12.03.26 and 12 March 2026 style dates. Slash dates are read day first.
What if a field is not found?
It is left out of the name and the separators are tidied. If nothing is found, the original name is used.
Can I rename scanned invoices?
Only after OCR, because scans have no text to read. Run OCR, then rename.
Can I add my own field?
Yes. Write a regular expression with one group in the custom box and use '{custom}' in the pattern.
How many files can I rename at once?
There is no fixed limit; hundreds of normal PDFs work well in a modern browser.
