How to use the CSV & Excel to HTML Table
- Paste CSV or Excel cells, open a
.csv,.xlsxor.jsonfile, or load the sample. - Pick a style: plain markup, built-in CSS, or Bootstrap classes, and add your own class names if needed.
- Toggle
<thead>, HTML escaping, line-break handling and minification. - Check the rendered preview, then copy the markup or download it.
What is an HTML table generator?
An HTML table generator converts rows of data into <table> markup you can paste into a web page, CMS, email or documentation. Writing that markup by hand is slow and error-prone — every cell needs its own tag and special characters must be escaped. This tool does it from CSV, Excel cells or JSON in one step.
Accessible, semantic markup
The header row becomes <thead> with <th scope="col"> cells, and the data goes in <tbody>. Screen readers use these elements to announce the column name for each cell, and browsers repeat <thead> on every printed page. An optional <caption> gives the table an accessible name.
<table class="data-table">
<thead>
<tr>
<th scope="col">name</th>
<th scope="col">plan</th>
</tr>
</thead>
<tbody>
<tr>
<td>Ada Lovelace</td>
<td>pro</td>
</tr>
</tbody>
</table>
Escaping matters
With Escape HTML in cells on (the default), characters such as <, >, & and " are converted to entities, so a value like <b> shows as text instead of changing the page. Turn it off only when your cells deliberately contain trusted HTML such as links. The preview runs in a sandboxed frame with scripts disabled.
Style options
| Style | What you get |
|---|---|
| Plain HTML | Bare markup that inherits your site's CSS |
| Built-in CSS | A small <style> block: borders, header background, zebra rows, right-aligned numbers |
| Bootstrap | table table-striped table-bordered classes for Bootstrap 4/5 sites |
For Webflow rich text and Markdown-based sites, a Markdown table may be simpler. To turn an existing HTML table into Markdown, use HTML to Markdown.
Tools that pair well with the CSV & Excel to HTML Table
- HTML Formatter — Paste minified or messy markup and get clean, consistently indented HTML — including embedded <style> and <script> blocks.
- Excel to JSON — Open an .xlsx workbook or paste cells straight from Excel or Google Sheets and get clean JSON.
- JSON to Markdown Table — Turn API responses or LLM-generated JSON arrays into a clean, aligned Markdown table for READMEs, docs and pull requests.
- JSON to Excel — Turn a JSON array into a real Excel workbook.
Frequently asked questions
How do I convert an Excel table to HTML?
Can cells contain links or other HTML?
Will the table be responsive?
overflow-x:auto, which is what most responsive frameworks do.