Practical guide

How to Split a PDF by Invoice Number

Splitting by invoice number sounds like the obvious answer: start a new file wherever the number changes. It works well on one supplier's PDF with a text layer. On a scanned stack from many suppliers, it needs help. Here's how to do it, and how to tell which case you have.

By the BillBjorn team Published December 2, 2026 6 min read

The short answer: you need a PDF with a text layer (run OCR on scans first) and a label that every invoice prints the same way, such as "Invoice No.". A "split by text" tool then starts a new file at each match. It works on one supplier's batch; on a mixed scanned stack, different labels, OCR errors and repeated headers make it unreliable, and an AI splitter that reads the whole page is the better fit.

How splitting by text works

A text-based splitter searches each page for a word or pattern. Every page where it finds one starts a new document. Pages without a match are added to the document before them. Some tools also name each file after the match, so you get INV-10427.pdf, INV-10428.pdf.

Splitting by invoice number needs three things: a text layer (OCR first if it's a scan), one label that every invoice uses, and continuation pages that don't repeat the label.
Miss any one of these and the split goes wrong without warning.

What it needs

  1. A text layer. Emailed PDFs from billing software have one. Scans don't, unless your scanner software ran OCR. Check your PDF in 10 seconds.
  2. One label for all invoices. "Invoice Number" on every invoice. A stack from 20 suppliers has "Invoice No.", "Tax Invoice", "Inv #", "Document", "Bill Number"...
  3. Continuation pages without the label, or a tool that only splits when the number changes.

Tools that split by text

Kind of toolExamplesNotes
Desktop splitters with "split by text"CoolUtils PDF Splitter Pro and similarPaid desktop apps; local, so nothing is uploaded
PDF automation APIsPDF.co "split by text", used with Make or ZapierGood for one supplier's recurring PDF
ScriptsPython with a PDF library and a regular expressionFlexible, needs someone who can code
Accounting-specific scriptsOpen-source Xero invoice splitters on GitHubBuilt for one system's PDF layout

Adobe Acrobat's own split tool splits by page count, file size or top-level bookmarks, not by text.

Where it breaks

ProblemWhat happens
The label repeats on page 2Invoice cut in two
A supplier uses a different labelTheir invoice is glued onto the one before
OCR misreads the label ("lnvoice N0.")Missed split, two invoices in one file
The label appears in the body ("as per invoice 10398")Extra split in the middle of a page sequence
Statements list invoice numbersA statement splits into many fake "invoices"

Each of these is silent: the tool reports success. You only find out when you open the files.

Splitting by number, not label

Better tools (and scripts) don't split at every label. They read the number after it and start a new document only when the number changes. That fixes the repeated-header problem, but not the others: different labels, OCR errors and statements still trip it up.

When to use something else

  • One supplier's monthly PDF with a text layer: split by text (or by number) is ideal, and file naming by invoice number is a bonus.
  • A scanned stack from many suppliers: use a splitter that looks at all the clues on a page together: invoice number, supplier, page numbering, totals. That's what SplitMyInvoice does, OCR included.
  • A handful of invoices: just split by page ranges. Split PDF invoices manually.

Different suppliers, different labels?

SplitMyInvoice reads every page and finds where each invoice ends, without a search term. Free, no signup.

Split a PDF free

Frequently asked questions

Common questions about splitting a PDF by invoice number.

  • Can Adobe Acrobat split a PDF by invoice number?

    Not directly. Acrobat's Organize Pages tool splits by number of pages, file size or top-level bookmarks. To split by text you need a tool with a 'split by text' option, a script, or an automation service.

  • Why does splitting by invoice number cut my invoices in half?

    Many invoices repeat the invoice number in the header of every page. A split that starts a new file at every match starts one at page 2 as well. You need a tool that compares the numbers and only splits when the number changes.

  • Do I need OCR to split a scanned PDF by invoice number?

    Yes. A scan without a text layer contains no text to search. Run OCR first, or use a splitter that reads the pages itself.

Keep reading

All guides in Splitting invoices