HTML to Markdown converter
Turn simple HTML markup into Markdown syntax, right in your browser.
HTML to Markdown converter
Paste a chunk of HTML — copied from a page, exported from a CMS, or pulled out of an email template — and this tool rewrites the common tags into their Markdown equivalents. Headings become #, ##, up to ######, <strong> and <b> become **bold**, <em> and <i> become _italic_, <code> becomes backtick spans, and <a href> and <img> turn into [text](url) and . Paragraphs and list items are reflowed onto their own lines the way a Markdown file expects, and <br> tags become line breaks.
This is a lightweight, regex-based converter, not a full HTML parser — it works best on clean, simple markup: a blog post body, a documentation snippet, a formatted email. Deeply nested elements, malformed or unclosed tags, and unusual attribute ordering may not convert perfectly, since there is no DOM tree deciding what is nested inside what. For the tags it does recognize, attribute order does not matter — href and src are found wherever they sit on the opening tag — and both single and double quotes are handled. Unrecognized tags are simply stripped, so the output stays readable rather than leftover markup, and common HTML entities (&, <, >, ", ', ', ) decode back into plain characters.
One simplification worth knowing: both <ul> and <ol> list items convert to a plain "-" bullet, since Markdown numbering is usually left to the renderer. And list items sitting directly against each other with no line break in the source will run together in the output — real-world markup, where each <li> sits on its own line, converts cleanly.
The conversion happens instantly as you type, entirely in your browser. Nothing you paste is uploaded, logged or sent anywhere — it never leaves your device.