HTML to Markdown

Paste HTML and get clean Markdown back.

How to use HTML to Markdown

  1. Paste your HTML into the box.
  2. The Markdown equivalent appears automatically.
  3. Copy the result.

Frequently asked questions

Does it handle nested lists or tables?

Not really — list conversion works on a block's inner content with regex, which is fine for simple, flat lists, but nested lists aren't specifically handled, and a <table> just has its tags stripped at the end, leaving plain text with no Markdown table formatting.

What happens to tags it doesn't know how to convert, like <div> or <span>?

They're stripped out at the end along with any other unrecognized tag, leaving the text content behind — the content survives, but whatever structure or meaning the tag carried is lost.

Does it decode HTML entities like &amp; back into plain characters?

Only five of them — &amp;, &lt;, &gt;, &quot;, and &#039; become & < > " '. Less common entities like &nbsp; or &copy; are left exactly as they appear in the input.

Community

Loading...