PDF Tool

Split PDF

Divide a PDF into multiple parts by page range, every N pages, or one page per file — entirely in your browser.

Advertisement
Advertisement
📋

About This Tool

Split PDF divides a single PDF into multiple files — by a fixed number of pages, custom ranges (e.g. 1-5, 6-10), or one page per file. Results download as individual PDFs or a ZIP archive.

🛠

How to Use

  1. Upload a PDF.
  2. Choose a split mode: Every N Pages, Custom Ranges, or Every Page.
  3. For Custom Ranges, enter comma-separated ranges (e.g. 1-3, 4-7, 8).
  4. Click Split.
  5. Download individual parts or a ZIP of all parts.
⚙️

Logic & Algorithm

Range parsing splits the input on commas, then parses each token with a regex: /^(\d+)(?:-(\d*))?$/. A trailing dash means "to last page". For each range, a new pdf-lib PDFDocument is created, the specified pages are copied with copyPages(), and each document is saved to a Uint8Array. Multiple outputs are bundled with JSZip.

Frequently Asked Questions

Does splitting a PDF upload my files anywhere?
No. Everything runs locally in your browser using pdf-lib. Your files are never sent to any server — they never leave your device.
Will the split PDFs have selectable text?
Yes. pdf-lib copies the original page content streams directly — text, fonts, vectors, links, and annotations are all preserved exactly as in the source PDF.
How do I use custom ranges?
Enter comma-separated ranges in the text box. For example: 1-5, 6-10, 11. A bare number extracts just that page. A trailing dash (like 8-) means from that page to the end of the document.
What do I get when splitting into multiple parts?
When the split produces more than one PDF, all files are packaged into a single ZIP archive. You can also click the download icon next to any individual part to download just that file.
Can I split a password-protected PDF?
No. Encrypted PDFs cannot be opened by this tool. Use the PDF Password Remover first, then come back here to split.