HTML to Markdown Converter

Turn headings, links, lists, and emphasis from HTML into Markdown—or go the other way for a quick preview.

Keyboard: Ctrl or ⌘ + Enter copies. Escape clears. Text stays in this browser.

Character Count: 0 | Word Count: 0 | Sentence Count: 0 | Line Count: 0

Headings, links, lists, and emphasis both ways

HTML → Markdown maps `h1`–`h6`, anchors, ordered/unordered lists, and bold/italic into CommonMark-ish markup. Markdown → HTML is a preview pass for README fragments—not a full static-site generator with front matter.

Docs migrations and chat pastes

Use it when a wiki export is HTML and the new home is GitHub, or when you need a quick HTML preview of a Markdown table. Complex tables, inline SVG, and CMS classes will not all survive. The Markdown Table Generator builds tables from a grid instead of reverse-engineering HTML `

` soup.

Scripts, comments, and fidelity

Script tags should not become Markdown. Comments and inline styles are dropped. Round-tripping HTML → MD → HTML will not match the original DOM. Conversion is local.

Frequently asked questions

Which Markdown dialect is this?

A practical CommonMark/GFM-like subset: headings, emphasis, links, lists, code, and simple tables when present.

Will it convert a whole website?

Paste a page fragment, not a crawl. Images become `![alt](src)` only if the HTML includes those attributes.

Why did my nested div layout disappear?

Markdown has no generic layout tags. Presentational HTML flattens to paragraphs and lists.