Text tool / 27

HTML Table to Markdown / CSV Converter

Parse HTML <table> markup and convert rows and cells into GitHub Flavored Markdown (GFM) tables or CSV output.

HTML Table to Markdown / CSV Converter: TOEA extracts <th> and <td> elements, cleans inner tags and HTML entities, and formats clean tabular data. Runs 100% locally in your browser with zero server file uploads.

Category
Text tools
Runs
In your browser
Cost
Free · no sign-up
Availability
Ready to use
Extracted 3 rows × 4 columns

Merged cells and cell contents

Cells with colspan or rowspan are repeated in every column and row they cover, because neither Markdown nor CSV can merge cells; delete the repeats if the value should appear once. Every tag inside a cell is removed, <br> included, so two lines in one cell run together without a space. Only &amp;, &lt;, &gt;, &quot;, and &nbsp; are decoded; other entities such as &#39; or &eacute; stay as written. A pipe inside a cell is escaped as \| in the Markdown so it does not split the column.

Getting the table markup

To take a table from a web page, right-click it, choose Inspect, select the <table> element in the developer tools, and use Copy › Copy outerHTML, or Copy › Outer HTML in Firefox. Convert one table at a time: every row found in the input is treated as part of a single table. Tables built from <div> elements, common in web apps, have no <tr> rows and cannot be read this way.

How to use it

  1. Paste your HTML <table> markup.
  2. Select output format (Markdown or CSV).
  3. Copy the formatted table.

Privacy & limitations

HTML text is parsed entirely in local browser RAM without network requests.

Related tools

Frequently asked questions

Are inline HTML tags stripped?

Yes, inner tags like <b> or <a> are stripped to leave clean text.

Free tool · runs in your browser · no account required