PDF extract

PDF Extract

Extract selected page ranges from a PDF

PDF Extract

Choose a PDF
Enter page ranges such as 1-3, 5, 8-10. Pages are numbered from 1.

Local-only. There is no upload step — extraction is local. Engine versions are pinned rather than floating: pdf-lib 1.17.1 (MIT), plus PDF.js 3.11.174 (Apache-2.0) when rendering is required.

Under the hood

Unlike the splitter, extraction flattens everything you type into one document. Listing 8-10, 1, 2-3 produces a single file ending -extracted.pdf whose pages run 8, 9, 10, 1, 2, 3 — the order of your list is the order of the result, which makes this the quick way to pull a chapter out, move a signature page to the front or drop a cover sheet. The pdf-lib engine creates a new empty PDF, copies the pages you named with copyPages() and saves it, so the output is a clean rebuild rather than a trimmed original. Repeated pages are collapsed: typing 1-3, 2 gives you pages 1, 2, 3 once each, not page 2 twice. Ranges are validated against the document’s real page count before any page is copied, and the finished file is offered as a download button in the results area.

Formats, sizes and other limits

One input PDF at a time; a second file in the selection is ignored. Ranges accept only n or n-m with m not below n and both inside 1–page count — 1-3, 5 is fine, 3-1 is not. Bookmark trees, annotations, form fields, attachments, signatures and the document properties (title, author, keywords, producer) are not part of the copy, because a new PDF is assembled from pages. Encrypted files cannot be opened and there is no password entry. The whole file and its output live in memory, so extracting pages from a several-hundred-megabyte scan may exhaust a small device. Text layers survive; OCR is never applied.

Privacy: nothing is uploaded

The chosen PDF is opened locally with arrayBuffer() and reduced to the pages you name inside this browser tab. Nothing is transmitted — the site is a static page with no backend, no account and no temporary storage. Only the pdf-lib engine itself is fetched once from a public CDN.

Frequently asked questions

How is this different from the split tool?

Split writes one PDF per comma-separated range; extract merges the same ranges into a single file in the order you typed them. Use extract for “these pages, one document” and split for “one file per part”.

Can I change the page order while extracting?

Yes, by listing the pages in the order you want them: <code>3, 1-2</code> puts page 3 first. Duplicates are ignored. If you would rather drag, rotate and delete pages visually, the page manager is the better tool.

Are hyperlinks, form fields or signatures kept in the extracted file?

No. The extracted PDF is assembled from page content, so internal links, form fields, annotations and digital signatures are left behind. Keep the original if those matter, and use extraction for reading, printing or sharing a subset.