Dropping a data table into a page or email
The markup is semantic and unstyled, so it picks up the surrounding design rather than clashing with it.
Turn a JSON array into a clean HTML table in your browser, with markup in the data escaped safely.
Maintained by Roshan.
Converts JSON array of objects into HTML table in this tab. Configuration files routinely hold hostnames, keys and credentials, so nothing here is sent anywhere.
Find related browser-local tools for nearby tasks without starting another search.
Browse all developer and data toolsTurning data into an HTML table is the sort of thing that gets done with a quick loop and string concatenation, and that quick loop is where cross-site scripting bugs come from. If any value in the data contains a less-than sign, concatenating it into markup means the browser reads it as a tag. Most of the time this shows up as a page that renders oddly; occasionally it shows up as a script running that nobody intended. The escaping here is not optional or a setting, because a table generator that produces unsafe markup by default is worse than useless. The output itself is deliberately plain: a semantic table with a proper header section and no styling, so it inherits whatever design surrounds it.
The markup is semantic and unstyled, so it picks up the surrounding design rather than clashing with it.
Far easier to scan than raw JSON when you are checking whether the right records came back.
Yes. Every value is HTML-escaped, so data containing markup renders as visible text instead of being interpreted as tags.
Because a styled table fights whatever design it lands in. The markup is semantic and inherits your CSS.
It becomes JSON text inside the cell. A table cell has no way to show structure.
Not from here. This produces static markup; sorting needs a script or a component.
No. The markup is generated in this tab.
Turn a JSON array into a Markdown table in your browser, with pipes escaped so columns stay intact.
Convert JSON objects to UTF-8 CSV in your browser. Union columns, quote values, and protect formula-like strings.
Turn a JSON array into SQL INSERT statements in your browser, with quotes escaped correctly.