Converts HTML tables to Markdown. Paste in, click Convert.
Branch: master
Clone or download
Pull request Compare This branch is 1 commit ahead, 6 commits behind johnbeech:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
table-converter.html

README.md

html-table-to-markdown-converter

Converts HTML tables to Markdown. Paste table HTML in, click Convert.

Latest release

1.0.0

See:

Example

Sample HTML input taken from Chrome Right Click > Inspect.

<table>
<thead>
<tr>
  <th>Heading</th>
  <th>Verified</th>
</tr>
</thead>
<tbody>
<tr>
  <td>Row 1</td>
  <td>Yes</td>
</tr>
<tr>
  <td>Row 2</td>
  <td>No</td>
</tr>
<tr>
  <td>Row 3</td>
  <td>Maybe</td>
</tr>
</tbody>
</table>

Output:

| Heading | Verified |
| --- | --- |
| Row 1 | Yes |
| Row 2 | No |
| Row 3 | Maybe |

Output rendered as markdown:

Heading Verified
Row 1 Yes
Row 2 No
Row 3 Maybe

Wishlist

  • Pretty format the output
  • Provide option to remove the opening | for multi-column tables