Skip to the content.
Extract targeted pages or custom page ranges from a PDF document to build a new consolidated file. This tool runs **100% locally client-side** using `pdf-lib`, so your files are processed entirely in your browser and never sent to a server.
Client-side PDF Extractor (PDF-Lib)
Select Source PDF
📄 Drag & Drop a PDF file here
or click to browse from your computer
Extraction Parameters
Use dashes for ranges (e.g. 1-3) and commas for lists (e.g. 1, 3, 5). 1-based page index.
Compile Output
Ready: Waiting for file to load...

How to Use Extract PDF Pages

  1. 1. Upload Your PDF

    Drag and drop a PDF file onto the drop zone or click to browse and select it from your device.

  2. 2. Enter Page Numbers or Ranges

    Type the pages you want to extract (e.g. 1, 3-5, 8) or enable 'Invert selection' to delete those pages and keep the rest.

  3. 3. Extract and Download

    Click 'Extract & Save PDF' and the tool will build a new PDF with only your selected pages and download it instantly.

The Technical Details

This interactive web utility provides fast, reliable, and completely private data transformations. In modern workflows, quick formatting, conversions, or estimations are essential. By running all logic entirely in your browser with client-side JavaScript, this tool guarantees that your data never leaves your machine. This approach delivers maximum performance and absolute data privacy, as no information is ever sent to a server.

Frequently Asked Questions

How do I specify page ranges?

Enter comma-separated page numbers and ranges such as '1, 3-5, 8, 10-12'. Both single pages and ranges can be freely mixed.

What does 'Invert selection' do?

When enabled, the pages you enter are excluded instead of extracted. This is useful when you want to remove a few pages from a large document.

Does the original PDF change?

No. The tool reads your PDF in the browser and creates a new file. Your original PDF is never modified.

Is there a page count limit?

No hard limit is enforced. The tool processes all pages in memory, so very large PDFs may require a moment to load on slower devices.