CloudConvert icon

CloudConvert

Use CloudConvert to convert files, create thumbnails, merge files, add watermarks and more!

PDF → Extract Pages From PDF

AI-generated

Summary

Extract specified pages or page ranges from an input PDF file and return the resulting PDF as binary data.

Inputs

  • Authentication (required) — Select authentication method: OAuth2 (recommended) or API Key.
  • Binary Input Data (required) — Set to true to take the PDF file from a binary data property; otherwise, provide the file content as text.
  • Input Binary Property Name (required) — The name of the binary property containing the PDF file data to extract pages from. Required if Binary Input Data is true.
  • Input File Contents (required) — The text content of the PDF file to extract pages from. Required if Binary Input Data is false.
  • Pages (required) — Specify single pages or page ranges to extract from the PDF. Use a format like "1,2,5-7" where page numbering starts at 1.

Output shape

binary file representing the extracted PDF pages

Returns one or more binary outputs containing the extracted pages PDF file. Each output contains no additional JSON data, just the binary file data. Paging input accepts single pages and page ranges, separated by commas.

Links

Discussion