{ }jsonkit
Format
Validate
Convert
Query
Generate
⇄html

CSV ⇄ HTML Table

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

CSV ⇄ HTML Table turns structured rows into safe, semantic table markup and extracts existing HTML tables back into portable CSV.

How it works

Semantic table structure

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

Escaped text values

Markup-sensitive characters in CSV cells are encoded as HTML entities, so cell content cannot accidentally become executable or structural HTML. Embedded line breaks become br elements.

Table extraction

HTML-to-CSV reads the first complete table, decodes common named and numeric entities, restores br line breaks and expands colspans with empty cells.

Frequently asked questions

Will HTML inside a CSV cell be rendered?

No. Cell values are escaped and emitted as text for predictable, safe markup.

Does it support colspan?

Yes. When reading HTML, a colspan is represented by the cell value followed by the required empty CSV cells.

Does it execute pasted HTML?

No. The source is parsed as text and never inserted into the page as live markup.

Sources & last verified

The behaviour of this tool and the claims on this page were checked against the specifications below on . Everything 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 it will be re-verified.