Convert JSON to HTML Table
Paste a JSON list of records and get a ready-to-use HTML table with a header row and escaped cells. It runs in your browser, so your data stays private.
- Free forever
- Handled in this tab
- Safe, escaped cells
- Optional full page
- Runs on your device. Files are never uploaded.
- Free and unlimited. No sign-up, no watermark.
JSON to HTML table in three steps
No account, no email, no waiting for an upload.
- STEP 01
Load your JSON
Use a list of objects.
- STEP 02
Choose the details
Decide how nested values are handled and whether you want a whole web page with simple styles.
- STEP 03
Copy the HTML
Paste the table into your page, or download the .html file.
What JSON to HTML table does, and what it doesn't
We'd rather tell you up front than surprise you after the download.
What you get
- Semantic markupThe table uses thead, tbody, th and td, which screen readers and CSS handle well.
- Cells are escapedCharacters such as < and & in your data are escaped, so they show as text and cannot break the page.
- Nested values handledFlatten nested objects into dotted columns, keep lists as JSON text, or keep everything nested as text.
- Full page optionGet a complete HTML document with minimal styles for borders and padding, to preview straight away.
- Line breaks keptLine breaks inside values are written as br tags.
Good to know
- Plain table onlyNo sorting, filtering or pagination is added. Use the table in your own page and add a script if you need them.
- Light stylingThe full-page option has simple default styles. Without it, the table has no styling at all.
- Wide dataRecords with many different keys give wide tables. Check the shape in the JSON tree viewer.
Your data never leave your device
The tool runs inside your browser instead of on our servers, so there is nothing to upload, store or delete afterwards.
Typical online tool upload
Your file travels over the internet, sits on someone else's computer for a while, and you wait for the upload and the download.
Mediaextractr no upload
The tool loads into your browser once, then works on your file locally. Nothing is sent, so nothing can leak.
When people use JSON to HTML table
Show data on a web page
Drop a table into a blog post, doc or admin screen.
Include a table in an email
Paste HTML into an email template.
Share a quick report
Create a full-page file anyone can open in a browser.
Prototype a UI
Preview real data before building a component.
Mediaextractr vs typical upload tools
| MediaextractrPrivate | Typical upload tools | |
|---|---|---|
| Your file is uploaded | Never | Yes |
| Sign-up needed | No | Often, after a few files |
| Daily file limit | None | Often 1–2 free files |
| Watermark | Never | Sometimes |
| Wait for upload & download | No | Yes |
| Speed on very large files | Depends on your device | Depends on their servers |
How the table is built
The header row lists every key found in any record. Each record becomes a row, and a missing key leaves an empty cell. Nested objects become columns such as address.city.
If your JSON is an object with a single list inside, that list is used and the result tells you so.
Using the HTML
The output is plain HTML you can paste almost anywhere:
- Add your own CSS class by editing the opening table tag.
- Use the full-page option when you want to view the data right away.
- For a spreadsheet instead, use JSON to CSV.
- For Markdown documents, convert through CSV to Markdown table.
- To go the other direction, use HTML table to JSON.
Using the table in a page
Paste the markup where you want the table, then style it with your own CSS. For narrow screens, wrap it in a container that scrolls sideways. If you will display user-supplied data, the escaping done here is a good start, but your site should still apply its own output encoding and content security policy.
Questions, answered
How do I convert JSON to an HTML table?
Paste a JSON list of records and copy the generated table.
Is my JSON uploaded while the table is generated?
No. The HTML is created by script in your browser tab, so the records stay on your device.
Is the output safe to paste into a page?
Yes. Special characters in your data are escaped, so they appear as text.
Can I get a full web page?
Yes. The 'Whole web page (with styles)' option wraps the table in a complete page with basic borders and padding.
What happens to nested objects?
By default they become columns like address.city. You can also keep them as JSON text.
Can I build the table from a phone?
Yes. The result is text you can copy in any current mobile browser.