HTML Table Generator
Generate HTML table markup for a chosen number of rows and columns.
Quick answer: enter your details below and click Generate table — your result appears instantly, right here in your browser. Nothing you enter is uploaded or stored.
H
Developer
Enter your details below.
How to use
- Enter how many rows and columns you need.
- Choose whether to include a header row.
- Click Generate table and copy the markup.
About this tool
Tables in HTML are built from rows and cells, with an optional header row for column titles. This tool generates that markup for the size you choose, with placeholder header and cell text you can replace with your own content. The output is plain markup, ready to paste into a page or template.
Frequently asked questions
Can I use the output directly on a page?
Yes. It is standard table markup; replace the placeholder text with your own content and add styling as needed.
Is there a size limit?
Rows are capped at 50 and columns at 20, so an accidental huge number cannot produce an unusable block of markup.