Install
openclaw skills install split-pdfSplit a single PDF into multiple parts. Supports page ranges, per-page splitting, and fixed chunk splitting.
openclaw skills install split-pdfSplits a single PDF into multiple smaller PDFs. Supports splitting by page ranges, one page per file, or fixed number of chunks.
| Mode | Param | Behaviour |
|---|---|---|
| By pages | pages: "1-3,5,8-10" | Each comma group = one output PDF |
| Each page | mode: "each" | One PDF per page |
| Fixed chunks | chunks: 3 | Split into N roughly equal parts |
| Default | (none) | Same as mode: "each" |
Provide one of:
url — public URL to a PDFfile — base64-encoded PDFfile fieldSend your API key in the CLIENT-API-KEY header.
Get your free API key at https://pdfapihub.com. Full API documentation is available at https://pdfapihub.com/docs.
curl -X POST https://pdfapihub.com/api/v1/pdf/split \
-H "CLIENT-API-KEY: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"url": "https://pdfapihub.com/sample-pdfapi-intro.pdf",
"pages": "1-5,8,10-15",
"output": "url"
}'