Extract Pages From PDF
extract_pdf_pagesKeep selected pages from a PDF in a new PDF while preserving their original order. Use page ranges to create a shorter document without altering the source file.
Instructions
Keeps some pages of a PDF in a new PDF. The pages keep the order they have in the document. The file is uploaded to conv2pdf and the call counts as one conversion.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes | Pages to keep: numbers and ranges separated by commas, such as 1-5,7,10-12. | |
| password | No | Password of the PDF, only if it asks for one to open. The result has no password. | |
| input_path | Yes | Path of the file on this computer: absolute, or relative to the working directory of the server. | |
| output_path | No | Where to write the result. Optional: by default next to the input file, under a name that is not taken. An existing file is never overwritten. |