Split PDF
Operator: Abdulla Al Fahad. How tools are built and checked
There are four ways to cut a document here, and the right one depends on what you need at the end. Every page as a separate PDF gives you one file per page, which suits scanned forms that went through the scanner as a stack. A fixed number of pages per file cuts a long export into equal chunks, two pages by default. Custom page ranges, one file each turns a list such as 1-3, 4-7, 8 into three files, which is how you break a combined report back into its chapters. Extract a page range into one PDF collects just the pages you list into a single new document and leaves the rest behind.
The split runs as soon as you choose a file and again whenever you change a mode or a range, so you can try settings and watch the file list update. Results with more than one part are packed into a ZIP named after the source, such as report-pages.zip, with each part also downloadable on its own from the list; a single part is offered directly as a PDF.
Key features
- Four modes: one file per page, a fixed number of pages per file, one file per custom range, or one extracted file from a list of pages.
- Range syntax with single pages, spans and open ends (1-3, 5, 9-), with error messages that quote the offending token or the real page count.
- Parts are true copies: fonts, images, vector graphics and links are preserved and text remains selectable.
- Multi-part results arrive as a ZIP named after the source, with each part listed with its page count and its own Download button.
How the document is cut
Each part is a brand-new PDF document. The tool parses the source once, works out the groups of page numbers for the chosen mode, and for every group creates an empty document and copies those pages into it. Copying carries the page's content stream and everything it references, so fonts, images and links come along and the pages look identical to the originals. The part's title is set to the source document's title, or to the file name when there is none, and the file is saved with object streams.
Because fonts and shared resources are copied into every part that uses them, the parts together are larger than the source. Splitting a five-page test file of 4.2 KB into single pages produced five files of about 1.4 KB each, 7.0 KB in all, since each carries its own copy of the font dictionaries. Images are only copied into the parts whose pages show them.
Names follow the page numbers: a part with one page is called report-page-3.pdf and a part with several is report-pages-1-3.pdf, using the first and last page in the group. In extract mode the group can have gaps, so pages 2, 4 and 5 produce report-pages-2-5.pdf even though page 3 is not in it. Bookmarks and form definitions are document-level and are not copied into the parts.
How it works
The file's first kilobyte is checked for the %PDF header and its size against the 50MB limit; it is then opened by pdf-lib using an empty password so that restricted-but-openable documents load. The page count drives the grouping: each mode produces a list of page-number groups, mechanically for the first two modes and from your typed ranges for the other two. The range parser accepts whole numbers and n-m spans separated by commas, swaps reversed spans and rejects anything else with a sentence naming the token. It treats 'all' or an empty field as every page, except that the two range modes refuse an empty box before the parser sees it, with a prompt to type the ranges or pages.
For each group a new document is created and the pages are copied into it in ascending order; duplicates within a group are removed, so 2, 2-3 gives pages 2 and 3 once. Each part is named from the source stem and the group's first and last page. When there is more than one part, the parts are written into a ZIP with DEFLATE compression using JSZip; the result header shows the ZIP name and the number of files, and the summary counts pages in, pages out and files out.
Common use cases
- Breaking a scanned stack of signed consent forms, one page each, into individual PDFs for filing under each person's name.
- Pulling the three pages of a lease that a tenant needs to sign out of a 40-page agreement, without sending the whole contract.
- Cutting a 200-page export from a reporting system into 25-page chunks so each one stays under an email attachment limit.
- Lifting a single statement page out of a year-long bank PDF to send as proof of address.
How to use this tool
- Pick the mode under Split and, for the range modes, type the ranges (1-3, 4-7, 8) or set Pages per file; this can be done before or after the file is added.
- Add the PDF. The split runs immediately with the current settings, and the result list shows each part's name and page count.
- Adjust and re-run: every change recomputes the parts after a short pause, or press Enter in the range box to run at once; the preview shows the first page of the first part.
- Download ZIP fetches all the parts; with a single part the button reads Download .pdf, and each listed part also has its own Download button.
Example
Source and settings
annual-report.pdf — 12 pages
Split: Custom page ranges, one file each
Page ranges: 1-2, 3-9, 10-Result
annual-report-pages.zip (3 files)
annual-report-pages-1-2.pdf 2 pages
annual-report-pages-3-9.pdf 7 pages
annual-report-pages-10-12.pdf 3 pages
Summary: 12 pages in · 12 pages out · 3 files outTips for best results
- Type ranges with the syntax 1-3, 5, 9-; an open-ended 9- runs to the last page, so you do not need to know the page count for the final chapter.
- Part names are not zero-padded (report-page-2.pdf, report-page-10.pdf), so a plain alphabetical listing puts page 10 before page 2; sort the folder with natural ordering or by date instead.
- The preview shows the first page of the first part, so in ranges mode put the range you most want to check first.
- Ranges may overlap. 1-10, 5-15 produces two files that share pages 5 to 10, which is useful when a summary section also belongs in a full version.
Common pitfalls
Extract mode names the file by its first and last page, so report-pages-2-9.pdf may hold only pages 2, 5 and 9. Rename it if the name would mislead the recipient.
The parts add up to noticeably more than the original because each carries its own copy of the fonts it uses; a ZIP of single pages from a text-heavy document can be one and a half times the source size or more.
Bookmarks and form field definitions are not copied into the parts. An extracted form page shows its fields as drawings but may not be fillable.
Every change to the range box re-runs the split after a short pause. On a large file, type the full list and press Enter rather than watching it recalculate piece by piece.
Common errors and how to fix them
- Type the page ranges to split at, for example 1-3, 4-7, 8.
- Custom page ranges mode is selected but the Page ranges box is empty. Type at least one range; each comma-separated entry becomes a file.
- Type the pages to extract, for example 2, 5-7.
- Extract mode has nothing to extract. Enter the pages you want in the single output file, using commas between pages and ranges.
- This PDF has 12 pages, so page 13 does not exist.
- A range reaches past the end of the document. Use an open-ended range such as 10- to mean 'to the last page', or correct the number; the message always states the actual page count.
- Pages per file must be at least 1.
- The Pages per file box is empty or holds 0. Enter a whole number from 1 upwards; a decimal is rounded down.
Best practices
- Work from the page numbers your PDF reader shows, not from printed folio numbers, which often start after a cover and differ from the reader's count by one or more.
- Before cutting a scanned stack into one page per file, remove any blank backs with Delete PDF Pages first, so the parts line up with the forms.
- Check the page counts in the result list against your intention before downloading; they are the quickest sign of a range typed one page short.
Choosing between the two range modes
Custom page ranges, one file each and Extract a page range into one PDF accept the same syntax but produce opposite shapes. The first splits the box on commas before parsing, so every entry becomes its own document: 1-3, 4-7, 8 gives three files and 1, 2, 3 gives three single-page files. The second hands the whole box to the parser at once, which collects every page mentioned into one ascending, de-duplicated list and copies it into one document: 1-3, 4-7, 8 gives a single eight-page file, and 8, 1-3 gives pages 1, 2, 3 and 8 in that order.
That difference decides which mode fits a task. Chapters that will be filed or emailed separately want the first; a reading copy of selected pages wants the second. Extract cannot reorder pages, because the list is sorted, and ranges mode cannot put two disjoint spans in one file, because each range is its own part. If you need both, run Extract twice and combine the results with Merge PDF, which keeps the order you arrange the files in.
Frequently asked questions
Can I split a PDF into equal parts?
Choose A fixed number of pages per file and set Pages per file. The last part may be shorter: five pages split by two gives 1-2, 3-4 and a single page 5, named report-page-5.pdf.
Why is the ZIP larger than the original PDF?
Every part is a complete document with its own copy of the fonts and shared resources its pages use. The page content itself is not duplicated beyond the pages that need it, but the per-file overhead adds up when there are many small parts.
Can I split a password-protected PDF?
Not directly. A file that needs a password to open is turned away with the Unlock PDF message; unlock it there first. A file that opens without a password but blocks printing or copying splits normally, and the parts are saved without the restriction. A warning in the summary says that the result has no such restriction.