logohsb.horse

HTML Table and CSV Converter

Convert between HTML tables and CSV through normalized Table JSON in your browser.

Expand merged HTML cells and multi-row headers into a rectangle, then preserve commas, quotes, and embedded line breaks in CSV. The reverse direction creates a safe HTML table from CSV records.

Input files and results stay in your browser.

Conversion direction

HTML header handling

HTML input

Open a local file

Maximum 5 MiB. The file is never uploaded.

CSV result

Safe table preview

Convert a table to display its preview here.

How to use

  1. 1

    Choose a direction

    Choose HTML to a delimited format or the reverse direction.

  2. 2

    Set header rules and input

    For HTML, choose header detection. For CSV or TSV, choose whether the first record is a header.

  3. 3

    Review warnings and output

    Review merged-cell or ragged-record warnings, then copy or download the result.

HTML normalization and quoted fields

HTML rowspan and colspan values repeat across every covered cell, and multi-row headers are joined per column. CSV quotes cells containing commas, line breaks, or double quotes and doubles quotes inside a cell.

FAQ

What happens to rowspan and colspan in CSV or TSV?
The value is repeated into every covered cell to create a rectangle, and a merged-cell warning is shown.
Can CSV or TSV restore the original merged cells?
No. Delimited formats do not contain merge metadata, so the reverse conversion creates a regular rectangular HTML table.
Are HTML classes and link URLs preserved?
No. This is a semantic conversion of displayed cell text and table structure.