HTML Formatter
Beautifies HTML with consistent indentation, including inline CSS and JavaScript.
Type or paste your data into a grid and get clean, accessible HTML table code with a caption, header cells, and optional CSS for borders and striped rows.
<thead> with <th scope="col">; a header column becomes <th scope="row">. Screen readers use these to announce which header a cell belongs to.<caption>, the table's accessible name.< and & in your data show as text.<table class="table">
<caption>Plan prices</caption>
<thead>
<tr><th scope="col">Plan</th><th scope="col">Price</th><th scope="col">Users</th></tr>
</thead>
<tbody>
<tr><td>Starter</td><td>$9</td><td>1</td></tr>
...
</tbody>
</table>
colspan, rowspan) are not supported.<div style="overflow-x:auto">.Select the cells in Excel or Google Sheets, copy, and paste into the first grid cell or the paste box. The columns come across as separate cells.
A caption, header cells marked with <th> and a scope, and using tables only for tabular data, not for page layout.
No. Without it, the table uses your site's styles. The CSS is there for pages that have no table styles yet.
No. The table is built in your browser.
Often used together with the HTML Table Generator.
Beautifies HTML with consistent indentation, including inline CSS and JavaScript.
CSV to accessible HTML table code, with a preview.
Turns a CSV table into an array of JSON objects.