logohsb.horse

HTML Table ↔ Markdown Table Converter

Convert between HTML tables and GFM Markdown tables through Table JSON in your browser.

Normalize merged HTML cells and multi-row headers, then convert both ways with GFM escaped pipes, alignment, and cell line breaks.

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.

Markdown result

Safe table preview

Convert a table to display its preview here.

How to use

  1. 1

    Choose a direction

    Select HTML to Markdown or Markdown to HTML.

  2. 2

    Enter one table

    Paste an HTML table or one GFM table, or open a local file.

  3. 3

    Inspect the result

    Review normalization warnings and the safe preview, then copy or download the result.

HTML and Markdown conversion rules

HTML rowspan and colspan values are repeated into covered cells, and multi-row headers are combined by column. Markdown writes pipes as \| and cell line breaks as <br>. Classes, styles, link URLs, and inline decoration are not reproduced exactly.

FAQ

What happens to merged cells in Markdown?
Their values are repeated into every cell covered by rowspan or colspan. A warning is shown, and the merged layout is not reconstructed.
Are pipes and line breaks inside cells preserved?
GFM output uses \| for pipes and <br> for line breaks. Converting back to HTML produces escaped text and br elements.
Are HTML or links in Markdown executed?
No. Inline syntax remains cell text and is escaped when HTML is generated.