Skip to main content

HTML → Markdown Converter

HTML → Markdown Converter takes HTML you paste and turns it into Markdown, entirely in your browser.

Converts pasted HTML to Markdown in your browser. Headings, bold/italic, links, images, lists (including nested), blockquotes, inline code, code blocks, horizontal rules and simple tables are supported. Script, style, iframe and similar nodes are removed; javascript:, data: and other unsafe link targets are dropped, keeping only the visible text. Nothing is uploaded, fetched, or stored. It does not convert Markdown back to HTML — for that, use the Markdown Editor.

Processed locally in your browser

How to use it

  1. Paste your HTML into the input box
  2. Click Convert to Markdown
  3. Review the Markdown output and the conversion stats
  4. Copy the Markdown, or clear and paste new HTML

It converts headings, bold and italic, strikethrough, links, images, ordered and unordered lists including nested ones, blockquotes, inline code, fenced code blocks, horizontal rules, line breaks, and simple tables. The HTML is parsed into the inert content of a <template> element and never inserted into the page, so no script runs and no referenced image, frame or media file is fetched while it is read. Script, style, iframe, object and similar nodes are removed, HTML comments are dropped, and unsafe link or image targets such as javascript: and data: URLs are stripped so only the visible text remains. Relative URLs and anchors are kept as written. This is a focused converter, not an exhaustive one: tables with merged cells are flattened and unusual markup may need a manual touch-up. It goes one way only — to turn Markdown back into HTML, use the Markdown Editor in this category. Input is limited to 1 MB and nothing is uploaded or stored.

FAQ

We use cookies to run this site and, with your consent, to understand usage and personalize ads. You can change your choice at any time.