HTML to Markdown
Convert HTML into clean Markdown, in your browser.
Recommended next steps
Related tools
Encode text to HTML entities or decode entities back to text.
Test a regular expression against text and see matches and capture groups.
Encode or decode text to and from base64, with a URL-safe variant.
Frequently asked questions
It handles the common elements: headings, paragraphs, bold and italic, links, images, ordered and unordered lists, blockquotes, inline code and code blocks, and horizontal rules. Tags it doesn’t recognise are dropped to their text content so the output stays clean Markdown.
Yes. You can switch headings between ATX (#) and Setext (===) style, choose fenced or indented code blocks, and pick the bullet character (-, * or +) used for unordered lists. The output updates as you change each option.
No. The conversion runs entirely in your browser — the HTML you paste is only used to compute the Markdown shown on this page and is never sent to a server.
Markdown is a simpler format than HTML, so styling, attributes and unsupported tags can’t always be represented. The tool aims for clean, readable Markdown of the content rather than a byte-for-byte copy of the markup.
Last updated 2026-06-23.