PDF Split by Text

Split a PDF at every page where a word or pattern appears, for example each new invoice, payslip or statement, and name the parts from the matched text.

Draait in je browser. Je bestanden verlaten je apparaat nooit. Zie hoe je dit controleert

…

Zo doe je het

  1. 1
    Open the PDF

    Load the combined file of invoices, statements or payslips.

  2. 2
    Type the split text

    A word, phrase or regular expression, or pick a preset.

  3. 3
    Set where to look

    Top lines only, or the whole page, and case matching.

  4. 4
    Handle the start

    Decide what to do with pages before the first match.

  5. 5
    Name the parts

    Write the pattern with '{n}', '{match}' and '{original}'.

  6. 6
    Download

    Check the split table and save the ZIP.

Over deze tool

Accounting systems, payroll software and banks often produce one long PDF containing hundreds of separate documents: an invoice run, a month of payslips, statements for every customer. Splitting by a fixed number of pages fails as soon as one document runs to two pages. Split by text looks for the words that start each document instead, such as "Invoice No." or "Statement for account", and starts a new part on every page where they appear. With a regular expression, the matched number becomes the file name: Invoice-INV-2041.pdf rather than part-17.pdf. The split table shows every part with its pages and name before you download the ZIP.

Finding the split points

Type a word, a phrase or a regular expression. By default only the top lines of each page are searched, because the start of a document usually has its title or number at the top, and the same words may appear in a footer or a total further down. Change the number of top lines, or search the whole page, if your layout needs it.

Naming parts

The name pattern uses '{n}' for the part number, '{match}' for the matched text and '{original}' for the file name. With a regular expression the first group in brackets becomes '{match}'. For example Invoice\s*No\.?\s*(\S+) names each part after the invoice number.

Pages before the first match

A cover page or summary often comes before the first document. Keep it as its own part, add it to the first part, or drop it.

Presets

- Each invoice, using the invoice number as the name. - Each statement, using the account number. - Chapters, splitting at every page that starts with Chapter.

Checking the result

The table lists each part with its page range, the matched text and the file name. If parts look wrong, the most common fix is limiting the search to the top lines or tightening the pattern so it only matches the heading.

Limits

The PDF needs a text layer. Scanned batches must go through OCR first, and OCR mistakes in numbers will appear in file names, so check them. A document whose heading is an image cannot be detected. The split copies pages exactly, without changing them, and runs entirely in your browser.

Uitgewerkt voorbeeld

A 212-page monthly invoice run holds 87 invoices of one to four pages. With the preset "Each invoice", 87 split points are found at the top of pages, and the ZIP contains 87 files from Invoice-INV-3001.pdf to Invoice-INV-3087.pdf.

In het kort

Veelgestelde vragen

What if a document is several pages long?

A part runs from one match to the page before the next match, so multi-page documents stay together.

Why search only near the top?

Headings and numbers usually sit at the top, while the same words may appear lower down in totals or footers, which would cause false splits.

Can I name the files after the invoice number?

Yes. Use a regular expression with the number in brackets and put '{match}' in the name pattern.

Does it work on scanned PDFs?

Only after OCR, because the tool needs text to search.

What happens to a cover page before the first invoice?

You choose: keep it as its own part, join it to the first part or drop it.

Is there a page limit?

No fixed limit. Very long files take a little longer because every page's text is read.

Helemaal gratisGeen kosten, geen registratie
Bestanden blijven privéAlles draait in je browser
Makkelijk in je eigen taalBeschikbaar in veel talen