JSON to HTML Table Converter
Convert an array of JSON objects into a ready HTML table, with header and rows. Paste the JSON and copy the code to drop straight into your page or email.
HTML
—
Bare HTML table from a JSON array
A JSON response has fifteen rows and you need it as a table on a static page, in a report email, or in a CMS field that accepts raw markup. Typing tr and td for every record is pure keyboard labor, and it is easy to drop a closing tag halfway through. Paste the array of objects and the markup shows up underneath, refreshing on every keystroke.
The output is deliberately minimal: one table tag, one row of th built from the first object's keys, then one tr per record. No thead, no tbody, no class attributes, no inline styles. That is ideal when you drop it into a page whose CSS already styles tables, and awkward for email, since clients like Outlook ignore external stylesheets and render an unstyled grid.
Watch the content. Values are inserted without HTML escaping, so a field containing <, > or & produces broken markup, and pasting third-party data straight into a live page is an injection risk. Convert those characters to entities first. There is no copy button either, so select the block and copy manually. All processing happens in your browser, with nothing sent to a server.
Frequently asked questions
Does it output thead and tbody?
Can I use this for HTML email?
What happens to special characters in my data?
Related Tools
JSON to Markdown Table Converter
Convert an array of JSON objects into a formatted Markdown table, with header and alignment. Paste the JSON and copy a table ready for READMEs and docs.
CSV → HTML Table
Convert CSV into a semantic HTML table with <thead> and <tbody>, escaping special characters. Optional custom CSS class.
JSONP to JSON Converter
Strips the callback wrapper of a JSONP response leaving only the JSON contained inside the parentheses.
CSV → JSON Lines
Convert CSV to JSONL (one JSON object per line). Common format in logs, ML pipelines and document databases.
JSON to Go Struct
Convert a JSON to a Go struct with `json:` tags and inferred types. Detects strings, ints, floats, bools, slices and nested structs. Everything in your browser.
HTML to HAML Converter
Convert HTML into the indented HAML syntax, with no closing tags and shorthand class and id syntax. Paste your HTML and get HAML — great for Ruby on Rails views.