Split / extract PDF pages
pdf_splitSplit a PDF by page ranges (one file per range) or extract specific pages into one PDF. Operations stay local with no data sent externally.
Instructions
Split a PDF by 1-based page ranges (one output file per comma group, e.g. "1-3,5"), or extract specific pages into a single PDF (e.g. "1,3,5"). Provide exactly one of ranges or pages. Runs entirely on this machine — the file is read and written locally and never sent anywhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to the input PDF | |
| pages | No | 1-based pages for a single combined output, e.g. "1,3,5" | |
| output | Yes | Output path. In range mode with >1 group, files get -1, -2, … suffixes. | |
| ranges | No | 1-based ranges, one output per comma group, e.g. "1-3,5,7-9" |