Generator
HTML Table Generator
Pick your rows, columns and styling below and watch the HTML update in real time. No spreadsheet, no guesswork — just copy the code when it looks right.
Live Tool
table.html
Live
Preview
1How To Use
Follow these steps — no coding experience needed.
- Set the sizeChoose how many rows and columns your table needs.
- Style the bordersPick a border width and colour, and how much padding each cell gets.
- Toggle the header rowTurn the header row on if the first row should stand out as column titles.
- Copy and pasteClick Copy Code and drop it straight into your HTML file.
2Example Output
What this code looks like once it's on a real page.
A 2×3 pricing table using this generator, dropped straight into a page:
| Plan | Price |
|---|---|
| Starter | Free |
| Pro | $9/mo |
3Browser Compatibility
| Browser | Support | Notes |
|---|---|---|
| Chrome | ✓ Supported | Full support |
| Firefox | ✓ Supported | Full support |
| Safari | ✓ Supported | Full support |
| Edge | ✓ Supported | Full support |
| Opera | ✓ Supported | Full support |
| Mobile browsers | ✓ Supported | Full support, iOS & Android |
Supported in every current browser — Chrome, Firefox, Safari, Edge and Opera all render this identically, on both desktop and mobile.
→Related Pages
More tools that pair naturally with this one.