AZ Tools

PDF Page Extractor

File

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?
Owner-password protected PDFs (the common kind that lets you open but warns about copying) read fine — pdf-lib's `ignoreEncryption: true` lets the load through. PDFs with a user password (you can't open without it) won't decrypt without the password.

Related tools