HTML → Markdown
Strip HTML tags and turn markup into clean, plain Markdown.
About this tool
Paste HTML and get back clean Markdown — useful for pulling a web page or a rich-text editor's HTML output into a README, a wiki page, or anywhere else Markdown is the expected format instead of raw markup.
What gets converted
Headings, paragraphs, bold and italic text, links, images, ordered and unordered lists (including nested ones), inline code and code blocks, blockquotes, horizontal rules, and tables all map to their standard Markdown equivalents.
Tags without a Markdown equivalent
Elements like <div>, <span>, or <section> have no meaning in Markdown, so they're unwrapped rather than dropped — their text content and any formatted children (like a <strong> inside a <div>) come through, just without the wrapping tag itself.
Frequently asked questions
Are HTML attributes like class or id preserved?
No — Markdown has no equivalent for styling hooks or attributes, so only the semantic content and structure carry over.
Does it handle tables?
Yes — an HTML <table> is converted into standard Markdown table syntax with a header separator row.