HTML → Markdown
Convert HTML snippets into Markdown.
# Title Some **bold** text with a [link](https://example.com). - Item 1 - Item 2
Basic regex-based converter: headings, bold/italic, links, images, lists, code blocks, blockquotes. Complex nested HTML may need cleanup.
About the HTML → Markdown
Convert HTML snippets into Markdown covering headings, bold and italic, links, images, lists, code blocks, inline code, blockquotes, horizontal rules and common entities. Code is extracted before other tags are touched so fenced blocks survive intact, and leftover tags are stripped rather than leaked.
How to use the HTML → Markdown
- Paste your HTML fragment into the editor.
- Read the Markdown output that appears immediately.
- Review lists and nested structures, which the tool converts as flat lists.
- Copy the Markdown into your README, docs or CMS.
HTML → Markdown FAQ
Which elements are converted?
Headings h1 to h6, strong and em, links, images, ul/ol/li lists, pre/code blocks, inline code, blockquotes, hr and br — everything else is unwrapped to its text.
Why does complex nested HTML need cleanup?
The converter is deliberately lightweight, so deeply nested tables or definition lists do not have Markdown equivalents and render as plain text; the note in the tool flags this.
Are HTML entities decoded?
Yes — , <, >, &, " and ' become their literal characters in the Markdown output.