HTML to PDF icon

HTML to PDF

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

Actions11

PDF Creation → URL to PDF

AI-generated

Summary

Capture a website URL as a PDF using the PDFMunk API. Choose a URL or binary file response and set the viewport, full-page capture, wait time, output filename, and request timeout for each input item.

Inputs

  • URL (required) — Website address to capture; defaults to https://example.com.
  • Viewport Width — Browser viewport width in pixels; defaults to 1080.
  • Viewport Height — Browser viewport height in pixels; defaults to 720.
  • Full Page — Whether to capture the full page; defaults to true.
  • Wait Till — Milliseconds to wait before capture; defaults to 10000.
  • Output Format — Select URL (default) for a JSON API response, or File for a binary PDF in the output item's data property.
  • Output Filename — Filename for file output, without the .pdf extension; defaults to document.
  • Timeout (in Seconds) — Request timeout; defaults to 300 seconds.

Output shape

One output item per input item, containing either the API response in JSON or a PDF binary property named data, depending on Output Format.

The node sends an authenticated POST request to PDFMunk. In URL mode, the response body is placed in JSON; in File mode, successful PDF data is returned as binary. HTTP errors may be returned in JSON with a statusCode, and URL-to-file requests retry with a fallback file parameter if the first response has an error status.

Links

Discussion