Semantic HTML
<table> with <thead> and <tbody>, ready for your own CSS.
Generate clean, escaped HTML table markup from a JSON array of objects.
Convert a JSON array to an HTML table with thead and tbody. Values are HTML-escaped, nested data can be flattened, and a styled full page is optional.
[{"name":"Aarav","city":"Pune"},{"name":"Sara","city":"Dublin"}]<table>
<thead>
<tr>
<th>name</th>
<th>city</th>
</tr>
</thead>
<tbody>
<tr>
<td>Aarav</td>
<td>Pune</td>
</tr>
<tr>
<td>Sara</td>
<td>Dublin</td>
</tr>
</tbody>
</table>Tip: For responsive layouts, wrap the table in a container with overflow-x: auto so wide tables scroll on phones.
<table> with <thead> and <tbody>, ready for your own CSS.
Characters like <, > and & are escaped, so data can never inject markup.
Flatten nested objects into columns, or show them as JSON text.
Get a complete HTML document with simple table styles to open or email.
The table markup has no styles so it fits your site. Tick "Full HTML page" for a standalone page with basic styling.
Yes. Every value is HTML-escaped.
An array of objects, or an object containing one, such as an API response.
Yes, the HTML is generated in your browser.