JSON to Table
Paste a JSON array and instantly see it rendered as a clean HTML table. Handles inconsistent fields, copies the HTML, or downloads it as a file.
When to use JSON to Table
JSON arrays of objects are essentially tabular data — every element shares (roughly) the same shape. Viewing them as a table is often far more readable than a raw tree, especially when comparing values across records. This tool lets you go from a raw API response or log dump to a structured table view in one paste.
The column set is automatically the union of all keys found across every record, so if some records are missing a field, those cells are left blank rather than throwing an error. Nested objects and arrays are shown as compact JSON strings inside their cell; for a full expandable tree, use the JSON Viewer instead.
Copying or downloading the table
"Copy HTML" puts the raw <table> markup on your clipboard — you can paste it straight into an HTML file or a CMS. "Download" saves it as a standalone .html file. Either way, you'll need to add your own CSS to style it for your project; the markup uses a class="json-table" hook you can target.
FAQ
Can it handle arrays where each object has different keys?
Yes. The tool takes the union of all keys across every record as the column set. Missing values in any row are shown as empty cells.
What happens to nested objects or arrays?
Nested objects and arrays are serialised as a compact JSON string inside their cell. For a full tree view, use the JSON Viewer instead.
Can I use the output HTML on my own page?
Yes. Click "Copy HTML" to copy the table markup to your clipboard, or "Download" to save it as an .html file. You'll need to add your own CSS to style it.