{ }jsonkit
Format
Validate
Convert
Query
Generate

CSV to HTML table converter

Create semantic HTML tables or extract them back to CSV.
143 B · paste or drop a file
1 2 3
✓ complete143 B → 529 B0.0 ms

About CSV ⇄ HTML Table

The CSV to HTML table converter turns rows into escaped, semantic table markup. It also extracts an existing HTML table back into CSV.

How it works

Semantic table structure

CSV output uses table, thead, tbody, tr, th and td elements. The header option sets whether the first row becomes column headings or a normal body row.

Escaped cell text

Characters such as < and & are written as HTML entities, so cell content can't turn into live HTML. Line breaks inside a cell become br elements.

Table extraction

HTML to CSV reads the first complete table. It decodes common named and numeric entities, turns br back into line breaks and fills colspans with empty cells.

Frequently asked questions

Will HTML inside a CSV cell be rendered?

No. Cell values are escaped and written as text.

Does it support colspan?

Yes. When reading HTML, a colspan becomes the cell value followed by the right number of empty CSV cells.

Does it run pasted HTML?

No. The source is parsed as text and never added to the page as live markup.

Sources & last verified

We checked this tool's behavior and the claims on this page against the specifications below on . The tool runs in your browser, so the output you see is exactly what the engine produced.

Found a wrong result or an outdated claim? Report an error and we will check it again.