HTML Table Generator
Create HTML tables with a visual editor. Set rows, columns, styling, and copy the HTML code.
HTML Output
<table border="1" cellpadding="8" style="border-collapse: collapse; width: 100%;">
<thead>
<tr>
<th style="padding: 8px; text-align: left;">Header 1</th>
<th style="padding: 8px; text-align: left;">Header 2</th>
<th style="padding: 8px; text-align: left;">Header 3</th>
</tr>
</thead>
<tbody>
<tr>
<td style="padding: 8px;">Cell 1,1</td>
<td style="padding: 8px;">Cell 1,2</td>
<td style="padding: 8px;">Cell 1,3</td>
</tr>
<tr>
<td style="padding: 8px;">Cell 2,1</td>
<td style="padding: 8px;">Cell 2,2</td>
<td style="padding: 8px;">Cell 2,3</td>
</tr>
<tr>
<td style="padding: 8px;">Cell 3,1</td>
<td style="padding: 8px;">Cell 3,2</td>
<td style="padding: 8px;">Cell 3,3</td>
</tr>
</tbody>
</table>How to Use
Set the number of rows and columns, then click directly in any cell to type your content. Toggle the header row, border, and striped rows checkboxes to adjust the table style. The HTML code updates automatically.
Click Copy HTML to copy the generated table code. Paste it directly into any HTML file or CMS editor.