Cookies This site keeps only what it needs to work. There is no analytics and no advertising on it today, and nothing here follows you to other sites. Read the privacy policy

Choose what to allow
+92 312 8299940Free Quote
EN – Language: English
Free tool, nothing to install

JSON To HTML Table Converter
Clean Tables From Any Data

This converter converts your JSON, CSV or spreadsheet cell data into a clean HTML table with the option of choosing a table style, and copying the final HTML. It will also clean up your Word documents.

  • FreePrice
  • 5Looks
  • NoneSign-up
  • NoneUploads

JSON to HTML Table Converter

Turn data into a clean table, build one by hand, or clean up Word

Rows
0
Columns
0
Size
0 B
Preview
The table appears here, drawn the way a visitor will see it.

Ready. Paste JSON, CSV or cells from a spreadsheet and the table appears.

Your browser does all of the work here, in this tab. We upload nothing, store nothing and log nothing.
Add a link to this tool on your own site

Copy the code below and drop it into your page. It places a link to this free tool.

The short version

What A JSON To HTML Table Converter Does For You

The data may look good in a file. But a web page will need a table. So, you must convert the rows of JSON into rows of tags. Typing these tags in manually can be very slow.

The generator writes every table tag for you. First, paste your data and a table appears at once. Then pick a look, and copy the code. You can drop it into a blog post, a CMS page or an email.

It reads JSON, CSV, XML, YAML and an HTML table. It also reads cells you copy straight from Excel or Google Sheets. Besides that, you can build a table by hand in a small grid.

The other job is to take text that has been copied from Word, and the system removes all the extra garbage. The output you get will have only the tags needed to format your text (headers, lists, links, tables) without any font or formatting issues.

On top of that, the entire table is created on your computer through the use of a web browser. So, any data you enter into the table will not leave your computer. This is important since tables typically contain prices, customer names and account numbers.

From JSON To An HTML Table, Step By Step

First, paste a list of objects. After doing this, the keys will be used as headings for each of the columns, and all of the objects will appear in rows. The numbers are aligned to the right side of each cell, which means that a column of prices looks good.

Drawing of a JSON list of products on the left with an arrow to a styled HTML table with item and price columns on the right
A list of objects turns into a table.

If the JSON contains nested objects, then the tool will convert those to a flat structure using dotted notation for each field, i.e., "address.city." Also, if there are multiple lists within the JSON document, each list will be converted into its own table.

In addition, the code will update as you are typing, so if there is a typo in your entry, you will be able to correct it and see how the table changes before copying anything.

For more detail, see: MDN guide to the table element.

HTML Table Generator For Spreadsheet Cells

To begin, copy the data from your spreadsheet program (Excel or Google Sheets) and then paste it directly into the grid. The table fills in on its own. Once populated, you can view a preview of what the table will look like on a website. This is an efficient method for converting a spreadsheet into a web-based table.

HTML table generator in build mode with an editable grid of products and prices and the table code beside it
Type or paste into the grid and the code follows.

You can type right into the grid as well. Add extra rows and columns whenever the data grows. Each cell is a plain box, so editing feels like a spreadsheet. Then you copy the code with one click.

This html table generator keeps your header row separate from the rest of the table. So, this generator creates real headings that are read aloud by screen readers.

Word To HTML Converter That Cleans The Mess

Word adds many things (such as font, color, margin and strange class names) to its HTML. These items are added to your web page when you copy and paste them, so making your website appear "broken."

Word to HTML converter with pasted text on the left, clean HTML on the right and a preview below
Word text turns into clean tags.

The word-to-html converter will take everything that you have pasted into it and discard the junk. Your headings will remain headings. Your lists will turn into actual list tags. The converter will also preserve your links, bolding and italics.

You can open a .docx file too. The tool will read the file without needing Word. A.docx will also preserve the exact layout of your tables and lists.

Five Looks, Three Ways To Add CSS

First, choose plain, bordered, striped, modern or dark. Then the preview shows the look at once.

JSON to HTML table converter set to the dark look with inline styles, showing the code and a dark preview table
The dark look, with inline styles.

Next, work out how you want to deliver your CSS. A style block will keep your markup clean. Inline styles are good for emails, as most email programs do not support a style block. A class gives you just the table and allows you to apply your own CSS.

Accessible Tables

Also, each heading cell has a scope so that assistive technology knows what column that heading represents. A caption adds a name to the table. These two things together will allow people who are blind or low vision to understand the layout of the table.

Safe Output

In addition, each cell is escaped. So, values like a "less than" sign (<) or an "ampersand" (&) cannot cause the page to break. Since the preview is created using actual nodes, any code you enter into the preview will not run as code.

JSON to HTML table converter with a JSON product list, the HTML table code and a striped table preview
JSON in, table code and a live preview out.
Video guide

See the JSON to HTML Table Converter at Work, Start to Finish

This brief video shows each step from start to finish. Choose your language below, and switch on captions if they help.

How it works

Building A Table With The JSON To HTML Converter, Step By Step

Four steps take you from data to code you can paste.

  • Add your data

    Paste JSON, CSV or spreadsheet cells. Or open a file. Prefer to type? Switch to the grid.

  • Pick a look

    Select plain, bordered, striped, modern, or dark. Your edited version of the table preview will update right away after making edits.

  • Set the options

    Add a caption, name the class, align the numbers and choose how the CSS travels.

  • Copy the HTML

    Save the table HTML, or use it to create a file. Then simply drop the file onto the page.

Why this one

How This JSON To HTML Table Converter Goes Further Than Most

Many generators only handle CSV and give one look. These are the extras.

  • Many inputs

    Json, csv, xml, yaml, html tables and cells pasted from a spreadsheet, all detected for you.

  • Three tools in one

    Convert data, build a table by hand, or clean Word text, without leaving the page.

  • Clean accessible code

    The cells used as headings have a scope, can contain an optional caption, and are separate from the table body.

  • Email friendly

    To make sure your table looks good in email clients that remove style blocks, use inline styles.

  • Real .docx support

    Open a Word file and the tool reads headings, lists, links and tables from it.

  • Nothing leaves your tab

    Your own browser builds the table. We never see your data, and we keep nothing.

Good habits

Habits For Better Web Tables

Tables are quick to build and easy to get wrong. These habits help.

  • Save tables for real data, such as prices or results. A table is designed for rows and columns of facts; never use a table as the base for designing an entire web page.
  • Give each table a header row that names its columns. The headings of your columns are used by both human readers and those who use a screen reader to understand what each column represents.
  • Add a caption. A short title above the table explains what it shows before anyone reads a cell.
  • Keep columns few. Wide tables are hard on a phone. Split a big table into two small ones.
  • Right-align numbers. Right-aligned digits line up, so readers can compare values at a glance.
  • Wrap wide tables. A scrolling wrapper stops a wide table from breaking your page on small screens.
  • Use inline styles in email. Lots of email apps strip out style blocks. Inline styles survive.
  • Choose a short class name. A clear name like data-table is easy to target with your own CSS later.
  • Open the finished table on a phone to see how it fits. Before publishing, open the page on a small screen.
  • Clean Word text first. Raw HTML from Word should never be pasted into your web pages. Always run the messy code through a HTML cleaner before you use it.
  • Keep your source data. You may download either the JSON or CSV file to update your table as soon as the data changes.
Worth avoiding

Common Table Mistakes This Tool Prevents

Each of these hurts readers or breaks pages. The converter guards against them.

  • Unescaped characters

    A stray less-than sign can break a page. Each cell is escaped.

  • Missing header cells

    Screen readers don’t understand what the first row of data represents. The tool can write the actual column headers.

  • Pasting raw Word HTML

    Word adds fonts, colours and odd classes. The cleaner takes all of it out.

  • Columns of numbers that do not line up

    Left-aligned numbers are hard to make sense of. This option makes the numbers right-aligned.

  • Tables that break apart on a phone

    A wide table can push a page sideways. The wrapper option adds a scroll area.

  • Writing every tag yourself

    One missing end tag can ruin your layout. The generator will produce all tags for you.

Questions

Common Questions About JSON To HTML Tables

Does the JSON to HTML table converter cost anything at all?

Yes. It’s free to use, doesn’t need an account and has no restrictions on what you can download. Since your computer handles most of the work, we don’t need to charge you for using our servers.

Does the data I paste ever reach a server?

No, your web browser will read your data and write your program. No part of what you do here goes to this website, and there is no record of anything you have done. When you close the tab, everything that was there is completely removed.

Which JSON formats work?

A list of items produces the best results. Each item is a column header. A list of multiple lists is an acceptable format as well, with each individual list becoming a separate row.

What happens to nested objects in the table?

Columns of data are combined into single columns using dot-separated column names (such as "address.city"). Simple list values are combined into a single cell using semicolons.

Will it accept cells copied straight from Excel?

Yes, you can copy your cells and then insert those into either the data box or the grid. The tool will read each tab and create the table.

How do I add CSS to the table?

Select one of the three different ways to style an element, such as using style blocks, inline styles, or just a class name. The resulting code will reflect your choice.

Why would I use inline styles?

Most email programs don’t pay attention to style blocks. Since inline styles travel with every tag, the table will look as it did in the message.

Can I give the table a different class name?

Yes, type a different name into the "Class" field. The tool will then clean that name to make sure its compatibility with both HTML and CSS.

Does it work with a Word document?

Yes. Paste text copied from Word, or open a .docx file. The tool keeps headings, lists, links, bold, italic and tables.

Why were my images left out?

Pictures live inside the Word file, not in the text. The tool counts them and leaves them out. Add them to your page by hand.

Is the HTML safe?

Yes, all of the cells are escaped, and there are only a few tags that will pass through. All links should begin with "http", "https", "mailto", "tel" or a "/".

Can it make a table with merged cells?

It will retain the colspan and rowspan attributes that exist in an HTML table or in a Word document. When creating the grid, the builder will generate basic tables with no merged cells.

How many rows can it cope with?

Thousands. The preview displays only the first 200 rows of data so that the website will load quickly, but the entire set of data is contained in the programming code.

Does it run on phones too, or only on desktops?

Yes, you can stack panels and scroll the grid horizontally. It is still much simpler to use a keyboard when dealing with long data.

More free tools

Handy Companions For Data And Web Pages

Making the table is just one part. These three tools handle the steps around it.

Want To Make An HTML Table Now?

Paste your data, pick a look, and copy the code. The converter is free, needs no account, and keeps every byte on your device.

Prefer Denwix on GoogleReview Denwix on Google