HTML table to Markdown

Paste an HTML <table> and get a GitHub-flavored Markdown table.

Runs in your browser Instant No signup, no tracking

About this tool

Paste an HTML `<table>` element and get a GitHub-flavored Markdown table. `<th>` cells become the header row; if there are no `<th>` cells, the first `<tr>` is promoted. Inline markup (`<a>`, `<strong>`, `<br>`) is stripped so you get plain text ready to drop into a README or issue. Handy when scraping documentation, exporting from Notion, or copying tables out of an email into GitHub.

Example

Paste the input on the left and you will get output like this:

Sample HTML

<table>
  <thead>
    <tr><th>Framework</th><th>Language</th><th>Stars</th></tr>
  </thead>
  <tbody>
    <tr><td>React</td><td>JS</td><td>224k</td></tr>
    <tr><td>Vue</td><td>JS</td><td>207k</td></tr>
    <tr><td>Svelte</td><td>JS</td><td>78k</td></tr>
  </tbody>
</table>

Resulting Markdown

| Framework | Language | Stars |
| --- | --- | --- |
| React | JS | 224k |
| Vue | JS | 207k |
| Svelte | JS | 78k |

How to use HTML table to Markdown

  1. Paste or type your HTML into the left pane.
  2. The Markdown appears instantly in the right pane. Conversion runs in your browser — nothing is uploaded.
  3. Copy the result to your clipboard or download it as a file.

FAQ

Does inline Markdown/HTML survive?
No — cell contents are flattened to text. Add links and emphasis back in your Markdown editor.
What if my HTML has multiple tables?
The first `<table>` in the input is converted. Delete or split earlier tables to reach the one you want.
Is column alignment inferred?
No. GitHub Markdown supports alignment via `:---:` — add it by hand if you need centered or right-aligned columns.