Rename PDF from Text
Rename a PDF automatically from invoice numbers, titles or other text on page one.
Rename a PDF from its own text — extract invoice numbers, titles or first-line text into the download name, free in your browser.
Calculator Inputs
About Rename PDF
Rename a PDF automatically from invoice numbers, titles or other text on page one.
Upload a PDF. A regex with a capture group like Invoice #\s*(\d+) extracts that value as the filename; leave the pattern blank to use the first line of text. An optional prefix is prepended. Your file never leaves the browser.
Where it is used
Invoices by number, contracts by client name, reports by title — batch-friendly naming without retyping.
How to use the Rename PDF
- Select PDF — select a file (application/pdf,.pdf) — PDF up to 50 MB. Text is extracted locally, files never leave your browser..
- Extract Pattern (optional regex) — enter the value (Regex with one capture group, e.g. Invoice #\s*(\d+). Leave blank to use the first line of text.).
- Filename Prefix (optional) — enter the value (e.g. Invoice-).
- Calculate — press the Calculate button to see the result instantly above.
Formula
Extract page-1 text → regex capture (or first 8 words) → sanitize → .pdf download name.
Examples
Example
pattern:Invoice #\s*(\d+)
prefix:Invoice-
Result: Renamed PDF as Invoice-12345.pdf (after selecting a PDF)
Frequently Asked Questions
- Scanned PDFs?
- Image-only pages have no extractable text — run OCR first, then rename.