PDF Splitter

Extract specific pages from a PDF or split it into individual one-page files. Runs entirely in your browser.

How to Use

1

Upload the PDF file

Click 'Choose File' or drag your PDF into the tool. Page count and thumbnails are shown immediately.

2

Select splitting mode

Choose to extract specific pages/ranges or split every page into its own separate file.

3

Enter page numbers or ranges

Type pages like '1,3,5-8,12' to specify exactly which pages to extract into the output.

4

Download the split output

Get a single extracted PDF for range selections, or a ZIP of numbered PDFs for all-pages split.

PDF DOM Deconstruction: Object Pruning, Custom Range Syntax, and Sub-Document Extraction

Dividing a monolithic PDF document into targeted excerpts, single-page files, or custom chapter intervals is vital across litigation discovery, mortgage underwriting, corporate contract review, and academic thesis excerpting. Extracting pages cleanly requires deconstructing the PDF's internal tree hierarchy without leaving orphaned font dictionaries or broken cross-references.

Object Pruning: Eliminating Bloat and Dead References

When extracting pages from a 100-page document to create a 3-page excerpt, a naive copy would carry over all 100 pages worth of embedded fonts, unreferenced images, and metadata annotations, resulting in a 3-page PDF that is just as large as the original file.

The PDF Splitter executes reachability analysis and object pruning:

  1. Selects the designated target /Page nodes specified in your page range.
  2. Traces the dependency graph of only those resources (font subsets, XObject images, ExtGState color spaces) that are actively referenced by the selected pages' /Contents streams.
  3. Prunes all unreachable indirect objects from memory.
  4. Reconstructs a clean, minimal xref table, producing a lightweight, lightning-fast PDF output.

Comparison of PDF Splitting Paradigms

Splitting Mode Input Range Syntax Optimal Workflow Scenario
Custom Page Range Extraction 1-3, 5, 8-12 Extracting specific contract exhibits, patent disclosure claims, or book chapters into a single file.
Single-Page Burst Splitting All Pages (1 to N) Automating batch OCR workflows, Bates numbering indexing, or uploading individual invoices to accounting portals.
Odd / Even Page Separation 1, 3, 5... / 2, 4, 6... Re-ordering manual duplex scans from flatbed scanners lacking automated document feeders (ADF).

Zero-Upload Security for Legal Bates Numbering and HIPAA Records

Medical records, litigation discovery documents, and tax filings cannot legally be uploaded to unverified third-party cloud conversion servers under HIPAA and GDPR privacy regulations. Because our splitting engine executes 100% client-side via JavaScript, your confidential documents remain strictly protected on your machine.

Real-World Examples & Use Cases

Extracting Relevant Sections from Long Reports

Research reports, government publications, technical standards, and financial filings are often hundreds of pages long, but only specific sections are relevant to a particular task. An analyst who needs only the financial tables from a 200-page annual report extracts those 15 pages into a standalone PDF to send to a colleague. A lawyer reviewing a large contract extracts the specific clauses under dispute into a separate document for focused discussion. Splitting eliminates the need to scroll through irrelevant content and allows targeted sharing of only relevant sections.

Separating Multi-Page Scanned Document Batches

High-volume document scanners and multifunction printers scan multiple documents in one session, producing a single PDF containing many separate forms, invoices, or records. Administrative staff processing incoming mail, invoices, or application forms split these batch scans back into individual document PDFs for separate filing, indexing, and archiving. Document management workflows that require one file per record cannot use batch-scanned multi-document PDFs without splitting them into individual files first.

Removing Confidential Pages Before Sharing

A document may contain some pages that are suitable for external distribution and others that are confidential (financial appendices, internal commentary, preliminary data). Rather than sharing the complete document and hoping recipients ignore restricted pages, splitting allows the shareable pages to be extracted into a clean separate PDF. This is common for preparing redacted versions of contracts, proposals with removed pricing annexes, or research papers with removed supplementary data before external distribution.

Preparing Document Chunks for Processing Pipelines

OCR processing pipelines, machine learning document classification systems, and automated data extraction tools often perform better on smaller, focused documents than on large multi-hundred-page files. Breaking a large PDF into individual page files or chapter-sized chunks allows parallel processing. Legal discovery workflows process deposition transcripts, corporate records, and email archives page-by-page for automated privilege review. Organizations building document databases split large aggregate PDF exports into individual record files for indexing.

How It Works

PDF splitting with pdf-lib: Core splitting operation: 1. Load source PDF: const srcDoc = await PDFDocument.load(arrayBuffer); const totalPages = srcDoc.getPageCount(); 2. Extract specific pages: const newDoc = await PDFDocument.create(); const pageIndices = [0, 2, 4, 5, 6, 7, 11]; // 0-indexed const copiedPages = await newDoc.copyPages(srcDoc, pageIndices); copiedPages.forEach(p => newDoc.addPage(p)); 3. All-pages split: for (let i = 0; i < totalPages; i++) { const singleDoc = await PDFDocument.create(); const [page] = await singleDoc.copyPages(srcDoc, [i]); singleDoc.addPage(page); const bytes = await singleDoc.save(); // Add to ZIP: JSZip().file(`page-${i+1}.pdf`, bytes) } Page range parsing: '1,3,5-8,12' parses to: [1, 3, 5, 6, 7, 8, 12] (1-indexed UI input) → [0, 2, 4, 5, 6, 7, 11] (0-indexed for pdf-lib) ZIP packaging for multiple files: JSZip library: zip.generateAsync({ type: 'blob' }) Allows downloading all split pages as one archive

Frequently Asked Questions

Can I split a PDF into specific ranges, not just individual pages?▼
Yes. You can extract any combination of pages and ranges. Enter page numbers separated by commas and use hyphens for ranges: '1-5,8,10-15' extracts pages 1 through 5, page 8, and pages 10 through 15 into one PDF. The pages appear in the output in the order you specified. To split into multiple separate multi-page chunks, run the extraction process multiple times with different range inputs.
What happens to bookmarks and hyperlinks when splitting?▼
Internal PDF bookmarks (navigation tree) and hyperlinks that point to page numbers within the same document may break when pages are extracted to a separate PDF, since the referenced page numbers no longer exist in the new document. Hyperlinks to external URLs remain functional. Cross-document hyperlinks between PDFs will also break. If bookmark preservation is important, consider using Adobe Acrobat or a dedicated PDF editor that can remap bookmark targets after splitting.
Can I extract pages from a password-protected PDF?▼
No, not without first removing the password. PDFs encrypted with a user password require the password to open and access content. Use the PDF Password Remover tool first to create an unlocked copy if you have the correct password, then use the unlocked copy in the splitter. Owner-restricted PDFs (openable without a password but restricted from editing) may prevent pdf-lib from copying pages, depending on the restriction level.
Will splitting a PDF reduce the quality of the content?▼
No. Splitting is lossless — pdf-lib copies page streams including all embedded fonts, images, and graphics exactly as they appear in the source. Text sharpness, image resolution, and vector graphics quality are all preserved identically. The only changes are which pages are included in the output file; the content of each page is not re-encoded or recompressed.
Is there a maximum number of pages or file size I can split?▼
Browser-based PDF processing is limited by available RAM. A 100-page, 50 MB PDF is handled comfortably by most modern devices. Very large PDFs (500+ MB, thousands of pages) may cause browser tab crashes on devices with limited memory. For production document splitting workflows involving large or numerous files, command-line tools like pdftk or qpdf, or server-side PDF processing libraries, provide better performance and reliability.

Related Tools

Explore other tools in this category.

Looking for something else?