Markdown Magic
Browser-only tool

HTML Table to Markdown Converter

Extract a simple HTML table and convert it into portable Markdown table syntax, with visible warnings for merged cells and unsafe links.

Everything runs locally in this browser: your source text is not uploaded or saved by this tool.

Ready. Paste your content or load the safe example.

How it works

Table rows and cells are extracted, common entities are decoded, and safe HTTP, HTTPS, mail and relative links are retained. Merged cells and unsafe link destinations produce a visible warning.

Tips for a clean result

  • Paste the table element rather than a whole web page
  • Complex rowspans and colspans cannot map cleanly to Markdown
  • Review every retained link before publishing

When this tool is useful

Recover portable table content from simple HTML used in documentation, emails or an exported web report.

The important edge case

Markdown tables have no native row-span or column-span model. Rich links, styles, embedded controls and multiple header tiers cannot be reproduced exactly, so complex HTML needs editorial restructuring.

Three checks before publishing

  1. Confirm the correct table was pasted
  2. Compare every heading and row
  3. Rewrite merged cells instead of assuming a lossless conversion

Worked example

Select Load example to place a deliberately small, non-sensitive input in the editor. Convert it, compare every row and then alter one awkward value—such as a comma, quote or vertical bar—to see how the output is escaped. This makes the conversion behaviour visible before you use your own material.

Compatibility

Markdown tables are a common extension rather than part of every minimal Markdown implementation. Preview the result in the exact renderer—such as GitHub, a documentation platform or a static-site generator—that will publish it.

Private, quick and reversible

No account is required and conversion happens in your current browser tab. The tool does not transmit or retain the input, but you should still avoid placing confidential data in any device or browser you do not trust.

For the formal baseline behind portable Markdown, see the CommonMark specification; table behaviour is renderer-specific.