Actions20
- Document Management Actions
- PDF to Format Actions
- Format to PDF Actions
- Security & Signing Actions
Document Management → Split PDF
AI-generatedSummary
Split a PDF document into multiple files based on specified page ranges or individual pages, provided either as binary data or via a public URL.
Inputs
- Input Method (required) — Choose how to supply the input PDF file: use binary data from a previous node or provide a public URL.
- File URL — Specify the public URL of the PDF file to split (required if Input Method is URL).
- Input Binary Property — Name of the binary property containing the PDF file in a previous node's output (required if Input Method is Binary).
- Split Mode (required) — Select splitting mode: by page ranges or extract individual pages.
- Page Ranges — Define comma-separated page ranges to extract when Split Mode is 'By Page Ranges' (e.g., "1-3,4-6").
- Page Numbers (JSON) — Provide a JSON array of specific page numbers to extract when Split Mode is 'Individual Pages' (e.g., "[1, 3, 5]").
- Output Type (required) — Choose how to receive the split files: as binary data in the node output or as a temporary download URL valid for 1 hour.
- Output Binary Property — Name of the binary property to store the output ZIP file (used if Output Type is Binary).
Output shape
a single file packaged as a ZIP archive containing the split PDF files
The operation always returns a ZIP file containing the extracted PDFs. When Output Type is URL, the output includes a temporary download URL valid for 1 hour. When Output Type is Binary, the ZIP file is provided as binary data under the specified output property. Specify either page ranges as string or individual pages as JSON array depending on the Split Mode. Input can be given either as binary data or as a URL from which the API fetches the file.
Examples
Example 1: Split a PDF by page ranges from a public URL and get the result as a download URL
Set Input Method to 'URL', provide the File URL of the PDF, set Split Mode to 'By Page Ranges', define the page ranges like '1-3,5-6', and set Output Type to 'URL'.
Example 2: Extract specific individual pages from a PDF provided as binary data and get the output as binary ZIP
Set Input Method to 'Binary', specify the binary property name containing the PDF (e.g., 'data'), set Split Mode to 'Individual Pages', enter a JSON array like '[1,3,5]', set Output Type to 'Binary', and specify an output binary property name.