HTML to Image
Convert HTML content to an image. Automatically extracts clean HTML from text, markdown code blocks, or mixed content.
The HTML to Image node allows you to convert HTML content into an image. Useful for generating visual representations of web content, articles, or any HTML-based data. The node automatically extracts clean HTML from text, markdown code blocks, or mixed content to ensure optimal rendering in the output image.
HTML to Image
HTML Content*Text (multiline)
Width (pixels)Number
Height (pixels)Number
Output FormatSelect
Inputs
Each input can be typed in directly or connected to another node's output.
| Input | Type | Required | Description |
|---|---|---|---|
| HTML Content | Text (multiline) | Required | The HTML content you want to convert to an image. Can include introductory text or markdown code blocks. |
| Width (pixels) | Number | Optional | The width of the output image in pixels (1-7680). |
| Height (pixels) | Number | Optional | The height of the output image in pixels (1-4320). |
Settings
| Setting | Type | Default | Description |
|---|---|---|---|
| Output Format | Select | PNG | The format of the output image file. |
Output Format options
| Option | Default |
|---|---|
| PNG | ✓ |
| JPG | |
| WEBP |