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.
Build an HTML table in an editor, paste cells from Excel, choose a style with a live preview, and copy clean, accessible code.
Used HTML Table Generator? Share how it went to help others.
About this tool
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.

Type, or paste cells from a spreadsheet.
CSV, Markdown or HTML.
Lines, grid, stripes or cards on phones.
Or download it, also as Markdown or CSV.
The table grows to fit.
See the style before you copy.
Rows can become cards.
Headings, caption and row headings.
Data that is easy to read
Show sizes and prices.
ExamplePaste the list and choose stripes.
Add a comparison to WordPress.
ExamplePaste the code in a Custom HTML block.
Make a simple table for an email.
ExampleChoose No style and add your own.
Publish a small sheet.
ExampleCopy the range and paste it.
Features down, products across.
ExampleMark the first column as headings.
Clean a table full of styles.
ExampleImport it and copy the new code.
Clear on every screen
It tells everybody what the table shows before they read it.
They are easier to compare.
More than four columns rarely fit. Use cards or fewer columns.
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
Featured on
Toolyconvert is listed on these product directories and launch platforms.