PDF Api Hub icon

PDF Api Hub

HTML to PDF

Actions36

Merge / Split PDF → Split PDF

AI-generated

Summary

Splits a PDF from a public URL or an incoming binary property into individual pages, selected page groups, or a requested number of roughly equal chunks. Returns the split PDFs as hosted links, a base64 ZIP, or a binary ZIP.

Inputs

  • Input Type — Choose URL (default) or Binary File as the PDF source.
  • PDF URL — Public URL of the PDF to split; Google Drive share links are auto-converted. Shown when Input Type is URL.
  • Binary Property Name — Name of the incoming binary property containing the PDF; defaults to data. Shown when Input Type is Binary File.
  • Split Mode — Choose Each Page (default), Specific Pages, or Equal Chunks.
  • Pages — Required for Specific Pages. Enter comma-separated page numbers or ranges, including open-ended ranges such as 5-; each comma group becomes a separate PDF.
  • Number of Chunks — Required for Equal Chunks. Set 2–100 roughly equal parts; defaults to 2.
  • Output Format — Choose hosted download links (default), a base64-encoded ZIP in JSON, or a raw binary ZIP.
  • Output Filename — Filename for the output ZIP; defaults to pdf_split.zip, and .zip is appended if omitted.

Output shape

Depends on Output Format: hosted download URLs for the split PDFs and a ZIP, JSON containing a base64-encoded ZIP, or a binary ZIP file.

Hosted files are described as available for 30 days. File and Base64 formats return the split PDFs inside a ZIP.

Links

Discussion