Convert HTML Table to JSON

Convert HTML Table to JSON

Description

You can convert HTML table to a JSON table.

Input Arguments

Input ArgumentTypeDescriptionRequired?Advanced Option?Default
HTML TableHTMLThe HTML table which shall be converted to a JSON table.✔️-

Output

ResponseTypeDescription
JSONStringThe full JSON response converted from the HTML table input.
firstTableObjectThe first table found in the HTML input, converted into a JSON object.
tablesArrayA list (array) of all HTML tables found in the input, each as a JSON object.
rawBodyObjectThe full raw body of the action response, including all extracted data.

Power Automate Examples

Convert HTML Table to JSON

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!