Convert HTML table to JSON

Form for HTML converting to JSON

This form allows you convert HTML tables to JSON data, paste or upload your HTML file below:


Your result can be seen below.

Result of HTML conversion to JSON


Move to "Paste Code" for Save it

About HTML conversion to JSON

About HTML tables conversion to JSON data

The HTML to JSON Converter was created for online transform code of HTML tables into JSON(JavaScript Object Notation) data. It's very simple and easy way to transform and share HTML to JSON data.

How it Works?

Just paste or upload your HTML data to the textarea above and click to the button "Convert" and you will instantly get JSON data.

Example of HTML conversion to JSON

Before:
<!DOCTYPE html>
<html>
<head>
<style>h1{color:orange;text-align:center;}</style>
</head>
<body>
<h1>HTML example!</h1>
<p>This is a paragraph.</p>
<table>
<thead>
<tr>
<td>id</td>
<td>firstName</td>
<td>lastName</td>
<td>age</td>
</tr>
</thead>
<tr>
<td>1</td>
<td>Kim</td>
<td>Kardashian</td>
<td>39</td>
</tr>
<tr>
<td>2</td>
<td>Ariana</td>
<td>Grande</td>
<td>26</td>
</tr>
<tr>
<td>3</td>
<td>Cristiano</td>
<td>Ronaldo</td>
<td>35</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</body>
</html>
After:
id,firstName,lastName,age
1,Kim,Kardashian,39
2,Ariana,Grande,26
3,Cristiano,Ronaldo,35
After the conversion, you can apply the JSON data to your project or use it for some other purpose.
Share

Do you find this tool useful? Then share it with your friends or colleagues. This will help us to make our free web tools better.