Skip to content
AZ Tools

PDF Page Extractor

Loads a PDF with `pdf-lib`, lets you pick any subset of pages by a comma-and-dash range expression, and re-emits a new PDF containing only those pages in the order you wrote them. Pages stay visually identical to the source; what gets dropped is everything else. Useful for sharing one section of a contract without leaking the rest, or trimming a long report down to its appendix.

Drop a PDF to choose pages from.

Everything runs in your browser — your file never leaves your device.

How to use

  1. Drop or pick a PDF.
  2. Type a page range like `1-3, 5, 7-10`. Spaces are optional.
  3. Hit Extract, then Download. The page count in the new file is shown for sanity-check.

Frequently asked questions

Are the source pages re-rendered or copied?
Copied — `pdf-lib`'s `copyPages` clones the page object, so text, vector art, images, and embedded fonts come over byte-identical. The visual result is exactly what you saw in the original.
What about page order?
The output follows the order you wrote in the range. `5, 1-3` means page 5 first, then pages 1, 2, 3. Within a range like `7-10`, pages stay in their natural order.
Can it pull pages from an encrypted PDF?
No — they are refused with a message. `pdf-lib` can open an encrypted document but cannot decrypt one, so the page streams stay scrambled and what came out was a file no reader could open, with no warning. Remove the protection in a PDF reader first, then extract.

Guides on this topic

Related tools