Blog
Image Tools
Crop Image
Resize Image
Rotate & Flip
Compress Image
Photo Filters
Meme Generator
GIF Maker
Collage Maker
Watermark Image
Blur Image
Convert
JPG to PNG
PNG to JPG
HEIC to JPG
DNG to JPG
Image Converter
PDF to JPG
JPG to PDF
Merge PDF
Compress PDF
MP4 to MP3
Video to GIF
MOV to MP4
MP3 Converter
Video & Audio
Trim Video
Crop Video
Remove Audio
Text to Speech
Audio Cutter
MP3 Compressor
Design & Editor
Resume Builder
Design Editor
Add Text to Photo
Social Media Resizer
QR Code Generator
Signature Generator
More Tools
Word Counter
Password Generator
Random Picker
Dice Roller
Spinner Wheel
Favicon Generator
Barcode Generator
Browse All Tools

JSON to HTML Table Converter

Turn JSON data into an HTML table you can read at a glance or paste into a page. Each object becomes a row, every key becomes a column, nested fields are flattened into names like address.city, and all values are escaped.

100% Free
No Sign-up
Nested Data
Optional Styling
Private · Nothing Saved Online
JSON to HTML
Your Text
Input Characters—
Output Characters—
Lines In → Out—
Input Words—
Type or paste in the input box, or open a file. The result updates as you type.
JSONType, paste or drop a file
HTML table
Input—
Result—
Status—
Settings forYour content
Data
Table
File Name

How to Convert JSON to an HTML Table

Quick answer: paste your JSON array or open a .json file; the table code appears below, ready to copy.

  1. 1

    Add your JSON

    Paste it or open a .json file.

  2. 2

    Choose options

    Flattening and styling.

  3. 3

    Copy the code

    Paste it into your page.

  4. 4

    Or download

    Save the .html file.

What You Get

Rows & Columns
From any array
Nested Fields
Flattened neatly
Safe Values
Everything escaped
Instant
As you paste
Private
Nothing is uploaded
Any Device
Phone or computer

Why Show JSON as a Table?

JSON is great for programs but tiring to read when it holds many records. A table shows the same data in rows and columns, so you can compare values at a glance, spot gaps and share the data with people who do not read code. The converter builds that table as HTML, ready for a report, a documentation page, an email or an internal dashboard.

How the Table Is Built

The converter finds the array of objects, at the top level or inside the first property that contains one, such as "data" or "items". Every key found in any object becomes a column, so missing values become empty cells. With flattening on, nested objects become columns such as team.name and team.floor; lists of simple values are joined with semicolons. Turn flattening off to show nested objects as JSON text in a single cell.

A Clean HTML Table

The result is a standard HTML table with a <thead> for the column names and a <tbody> for the data, which is the structure that browsers, screen readers, content systems and email builders handle best. Every value is escaped, so characters such as <, > and & in your JSON show as text instead of breaking the page.

Styling Options

Add a class name gives the table class="data-table", so you can style it from your site's style sheet. Include simple styling adds a short style block with borders, padding, a shaded header and striped rows, which is handy for pages without their own table styles and for quick previews. Indent the HTML makes the code easy to read; turn it off for the most compact output.

Where to Paste the Table

Most website builders and content systems have an HTML block or code view: paste the table there. In blog editors, switch to the HTML or text tab first. For emails, paste into the HTML source of the template; tables are the most reliable layout in email programs. Keep the styling option on when the destination has no table styles of its own.

More Conversions

Need the data in another format? Try JSON to CSV or JSON to TXT. To check text before or after converting, the Word Counter and Remove Extra Spaces tools help, and to show the HTML code itself on a page, use HTML Encode.

Example

The sample team list becomes a table with the columns name, role, team.name and team.floor and one row per person. Paste it into a page with styling on to share a readable team overview.

Practical Tips

If your JSON wraps the records in an outer object, such as { "data": [ … ] }, the array is found automatically. For very deep data, turn flattening off to keep nested parts readable as JSON inside single cells. Rename keys in your data before converting if you want friendlier column headings, for example "first_name" to "First name".

Private, Free and Instant

The converter is free and handles files up to 5 MB. There is no sign-up, no limit beyond the 5 MB file size and nothing to install. Everything runs in your browser, so documents, exports and private data are never uploaded or stored. Open a file from your device or paste text from another program, then copy the result or download it with the right file extension. It works on Windows, Mac, Linux, Chromebooks, iPhone and Android.

JSON to HTML: Showing Data as a Table

A JSON array of records can be shown on a web page as a table. The keys become column headings and each object becomes a row.

Good practice

  • Escape text so characters such as < do not break the page.
  • Add a caption and use header cells for accessibility.
  • Keep very large tables paged or scrollable on small screens.

For spreadsheets, use JSON to CSV.

Frequently Asked Questions

Questions about JSON to HTML

How do I convert JSON to an HTML table?

Paste your JSON array or open a .json file and copy the table code.

What happens to nested objects?

They become dotted columns such as team.name, or JSON text if flattening is off.

What if objects have different keys?

Every key becomes a column and missing values are left empty.

Is the output safe to paste?

Yes. All values are escaped.

How large can my file be?

Up to 5 MB of text, which covers very long documents and tables.

Is my content uploaded?

No. Everything happens in your browser on your own device. Nothing is sent or stored.