HTML Table to Markdown

Paste an HTML table and get a clean GitHub-flavored Markdown pipe table. Headers, body rows and pipe escaping — conversion stays in your browser.

All processing on this page runs locally in your browser unless noted otherwise.

HTML table input

Markdown table (live)

How to use

  • Paste an HTML <table> (with or without thead).
  • Review the GFM pipe table on the right (updates as you type).
  • Copy, download, open in the Editor, or continue in the table generator.

Example Markdown

| Feature | Status |
| --- | --- |
| Tables | Done |

FAQ

Is my HTML uploaded?

No. Parsing runs entirely in your browser via DOMParser.

What if there is no thead?

The first row is treated as the header row for the GFM pipe table.

Multiple tables?

Every <table> in the input is converted; results are separated by a blank line.

Related tools