Organize PDF pages
Split a PDF into smaller files
Split a PDF into consecutive page groups, download the generated documents as a ZIP archive, and keep the original file unchanged in your browser.
Split summary
- Input
- Output
- ZIP of PDF parts
- Package
- OfficeIMO.Pdf
- Runs on
- Browser-local WebAssembly or .NET
- Microsoft Office
- Not required
- License
- MIT
The browser creates at most 100 parts and caps serialized split output at 64 MiB.
Browse all PDF workflowsPractical steps
Split a PDF into consecutive parts
Choose the maximum pages per part and package the resulting PDF files into one download.
- SelectChoose one PDF and confirm its page count.
- SizeEnter the number of consecutive pages to place in each output document.
- DownloadCreate the parts and download them together as a ZIP archive.
Splitting creates consecutive page groups: a 10-page source split at three pages produces ranges 1-3, 4-6, 7-9, and 10. The final part may contain fewer pages.
Split from .NET
using OfficeIMO.Pdf;
PdfDocument source = PdfDocument.Load("book.pdf");
int pageCount = source.Inspect().PageCount;
const int pagesPerPart = 10;
for (int first = 1, part = 1; first <= pageCount; first += pagesPerPart, part++) {
int last = Math.Min(pageCount, first + pagesPerPart - 1);
PdfPageSelector pages = PdfPageSelector.Parse($"{first}-{last}");
File.WriteAllBytes($"book.part-{part:000}.pdf", source.Pages.Extract(pages).ToBytes());
}
Application code decides how to name and store individual outputs. The browser packages them into ZIP because browsers handle one bounded download more predictably than a burst of separate files.
Boundaries
Splitting does not infer chapters, bookmarks, invoices, or logical document boundaries. Use extract pages when the required ranges are not consecutive fixed-size groups. Signed and encrypted sources also require deliberate policy because each output is a newly written document.