Skip to content
Table → HTMLDeveloper tools

HTML Table Generator

Build an HTML table in an editor, paste cells from Excel, choose a style with a live preview, and copy clean, accessible code.

Did this tool work for you?

Used HTML Table Generator? Share how it went to help others.

About this tool

About HTML Table Generator

HTML Table Generator lets you fill a table as you would in a spreadsheet and gives you clean HTML. Type into the cells, or copy a range in Excel or Google Sheets and paste it straight in; the table grows to fit. Press Import to start from CSV data, a Markdown table or the code of an existing HTML table, which is an easy way to edit one. Rows and columns can be added, deleted, sorted and swapped, each column can be aligned, and larger changes can be undone. The preview shows the table as a visitor will see it, and you choose its style: no style at all, thin lines, a full grid, striped rows, or cards on phones. Cards on phones is worth a try for tables with several columns: on a narrow screen every row turns into a small card in which each value has its heading in front, so nobody has to scroll sideways. The styles are a few lines of plain CSS that you can change. The code is written for accessibility. Heading cells are marked as column headings, a caption can be added that says what the table shows, and the first column can be marked as row headings, so screen readers announce the right heading for each value. Signs such as ampersands are written safely, and line breaks in a cell become br tags. If your cells contain HTML on purpose, such as links, tick the option and it is kept. Besides HTML you can copy or download the same table as Markdown or CSV, so the page also converts between the three. Tables can have up to 500 rows and 40 columns. Use tables for data that has rows and columns; for placing parts of a page, flexbox and grid are the right tools. Everything stays in your browser.

HTML Table Generator tool

Where HTML tables are used

Data that is easy to read

Price lists

Show sizes and prices.

ExamplePaste the list and choose stripes.

Blog posts

Add a comparison to WordPress.

ExamplePaste the code in a Custom HTML block.

Newsletters

Make a simple table for an email.

ExampleChoose No style and add your own.

Spreadsheet to web

Publish a small sheet.

ExampleCopy the range and paste it.

Comparing products

Features down, products across.

ExampleMark the first column as headings.

Fixing old code

Clean a table full of styles.

ExampleImport it and copy the new code.

HTML table tips

Clear on every screen

Add a caption

It tells everybody what the table shows before they read it.

Align numbers right

They are easier to compare.

Think of phones

More than four columns rarely fit. Use cards or fewer columns.

For a README?

Make a Markdown table.

Open Markdown Table Generator

Not for layout

Place parts of a page with flexbox.

Open Flexbox Generator

Check the colors

Make sure headings can be read.

Open Contrast Checker
Built & tested by

HemantInsights

Senior Software Engineer · Developer of Toolyconvert

Hemant developed HTML Table Generator and tests it on desktop and mobile with real files. He is a senior software engineer from Dehradun, India, building websites since 2014, and designed and developed Toolyconvert end to end.

Last updated 25 November 2026

Answers and guidanceFrequently Asked Questions
How do I make a table in HTML?
Fill the editor and copy the code. It uses table, thead, tbody, tr, th and td tags.
Can I paste from Excel?
Yes. Copy the cells and paste them into any cell.
How do I make a table responsive?
Choose Cards on phones. Each row becomes a card on narrow screens.
How do I add it to WordPress?
Copy the code and paste it in a Custom HTML block.
Can I put links in cells?
Yes. Tick Cells contain HTML and write the link in the cell.
Can cells be merged?
Not in this editor. Add colspan or rowspan to the code by hand.
Is my data uploaded?
No. It stays in your browser.
More tools for your workflowRelated Tools

Featured on

Toolyconvert is listed on these product directories and launch platforms.