Extract pages from a PDF

Take just the pages you want out of a PDF.

Write the ranges the way you would say them: 1-3, 5, 7-9. Each comma-separated group becomes its own document, so that example gives you three files — pages one to three, page five, and pages seven to nine.

Page numbers start at one, the way they do in a reader. Ranges are inclusive at both ends.

Pulling pages out of a bank statement, a signed contract or a scanned passport is a common reason to be here. Doing it in the page means the document is never handed to anyone in order to be cut up.

Accepts: application/pdf

Split intoThe page ranges I namefixed by this page

Comma-separated, one output file per group. For example: 1-3, 5, 7-9

Questions

How do I write the ranges?
Comma-separated, using page numbers starting at one. For example 1-3, 5, 7-9 gives you three separate files.
What happens if I name a page that does not exist?
You get a clear error naming the range and the document's real page count, rather than a silently truncated file.