JSON to HTML Table
Convert a JSON array or object into ready HTML table code, with headers, nested tables, and basic CSS, and preview it before you copy.
0 characters0 bytes
0 characters0 bytes
How to Use It
- Paste the JSON.
- Choose the options, and look at the preview.
- Copy the HTML code.
Questions and Answers
Which JSON makes which table?
An array of objects gives one row per object and one column per key. One object gives a two-column table of keys and values.
Good to Know
All text is escaped, so HTML inside the data shows as text. The preview shows up to 200 rows; the output code has all of them.
Related Tools
- JSON and CSV ConverterConvert a JSON array to CSV for Excel, with Persian shown correctly, or a CSV file to JSON.
- JSON Formatter and ValidatorPretty-print or minify JSON, or find its errors with the line and column.
- HTML FormatterFormat HTML with readable indentation. Inline CSS and JavaScript are formatted too.
Source code of this tool (opens in a new tab)Report a problem on GitHub (opens in a new tab)