Split PDF – Frequently Asked Questions

Everything you need to know about extracting and splitting PDF pages online with PDF Lab's free tool

← Go to Split PDF Tool

The Split PDF tool is a free online service that allows you to extract specific pages from a single PDF document and create a new PDF containing only those pages.

Key Features:

  • Page Selection: Click to select/deselect individual pages via thumbnail previews
  • Visual Thumbnails: See preview images of every page before selecting
  • Drag-and-Drop Reordering: Rearrange selected pages into any order
  • Select All Button: Quickly select or deselect all pages with one click
  • Non-Consecutive Extraction: Extract any combination of pages (e.g., pages 1, 5, 7, 12)
  • Quality Preservation: Original formatting and quality remain intact

Technical Implementation: The tool uses FPDI (Freelance PDF Importer) to extract pages from the source PDF. PDF.js renders page thumbnails in the browser for visual selection. Selected page numbers are sent to the server where FPDI imports only those pages using importPage(), creating a new PDF with just the extracted content.

Page selection is intuitive and visual with thumbnail previews.

How to Select Pages:

  1. Upload: Upload your PDF file using the file picker
  2. View Thumbnails: The tool displays thumbnail previews of all pages
  3. Click to Select: Click any page thumbnail to select it
    • Selected pages show a visual highlight (border, checkmark, or overlay)
  4. Click Again to Deselect: Click a selected page to remove it from selection
  5. Select Multiple: Click as many pages as you want – they don't need to be consecutive
  6. Use Select All: Click the "Select All" button to select every page at once

Visual Feedback:

  • Selected pages typically show a colored border or checkmark icon
  • Page numbers are displayed on each thumbnail
  • The total number of selected pages is shown in the interface

Yes! The Split PDF tool includes drag-and-drop reordering functionality.

How to Reorder Pages:

  1. After selecting your pages, they appear in a separate "Selected Pages" area
  2. Click and hold on any selected page thumbnail
  3. Drag the thumbnail to a new position
  4. Drop it in place – other thumbnails automatically adjust
  5. Repeat for any pages you want to reposition
  6. The final split PDF will have pages in the exact order you arrange them

Reordering Features:

  • Visual Feedback: Ghost image appears while dragging
  • Smooth Animation: Other thumbnails slide into place as you drag
  • Touch Support: Works with touch gestures on mobile devices
  • Client-Side Only: Reordering happens in the browser before server processing

This is particularly useful when you want to extract pages 10, 5, 1 (in that order) or create a custom arrangement of extracted pages.

The "Select All" button is a convenient feature for quickly selecting every page in your PDF.

How Select All Works:

  • One-Click Selection: Clicking "Select All" immediately selects all pages in the document
  • Toggle Function: If all pages are already selected, clicking "Select All" deselects all pages
  • Time Saver: Especially useful for PDFs with many pages (20+)

Common Use Cases:

  1. Reorder All Pages:
    • Click "Select All" to select every page
    • Drag-and-drop to rearrange into a new order
    • Create a reordered copy of the entire PDF
  2. Extract All Except a Few:
    • Click "Select All" to select all pages
    • Click on specific pages you don't want to deselect them
    • Faster than selecting 95 out of 100 pages manually
  3. Quick Deselection:
    • If you've selected many pages and want to start over
    • Click "Select All" twice to clear all selections

Absolutely! You can extract any combination of pages regardless of their position in the original PDF.

Examples of Non-Consecutive Extraction:

  • Specific Pages: Extract pages 1, 5, 7, and 15 from a 20-page PDF
  • Odd Pages Only: Select pages 1, 3, 5, 7, 9, etc.
  • Even Pages Only: Select pages 2, 4, 6, 8, 10, etc.
  • Custom Selection: Any pattern or random selection you need

How It Works:

  • Each page has an independent selection state (selected or not selected)
  • JavaScript tracks which pages are selected in an array
  • When you click "Split PDF," only the selected page numbers are sent to the server
  • FPDI imports only those specific pages from the source PDF
  • Pages are added to the new PDF in the order you arranged them

Use Cases:

  • Extract only the relevant sections from a long report
  • Remove confidential pages before sharing
  • Create a summary document with key pages only
  • Split duplex-scanned documents into separate single-sided pages

Yes, 100%! The Split PDF tool preserves all original content and quality.

What's Preserved:

  • Vector Graphics: All vector content remains resolution-independent
  • Fonts: Embedded fonts are imported and remain embedded
  • Images: Photos maintain original resolution and compression
  • Colors: Color profiles and color spaces are preserved
  • Page Dimensions: Each page keeps its original size
  • Hyperlinks: Links remain functional in extracted pages
  • Form Fields: Interactive form fields are preserved
  • Annotations: Comments and markups remain intact

Technical Details:

  • Vector-Level Import: FPDI uses setSourceFile() and importPage() to import pages at the vector level
  • No Re-rendering: Original page content is directly embedded, not re-rendered
  • Template Usage: Imported pages are used as templates with useTemplate()
  • No Compression: No additional compression is applied during extraction

The extracted pages are pixel-perfect copies of the originals.

Your original PDF remains completely unchanged.

What Happens to Your Files:

  • Original PDF:
    • Uploaded to the server's /tmp folder for processing
    • Read-only access – never modified
    • Automatically deleted after processing completes
    • Not stored permanently on the server
  • Split PDF:
    • Created as a new file: split_[timestamp].pdf
    • Contains only your selected pages in the order you specified
    • Automatically downloaded to your device
    • Also deleted from server after download

File Privacy:

  • We do not modify your original documents
  • We do not permanently store any files
  • We do not access or analyze file contents
  • All processing is temporary and session-isolated

If you want to keep your original PDF, simply don't delete it from your device after uploading. The split operation creates a separate new file.

No, password-protected PDFs cannot be split directly.

Why Not?

  • Security Measure: Password protection prevents unauthorized modification and extraction
  • FPDI Limitation: The FPDI library cannot import pages from encrypted PDFs
  • Authorization Required: You must prove ownership by providing the password

How to Split Protected PDFs:

  1. Use our Unlock PDF tool first
  2. Enter the password to remove protection from the PDF
  3. Download the unlocked PDF
  4. Upload the unlocked file to the Split PDF tool
  5. Select and extract pages as normal

Alternative Methods:

  • Use Adobe Acrobat to save an unprotected copy (if you have the password)
  • Use desktop PDF software that supports password entry during split operations

You can extract any number of pages from your PDF – there are no restrictions.

Extraction Possibilities:

  • Single Page: Extract just 1 page from a 100-page document
  • Multiple Pages: Extract 2, 5, 10, 50, or any number of pages
  • All Pages: Use "Select All" to extract every page (useful for reordering)
  • All Except One: Select all, then deselect specific pages to exclude

No Limits:

  • Minimum: Extract as few as 1 page
  • Maximum: Extract up to all pages in the document
  • Document Size: Works with PDFs of any size (1 page to 1000+ pages)

Performance Notes:

  • Extracting fewer pages processes faster
  • Extracting all pages from a very large PDF may take longer
  • For extremely large PDFs (500+ pages), consider extracting in batches

Yes! The Split PDF tool is fully responsive and mobile-friendly.

Mobile Features:

  • Touch Selection: Tap page thumbnails to select/deselect
  • Touch Reordering: Tap, hold, and drag to rearrange pages
  • File Upload: Access your device's file picker
  • Responsive Thumbnails: Page previews scale appropriately for mobile screens
  • Swipe Navigation: Scroll through many pages easily

Mobile Tips:

  • Use landscape orientation to see more thumbnails at once
  • For PDFs with 50+ pages, consider using a tablet or desktop for easier navigation
  • Tap and hold for 0.5 seconds to initiate drag-and-drop reordering
  • Zoom out in your browser if thumbnails feel too large

Browser Compatibility:

  • Works on Safari (iOS), Chrome (Android), Firefox Mobile
  • Requires JavaScript enabled
  • PDF.js renders thumbnails in all modern mobile browsers

The output is a standard PDF file compatible with all PDF readers.

Output File Details:

  • Filename: split_[timestamp].pdf
    • Example: split_20250116_152034.pdf
  • PDF Version: PDF 1.7 (or higher if source PDF requires it)
  • Compatibility: Opens in:
    • Adobe Acrobat Reader
    • Web browsers (Chrome, Firefox, Safari, Edge)
    • Mobile PDF apps (iOS, Android)
    • Desktop PDF software (Foxit, PDF-XChange, etc.)
  • File Size: Proportional to the number of extracted pages

File Storage:

  • Created in the server's /tmp folder
  • Automatically downloaded to your device
  • Temporary files cleaned up after session ends
  • Not stored permanently on the server

The Split PDF tool combines powerful backend and frontend technologies.

Backend Technologies:

  • FPDI (Freelance PDF Importer): PHP library for page extraction
    • setSourceFile($filename) – Opens the source PDF
    • importPage($pageNumber) – Imports specific pages
    • useTemplate($templateId) – Places imported pages in new PDF
  • TCPDF: PDF generation library (works with FPDI)
  • PHP 7.4+: Server-side processing and file handling

Frontend Technologies:

  • PDF.js: Mozilla's PDF rendering library for generating page thumbnails
  • SortableJS: Drag-and-drop library for page reordering
  • JavaScript (ES6+): Page selection state management and UI interactions
    • Array tracking for selected pages
    • Event listeners for clicks and drags
    • AJAX for server communication
  • HTML5 Canvas: Used by PDF.js to render page previews
  • CSS3: Thumbnail grid layout and selection visual feedback

Processing Workflow:

  1. PDF.js renders thumbnails of all pages in the browser
  2. User clicks to select pages and drags to reorder
  3. JavaScript tracks selected page numbers and their order
  4. On "Split PDF," page numbers are sent to server
  5. FPDI imports only the specified pages in the specified order
  6. New PDF is generated and returned for download