Extract Selected Pages

Save a specific selection of pages into a new standalone PDF document.

100% Client-Side • 100% Free

Drop a PDF file here, or browse

Select a PDF document to extract specific pages

Browse PDF

100% private in-browser page extraction. Your PDF never leaves your device.

In-Depth Technical Guide•8 min read•2RUN Engineering Team
100% Client-Side • Zero Upload

Extract PDF Pages Online: Save Selected Pages as a New PDF Document & PDF-Lib

⚡How to Extract Pages from a PDF in Your Browser

1

Upload Your Master PDF Document

Drag and drop your PDF into the upload area or click to select from your device. The editor parses the document and displays page thumbnails.

2

Select Pages to Extract

Click individual page thumbnail cards to select them, or enter page numbers and ranges (e.g. 1-3, 5, 8-12) into the range input field.

3

Preview Extracted Page Selection

Review the highlighted selection in the interactive gallery to confirm that all required chapters, exhibits, or contract pages are included.

4

Generate and Download Your New PDF

Click 'Extract Pages'. The engine compiles your selected pages into a fresh, standalone PDF document and delivers an instant download link.

In enterprise document workflows, you frequently need just a small fraction of a massive PDF document. A 200-page corporate annual report contains a 2-page executive summary you need for a presentation; a 50-page commercial lease contains a 3-page floor plan exhibit required by a contractor; or a scanned medical record contains a single lab report needed by an insurance adjuster. Sending the entire monolithic document wastes bandwidth, frustrates recipients, and exposes unrelated confidential information.

Our browser-native Extract PDF Pages tool allows you to isolate and save specific pages into a brand-new, standalone PDF document directly in your browser. Select pages visually using high-resolution thumbnails or enter custom page numbers and ranges (e.g. `1-3, 5, 8-12`). Featuring dependency graph traversal, lossless stream copying, and unreferenced resource pruning, our engine produces a clean, lightweight PDF document in seconds. Operating 100% locally in your browser via WebAssembly and PDF-Lib, your private legal contracts, financial audits, and medical records remain completely confidential with zero server uploads.

Read the full technical guide

The Architecture of Page Extraction: Isolating Sub-Graphs

Extracting pages from a PDF is conceptually the inverse of page deletion, but technically far more intricate. In the ISO 32000 PDF standard, pages are indirect objects that point to external shared resources: fonts (`/Font`), raster images (`/XObject`), extended graphics states (`/ExtGState`), and content streams (`/Contents`).

To extract a pristine 3-page excerpt from a 200-page master file, an engine cannot simply copy the page dictionary objects; it must traverse the document's dependency graph. It traces every resource pointer, copies only the required fonts and images into a newly initialized PDF container, remaps object IDs, and constructs a fresh Document Catalog. If performed naively, the extracted file either lacks fonts (causing text to disappear) or carries the entire 100MB object tree of the original document. Our engine executes clean, isolated sub-graph extraction.

Extracting Non-Consecutive Pages & Complex Ranges

Real-world extraction tasks rarely involve simple sequential blocks. In legal and business practice, you often need to bundle disparate, non-consecutive pages: the cover page, executive summary, fee schedule, and signature block.

Our tool supports flexible extraction syntax: • Non-Consecutive Selections: Enter `1, 4, 7, 12` to pluck specific individual pages. • Hybrid Range Combinations: Enter `1-3, 8, 15-20` to extract both sequential chapters and standalone appendix pages. • Visual Grid Toggle: Click individual thumbnail cards in the gallery to toggle extraction on or off, with real-time visual badges highlighting selected pages.

Drastic File Size Reductions: Pruning 90%+ of Document Weight

When extracting pages from heavy scanned documents or graphics-heavy marketing brochures, the extracted document should be dramatically lighter than the original file.

Our engine achieves massive byte savings by stripping unreferenced assets. If pages 1 through 10 of a 100-page document are extracted, all high-resolution images, font tables, and vector drawings belonging to pages 11 through 100 are completely omitted from the new file. A 60MB master PDF routinely yields an extracted 3-page document weighing under 500KB, perfect for friction-free email delivery and mobile viewing.

Preserving Vector Text Sharpness, Form Fields & Hyperlinks

A major failure of crude online PDF extractors is that they render extracted pages into bitmap images, permanently destroying selectable text and interactive features.

Our tool performs 100% lossless vector extraction. TrueType font subsets, selectable text strings, vector lines, high-resolution embedded images, and clickable web hyperlinks are preserved with complete mathematical precision. Recipients can highlight text, copy paragraphs, and search keywords with `Ctrl+F` exactly as in the original master document.

Preserving Individual Page Rotations and Boundary Boxes

Documents frequently contain mixed page geometries: portrait text pages combined with landscape architectural drawings, financial spreadsheets, or legal exhibits. Each page maintains its own boundary boxes (`/MediaBox`, `/CropBox`) and rotation settings (`/Rotate`).

Our extraction pipeline mirrors these attributes with absolute fidelity. Extracted landscape pages remain landscape; portrait pages remain portrait. When opened in any standard viewer (such as Adobe Acrobat or Apple Preview), pages display with their intended visual orientation and margins.

Institutional Use Cases: Legal Exhibits, Loan Applications & Medical Records

Isolating pages is an essential daily requirement across regulated professional sectors: • Legal Practice: Attorneys extract specific contract clauses, patent claims, or deposition excerpts to attach as formal exhibits in court motions. • Banking & Mortgages: Loan officers extract signed borrower disclosure pages and tax schedules from multi-hundred-page closing packages. • Medical Clinics: Healthcare administrators extract specific pathology reports or surgical summaries from voluminous patient charts for specialist referrals.

100% Client-Side In-Browser Security for Privileged Files

Extracting pages frequently involves the most sensitive sections of proprietary documents: executive signature blocks, confidential financial terms, and patient medical diagnoses. Uploading these documents to remote cloud PDF extraction platforms exposes confidential intelligence to third-party data logging.

Our Extract PDF Pages tool operates 100% locally inside your web browser. Built on client-side WebAssembly and PDF-Lib, all binary parsing, dependency graph resolution, and document compilation execute strictly within your physical device's RAM. No pages or text ever leave your computer, guaranteeing complete privacy and full compliance with GDPR, HIPAA, and enterprise confidentiality policies.

💡Professional Best Practices for Page Extraction

  • •Combine ranges and commas: Extract both sequential chapters and standalone pages easily using syntax like `1-4, 8, 12-15`.
  • •Dramatically smaller file size: Extracting only the pages you need eliminates unreferenced fonts and images, creating lightweight files for email.
  • •Lossless quality preservation: Extracted pages retain 100% of their native vector text sharpness, font subsets, and image resolutions.
  • •Extract signature pages: Quickly isolate signed signature pages from 100-page corporate agreements for closing binders and archive checklists.
  • •Preserve searchable text: Selectable text and copy-paste capabilities remain fully functional, allowing keyword searches with Ctrl+F.
  • •Check landscape exhibits: Our tool preserves `/Rotate` flags, ensuring landscape spreadsheets and architectural drawings open correctly.
  • •Total client-side privacy: Rest easy knowing your confidential legal contracts and patient charts are processed 100% locally on your computer.

🛡️Technical Specifications & Dependency Graph Extraction

The browser-native page extraction engine implements an advanced ISO 32000 sub-graph compilation pipeline: 1. Binary Parsing & Page Mapping: The source PDF is parsed from an in-memory `ArrayBuffer`. PDF-Lib resolves the cross-reference table and maps the root `/Pages` tree to a 0-indexed page array `[0 ... N-1]`. 2. Range Parsing & Validation: User inputs (e.g. `'1-3, 5'`) are parsed into an array of 0-based page indices `[0, 1, 2, 4]`. Deduplication and bounds checks prevent duplicate pages or out-of-range errors. 3. New Document Initialization & Graph Copying: A fresh `PDFDocument` instance is initialized. The engine executes `copyPages(sourceDoc, pageIndices)`. The algorithm performs depth-first dependency traversal, copying only the indirect objects reachable from the target pages (Content Streams, Font Descriptors, XObject Images, and Annotations), renumbering object IDs sequentially. 4. Catalog & Page Tree Synthesis: Copied pages are appended to the destination document's `/Pages` tree. The `/Kids` array is populated, and `/Count` is set to the extracted total. 5. Binary Serialization: The destination document is serialized via `save()`. The engine writes updated object offsets to a newly constructed cross-reference table, exporting an ISO-compliant binary Blob in milliseconds.

Stack: WebAssembly • Multi-threaded Web Workers • HTML5 Canvas API

Privacy: Files never leave your device or touch a cloud buffer; analytics run only with your consent.

Why choose client-side browser tools?

When you compress an image or merge a PDF on 2run tools, the code executes inside your browser tab using WebAssembly and Web Workers. We never stream your bytes to a remote cloud server. Your private financial reports, personal photos, and legal agreements never leave your device.

Total PrivacyIn-Browser
Instant ProcessingFast RAM
Truly UnlimitedZero Limits

Frequently Asked Questions

What is the difference between splitting a PDF and extracting pages?▾

Splitting typically refers to dividing an entire document into multiple separate files (such as bursting into single pages). Extracting pages isolates specific selected pages or ranges (e.g. pages 3 through 7) and saves them into a single brand-new PDF.

Will extracting pages make the file size smaller?▾

Yes! Our engine discards unreferenced images, fonts, and content streams from the omitted pages, resulting in a significantly smaller, lightweight PDF document.

Can I extract non-consecutive pages into a single document?▾

Yes! You can enter comma-separated numbers and ranges (e.g. `1, 4, 7-10`) or click individual thumbnails to combine non-consecutive pages into a new PDF.

Will extracted pages still have selectable text and links?▾

Yes! Our tool performs lossless vector copying. Selectable text, TrueType fonts, active hyperlinks, and embedded images retain 100% of their original quality and searchability.

Can I extract pages on an iPhone, iPad, or Android phone?▾

Yes! Our tool is fully mobile-responsive and executes locally inside mobile Safari and Chrome on iOS and Android devices.

Will extracting pages modify my original file?▾

No. Our tool creates an entirely new PDF file containing your selected pages. Your original master file on your computer remains completely untouched.

Are my confidential files uploaded to any external server?▾

Never. All PDF parsing, dependency copying, and document generation occur 100% locally in your web browser. Your private documents never leave your physical device.

Sites Loading Under 0.8s
100/100 Lighthouse web engineering
Audit
Dev Arm for Design Agencies
White-label • Bilateral NDA
Partner
Technical SEO by Code
Deep Schema • Zero waste
Scale SEO
Custom Web Apps & SaaS
100% code ownership • Edge scale
Build
Turn Traffic into Sales
+34% sales lift • Fix bottlenecks
Audit