HTML to PDF icon

HTML to PDF

Convert HTML to PDF, Parse PDF, Extract Data, and Manage PDF Security

Actions11

PDF Manipulation → Compress PDF

AI-generated

Summary

Compresses a PDF through the PDFMunk API, accepting either a URL or an incoming binary file and applying the selected compression level. Returns the compressed result as a URL, binary file, or Base64 response.

Inputs

  • Input Type — Choose URL (default) and provide the PDF URL, or choose File and provide the name of the incoming binary property containing the PDF (default: data). The URL field is described as limited to 10 MB.
  • Compression Level — Select low, medium, high (default), or max compression strength.
  • Output Type — Choose URL, File (default), or Base64 for the compressed PDF.
  • Output Filename — Filename passed for the compressed output; defaults to compressed.pdf.

Output shape

One output item per input item, containing either JSON or binary data depending on Output Type.

File output is stored in the output item's binary.data property; its JSON contains success: true. URL and Base64 outputs are returned in JSON using the API response body. HTTP error responses are returned as JSON with statusCode; a missing selected binary property raises an operation error.

Links

Discussion