Skip to content
DoYourPDF

Split by Text

Start a new file wherever a word or phrase appears.

PDF

Processed on this device. Nothing is uploaded.

How to use Split by Text

  1. 1Choose a PDF that holds several documents, such as a batch of invoices. For a scan, run OCR: Searchable PDF first.
  2. 2Type the word or phrase that begins each document, for example “Invoice No”.
  3. 3Press “Split by text”, then save the parts one by one or all together as a ZIP.

About this tool

Great for batches of invoices or statements in one PDF. Every page containing the text starts a new file. Scanned files need OCR first.

Your files stay on this device. DoYourPDF opens and processes them inside your browser. The counter in the top bar shows how many bytes of your files this page has sent to any server: it should read 0 B. How this works

Related tools

Questions about Split by Text

Where does each new file start?

At every page, after the first, that contains your word or phrase. Page 1 always starts the first file, and pages without the phrase stay with the file before them. So a PDF of ten invoices, with “Invoice No” only on the first page of each, becomes ten files.

Does the phrase have to match exactly?

No. Capital and small letters count as the same unless you switch on “Match case”, and each space in your phrase matches any spacing or none, so “Invoice No” also finds “InvoiceNo”. Spelling and punctuation must match.

What is “Treat as a regular expression” for?

For text that changes on every page, such as an invoice number. Switch it on and type a pattern instead of a phrase: for example INV\d+ matches INV followed by any digits, such as INV0042. Leave it off for an ordinary word or phrase.

Why does it say the text doesn't appear?

Because it isn't found on any page after the first. Check the spelling, and switch off “Match case” if it is on. A scan has no text to search: run it through OCR: Searchable PDF first, then split the searchable copy.

What are the files called?

After the original with a number: report-part-1.pdf, report-part-2.pdf and so on, in page order. You can save them one by one or all together as a ZIP. Each part keeps the bookmarks, links and form fields of its own pages; a link to a page in another part is dropped.

Is DoYourPDF really free?

Yes. Every tool costs nothing: no account, no page caps, and nothing stamped on your files.

Are my files uploaded?

No. Files are opened and processed by your own browser. They never reach a server. Apart from an anonymous visit count, the only things that use the network are optional: AI answers (if this site enables them) send the question plus relevant passages of text, never the file; P2P Share and the whiteboard connect two browsers over an encrypted connection.