1001Ferramentas
🗄️Converters

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?
No. You get a table plus th and td rows, with no sections and no attributes. Add them by hand if your CSS expects them.
Can I use this for HTML email?
As a starting point. You will need inline styles and probably cellpadding attributes, because most email clients strip external CSS.
What happens to special characters in my data?
Accented letters pass through fine. Angle brackets and ampersands go in raw and can break the page, so escape them before converting.

Related Tools