Just want to browse the data as a sortable table? Use the JSON table viewer. Need a Markdown table for a README instead? JSON to Markdown.
What is a JSON to HTML converter?
APIs and exports hand you JSON, but people read tables. This converter turns JSON into clean, escaped HTML you can drop into a report, an email, a CMS page, or documentation: arrays of records become a proper <table> with headers, and nested data is rendered in place rather than flattened away. If you need a spreadsheet instead, use JSON to Excel; for docs written in Markdown, use JSON to Markdown.
How to use
- Paste JSON (or load the sample). An array of objects becomes a table with one column per key.
- Check the Preview, then switch to HTML to see the markup.
- Keep Include CSS on for a styled table, or turn it off to use your own styles (every table has the class
json-table). - Copy the HTML into your page, or download a ready-to-open
table.htmlfile.
Examples
Array of objects → HTML table
[
{ "id": 1, "name": "Ada" },
{ "id": 2, "name": "Linus" }
]<table class="json-table">
<thead>
<tr><th>id</th><th>name</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>Ada</td></tr>
<tr><td>2</td><td>Linus</td></tr>
</tbody>
</table>Object → key/value table
{ "name": "Ada", "tags": ["math", "engines"] }<table class="json-table"> <tr><th>name</th><td>Ada</td></tr> <tr><th>tags</th><td><ul><li>math</li><li>engines</li></ul></td></tr> </table>
FAQ
How do I convert JSON to an HTML table?
Paste the JSON above. An array of objects becomes a table: one row per object and one column per key, with the header built from every key that appears. Copy the HTML or download it as a file.
How are nested objects and arrays shown?
Nested objects render as small key/value tables inside the cell, arrays of objects as nested tables, and arrays of other values as bulleted lists, so the whole structure stays visible.
Is the generated HTML safe to put on my page?
Yes. Every key and value is HTML-escaped (<, >, &, quotes), so text like <script> inside your JSON is shown as text, never run as code.
Can I style the table myself?
Turn off Include CSS to get bare markup. Every table carries the class json-table, so one CSS rule styles them all.
Is my JSON uploaded?
No. The HTML is generated in your browser and downloaded locally. Nothing is uploaded.