Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Convert HTML to PDF

Render HTML as a downloadable PDF. Use it when a report needs a designed layout rather than plain text.

Use this tool

  1. Supply HTML Content and a File Name.

  2. Set Orientation.

  3. Run the tool and open File URL.

  4. Review page breaks, table widths, and any images in the result.

Behavior and limits

HTML is the source content, not the address of a web page. A successful conversion does not establish that the layout fits every page; inspect the PDF before distributing it.

Inputs

Field
Parameter
Description

File Name

file_name

The name of the PDF file (with or without .pdf extension)

HTML Content

html_content

The HTML content to convert to PDF

Orientation

orientation

The orientation of the PDF page Default: "portrait".

Outputs

Field
Parameter
Description

File URL

file_url

The download URL for the generated PDF file

Was this helpful?