Split a PDF Wherever a Word or Phrase Appears
or drop files here
Made for long exports that bundle many documents together: invoices, statements, payslips, letters. Type the text that marks where each one starts or ends, check the list of files, and save them as numbered PDFs.
Find the boundary, cut there.
Add the combined PDF
As soon as the file opens, the text on every page is read once and kept in memory, so each search afterwards works from that copy.
Type the marker text
Enter something printed once per document, such as "Invoice No" or "Employee ID". Matching pages and the files they produce are listed while you type.
Save numbered parts
Decide whether a match opens or closes a file, choose how files are named, and save one ZIP with every part inside.
One long export, many separate documents.
Plenty of software can only print a batch as a single PDF. If every document in that batch carries the same label, that label is all you need to pull them apart.
Invoice and statement runs
Billing platforms and banks often export a month of invoices or account statements as a single file. Split at "Invoice No" or "Statement period" and each customer or account gets a file of its own.
Payslips for each employee
A payroll run printed to one PDF can be split at "Employee ID", with every file named after that line, so each person receives only their own payslip.
Mail-merge letters
A merge from Word or a CRM tends to land as one document holding hundreds of letters. Split at a line every letter has exactly once, such as "Our reference", to get one PDF per recipient.
Exam scripts per student
When every script begins with a printed cover sheet showing a candidate number, split at "Candidate number" to give each student a separate file for marking, moderation or return.
Delivery notes and packing slips
Warehouse systems print a whole day of delivery notes in one go. Split at "Delivery note" or "Order number" and attach each one to the right order or customer record.
Batch scans after OCR
Scanned a whole stack in one pass? Run OCR PDF on it first, then split at a heading that opens each document, such as a form title or "Purchase Order".
Worked example: a 300-page invoice batch.
A billing system exports March as billing-export-march.pdf: 300 pages, opening with a 2-page summary and followed by 120 invoices of between one and five pages each. The first page of every invoice has a header line such as "Invoice No 4352", while later pages show only "Continued" and a page number.
1. Search.Type Invoice No and leave Whole words only switched on. The card under the box reads "Found on 120 pages, 121 files": the 120 invoices plus the summary at the front.
2. Cut.Keep "New file starts at the match", since the phrase sits on each invoice's opening page. Every matching page begins a new file, and that file runs until the page before the next match.
3. Name.Leave "Name files after the matching line" on. Each file takes the whole line the phrase was found on, so the invoice number travels with it. The summary pages contain no match, so their file is named after the page range instead.
4. Save. One ZIP, billing-export-march-split.zip, holds all 121 PDFs. Before sending anything to customers, open two or three of them and compare the totals against the summary.
Inside billing-export-march-split.zip
Phrase: Invoice No. Cut: new file starts at the match. Names: from the matching line.
| File | Original pages |
|---|---|
| 01 billing-export-march (pages 1-2).pdf | 1 to 2 |
| 02 Invoice No 4352.pdf | 3 to 4 |
| 03 Invoice No 4353.pdf | 5 |
| 04 Invoice No 4354.pdf | 6 to 10 |
| 116 more invoices, 05 to 120 | 11 to 297 |
| 121 Invoice No 4471.pdf | 298 to 300 |
If the header line also carries a date, for example "Invoice No 4352 Date 03/02/2026", the whole line becomes the name and its slashes turn into spaces, because file names cannot contain them. Names longer than 80 characters are shortened.
Reading the preview before you save
The file count is the quickest sanity check: it should equal the number of documents you expect, plus one if there are cover pages. Matching works on single lines of text, a page counts once however many times the phrase appears on it, and the first matching line on the page is the one used for the name.
| What you see | Likely cause | What to change |
|---|---|---|
| Nearly as many files as pages | The phrase is printed on every page, usually in a running header that repeats the invoice number. | Choose text that appears once per invoice, such as "Bill to", or a last-page phrase like "Total due" with "File ends at the match". |
| Fewer matches than invoices | On some pages the label wraps onto two lines, is worded differently ("Invoice #"), or sits on a scanned image. | Search for a shorter piece of the label, turn off whole words, or run OCR on the scanned pages first. |
| Not found on any page | A typo, different wording, or a label that is part of a logo or letterhead image rather than text. | Copy the exact wording from the PDF, or try a single distinctive word from the header. |
| The summary joined the first invoice | With "File ends at the match", every page before the first closing match goes into file 01. | Use a phrase from the first page instead, or take the summary off beforehand with Split PDF. |
| Many files ending in (2), (3) | The matching line has nothing unique on it, for example a heading that only reads "INVOICE". | Search for the line that carries the number, or switch off naming files after the matching line. |
Questions answered.
Why does it say my PDF has no selectable text?
Should a match start a new file or end one?
Can I use wildcards or several phrases at once?
Can it find a phrase that wraps onto a second line?
What does "Whole words only" change?
How are the files named?
Is there a limit on pages or files?
Will the split files look different from the original?
Is it safe for payroll and bank documents?
More tools you might need.
Related Guides & Tutorials
How to Repair and Recover Corrupted PDF Files That Won't Open (Recovery Guide)
Why PDFs get damaged, how to tell whether a broken file can be saved, and how to rebuild a missing cross-reference table or end marker to get the pages back.
How to Convert CMYK PDF to sRGB for Web and Social Media Sharing (True Color Guide)
Why a print-ready CMYK PDF looks off on screens and social media, and how to convert it to sRGB in InDesign, Illustrator, Acrobat Pro or Ghostscript, or export the pages as images.
Why Is My Printer Printing PDF Pages in Landscape Instead of Portrait? (Orientation Fix)
Why portrait PDF pages print sideways: automatic orientation, a landscape driver default, two pages per sheet, or a rotated page in the file. Fixes for Acrobat, Chrome, Preview and Windows.


