PDF Tools

Extract PDF Pages

Last updated: June 17, 2026

Blake Boege
Written by Blake Boege · Founder, Calculator Answers

A PDF page extractor is a document assembly utility that splits selected pages out of a source PDF to construct a new document. Using structural page copying, it maintains fonts and resources for selected pages while omitting the rest.

Extract specific pages from your PDF file. Fast, free, and secure browser-based document generation.

See also: PNG to PDF, Rotate PDF, and Crop PDF.

Quick Answer

Extract pages from a PDF. Enter the page numbers or ranges (e.g. 1-3, 5) and download a new PDF containing only those pages.

Drag and drop your files here, or browse

Supports .PDF files up to 20MB

Was this helpful?

Examples

Extract a single range

Extract pages 2-5 into a new PDF

Extract mixed pages

Extract pages 1, 3, and 5-7 into a new PDF

How it works

When you select a PDF, it is loaded into the pdf-lib document instance.

The page range you enter is parsed into a list of 1-indexed page numbers.

The script creates a new empty PDF document, and then calls newPdfDoc.copyPages(sourcePdf, indices) to copy the selected page structures without losing fonts, forms, or metadata.

These copied pages are appended to the new PDF, saved, and rendered as a downloadable local Blob file.

Local Security. Processing happens locally in your browser. No files are transferred over the internet.

Frequently asked questions

Select your PDF file. Enter the specific page numbers or ranges you want to extract (e.g. '1-3, 5'). Click Extract Pages to generate and download a new PDF containing only those pages.

Yes. The extractor will compile the pages in the exact order you specify. For example, entering '3, 1' will put page 3 first, followed by page 1.

Yes. Your files never leave your device. The entire extraction process runs in-browser using JavaScript, meaning no files are uploaded to any server.