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.

  1. Set the sizeChoose how many rows and columns your table needs.
  2. Style the bordersPick a border width and colour, and how much padding each cell gets.
  3. Toggle the header rowTurn the header row on if the first row should stand out as column titles.
  4. 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:

PlanPrice
StarterFree
Pro$9/mo

3Browser Compatibility

BrowserSupportNotes
Chrome✓ SupportedFull support
Firefox✓ SupportedFull support
Safari✓ SupportedFull support
Edge✓ SupportedFull support
Opera✓ SupportedFull support
Mobile browsers✓ SupportedFull 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.