Convert HTML tables to structured JSON data instantly
Paste any HTML table. Supports <table>, <thead>, <tbody>, <tr>, <th>, <td>
[
{
"name": "John Doe",
"age": 28,
"city": "New York",
"occupation": "Engineer"
},
{
"name": "Jane Smith",
"age": 34,
"city": "Los Angeles",
"occupation": "Designer"
}
]Convert HTML tables to JSON format for use in APIs, databases, JavaScript applications, and data processing. This tool extracts tabular data and structures it as clean JSON objects.
Extract data from HTML tables on websites and convert to JSON for analysis or storage.
Convert static HTML tables to JSON endpoints for mobile apps and web services.
Transform HTML tables into JSON format for MongoDB or other NoSQL databases.
Convert tabular data to JSON for processing with pandas, JavaScript, or analytics tools.
<table>
<tr>
<th>Name</th>
<th>Age</th>
</tr>
<tr>
<td>John</td>
<td>25</td>
</tr>
</table><table>
<thead>
<tr><th>Name</th></tr>
</thead>
<tbody>
<tr><td>John</td></tr>
</tbody>
</table>// Array of objects (one per row)
[
{
"column_name_1": "value1",
"column_name_2": "value2",
"column_name_3": "value3"
},
{
"column_name_1": "value4",
"column_name_2": "value5",
"column_name_3": "value6"
}
]Use the "First row as header" option when your table uses <td> for headers. Toggle "Pretty print" for readable JSON during development, or disable it for minified output perfect for production APIs.