Convert HTML or URL to JPG Image

Convert HTML or URL to JPG Image

Description

This action takes either raw HTML content or a URL as input and converts the rendered webpage or HTML into a JPG image.

Input Arguments

Input ArgumentTypeDescriptionRequired?Advanced Option?Default
HTML or URLHTML or URLThe HTML or URL which shall be converted to an image✔️-
WidthNumberImage Width (in pixels)✔️500
HeightNumberImage Height (in pixels)✔️500

Output

ResponseTypeDescription
File responseImageThe generated JPG image file content.
File response as stringStringThe file content as a string. This can be stored in a variable, saved to Dataverse, or passed to other actions that require the file content in string format.
MIME typeStringThe MIME type of the image file
ExtensionJPGThe file extension (always jpg)

Power Automate Examples

Convert URL to JPG Image

If you provide a URL (e.g., a website), the action will load the webpage and convert its visible content into a JPG image.

In our case, we use the following URL: https://upload.wikimedia.org/wikipedia/commons/4/43/Bonnet_macaque_%28Macaca_radiata%29_Photograph_By_Shantanu_Kuveskar.jpg (opens in a new tab) (last accessed on July 21, 2025).

Picture

💡

Looking for the response to this example? Scroll up to see the Output tab.

Convert HTML to JPG Image

As input, you provide an HTML table.

Simple HTML table
<table border = "1">
<tr> 
<th>Company</th>
<th>Contact</th>
<th>Country</th>
</tr>
<tr>
<td>Alfreds Futterkiste</td>
<td>Maria Anders</td>
<td>Germany</td>
</tr>
<tr>
<td>Centro comercial Moctezuma</td>
<td>Francisco Chang</td>
<td>Mexico</td>
</tr>
</table>

Picture

💡

Looking for the response to this example? Scroll up to see the Output tab.

Known Limitations

⚠️
If you experienced other limitations please get in touch with us!