Welcome Back

Enter your details to access your account.

OR
Developer Tools

HTML Table Generator

Easily create and customize HTML tables visually. Generate clean code for your websites.

Free · No sign‑up Added Jun 2026

Configuration

Preview

Header 1Header 2Header 3
CellCellCell
CellCellCell
CellCellCell

About HTML Table Generator

Choose the number of rows and columns and this tool creates an HTML table with a header row, a body and placeholder cells, together with the code to paste into your page. A live preview shows the table, and the code box updates when you click Update. You can switch striped rows, borders and a hover highlight on and off.

The table uses Bootstrap class names (table, table-striped, table-bordered and table-hover). It will look right on a page that already includes Bootstrap CSS. On a page without it, you will get a plain table, so add your own CSS or remove the classes. The tool makes tables up to 100 rows by 20 columns, with the text "Header 1" and "Cell Data" for you to replace.

It is a quick way to get the structure right, not a spreadsheet editor, so fill in your content after you paste the code. For data tables, keep the header cells in the thead section so that screen readers can understand the table.

Who uses it and when

Web pages

Get the markup for a table in seconds.

Bootstrap projects

Generate ready-styled striped or bordered tables.

Email and docs

Create a clean table structure to edit.

Learning HTML

See how thead, tbody, tr, th and td fit together.

Why use this HTML Table Generator

HTML table code with a live preview.

Set rows and columns

Up to 100 rows and 20 columns.

Style options

Striped, bordered and hover.

Copy the code

Paste it into your page.

How it works

Set the size

Rows and columns.

Pick the styles

Tick striped, bordered or hover, then click Update.

Copy the code

Replace the placeholder text.

Frequently asked questions

Do I need Bootstrap?

The style classes need Bootstrap CSS. Without it you get a plain table that you can style yourself.

Is there a size limit?

Yes: up to 100 rows and 20 columns.

Can I type in the preview?

No. Copy the code and edit the cells in your own page.

Is it free?

Yes, with no sign-up.

Guides and articles