Split PDF by Text
Split a long PDF into separate files wherever a header/number changes (e.g. each Invoice #).
Split a PDF where page text changes — invoices by number, reports by header — free in your browser.
Calculator Inputs
About Split by Text
Split a long PDF into separate files wherever a header/number changes (e.g. each Invoice #).
Upload a PDF and enter the text that signals a new document — e.g. Invoice # or a regex like Invoice\s*#\s*\d+. Pages where that text appears start a new output file.
Text is extracted with pdf.js locally; your file never leaves the browser.
Where it is used
Invoices by number, statements by account, reports by department header, mail-merge batches.
How to use the Split by Text
- Select PDF — select a file (application/pdf,.pdf) — PDF up to 50 MB. Text is extracted locally, files never leave your browser..
- Text to watch (regex allowed) — enter the value (New file starts when this text appears. Regex like Invoice\s*#\s*\d+ works.).
- Treat as Regex — enter the value.
- Calculate — press the Calculate button to see the result instantly above.
Formula
Extract text per page → pages matching the pattern start a new chunk → save each chunk.
Examples
Example
pattern:Invoice
useRegex:plain
Result: Split files per Invoice header (after selecting a PDF)
Frequently Asked Questions
- Scanned PDFs?
- Text must be selectable. Scanned image-only pages have no extractable text — OCR first.