Free Online HTML Table Generator
Set the rows, columns, header, footer and colours, see the table update, and copy the HTML and CSS. Runs in your browser.
How to use HTML Table Pro?
Define Structure
Enter rows/columns count and toggle header/footer options.
Customize Design
Adjust padding, border width, Zebra striping, and row hover effects.
Copy HTML/CSS
Switch between HTML/CSS tabs and copy the generated code.
What is a Semantic Table?
A semantic table uses <thead>, <tbody> and <tfoot> to separate headings, data and totals, which helps screen readers and keeps the code tidy.
Technical Features
- Optional scroll wrapper for wide tables
- Header, footer and caption options
- Zebra stripes, hover colour, border and padding
- Live preview as you change settings
Frequently Asked Questions
How do I make tables mobile-friendly?
Tick the Responsive Wrapper option, which puts the table in a div. Then add .table-responsive { overflow-x: auto; } to your CSS so wide tables scroll sideways on small screens.
Should I use HTML tables for page layouts?
No. HTML tables should strictly be used for tabular datasets. Use modern CSS Flexbox or CSS Grid for responsive website layouts.