HTML Table Generator
Set the number of rows and columns, toggle a header row — get ready-made table/thead/tbody markup to fill with your own data.
Use cases
- Quickly starting a table's markup without hand-writing the tags
- Generating a basic structure before styling with CSS
- Learning the table/thead/tbody/tr/th/td structure with a concrete example
FAQ
The tool generates a structure with placeholder text ("Header 1", "Cell 1.1") — fill in the cells with your own data manually after generating.
No, only clean semantic markup with no presentational attributes — style the table with CSS.
Related tools
HTML Form Generator
Add text, email, phone, password, select, checkbox or radio fields and get ready HTML form code with proper labels and built-in validation.
The <table> tag
Table structure: thead, tbody, tr, th, td. Example and practical notes.
Responsive table
An overflow-x:auto wrapper for horizontal table scrolling on narrow screens.
HTML Formatter & Minifier
Format and minify HTML code online. Fully processed in your browser, nothing sent to a server.
Build a class schedule with merged cells
Practice exercise: build a weekly class schedule with caption, thead, tfoot, scope, rowspan and colspan — a table where every row has the same width.