Split a PDF file
Split one PDF into parts by ranges using the same local uk-pdf operation.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Pick a PDF — it is read and processed locally in your browser and never uploaded.
Loading the PDF module…
Pick a file first.
Result
These are the real numbers from this run — copy them straight out.
Pick a file and set the options; the result shows up here.
What this tool does
- Break a long document into chapter-sized files.
- Send only the pages someone needs.
- Split first, then edit each part separately.
Example
Input
One six-page PDF (the real sample file from the spec)
Output
Parts: 2 Source pages: 3 Output bytes: 1027 Output: 2 files packed into one zip
Page numbers are 1-based; every segment produces its own PDF and the output joins their base64 with newlines.
Frequently asked questions
How do I write page ranges?
Use 1-3 for a range and 3 for a single page; each comma-separated segment becomes one PDF, and semicolons or newlines also separate segments.
What about out-of-range pages?
It fails with invalid-input instead of emitting an empty document; 9-20 on a six-page file is rejected.
Is the content re-compressed?
No. Only the page tree and object table are rebuilt; content streams are copied as they are.
Can encrypted PDFs be split?
No. Encryption is detected and reported as encrypted; decrypt the file first.
Keywords:pdf_chaifenswasm