My Tools Garage

HTML to Markdown

Convert HTML into clean, readable Markdown.

in-browser

How to use

  1. 1 Paste your HTML into the left-hand box.
  2. 2 Watch the Markdown update live on the right.
  3. 3 Review headings, lists, links and code in the output.
  4. 4 Copy the Markdown with the copy button.

About HTML to Markdown

The HTML to Markdown converter turns a chunk of HTML into clean, readable Markdown you can paste into a README, a wiki, a static-site source file or a chat that supports Markdown.

Paste your HTML on the left and the converted Markdown appears live on the right, ready to copy.

It recognises the elements you use most: headings h1 through h6, paragraphs, bold and italic, inline code, fenced code blocks from pre and code, links, images, blockquotes, ordered and unordered lists, horizontal rules and line breaks.

The converter is deliberately forgiving.

It strips out script, style and comment blocks, decodes the common HTML entities back to plain characters, and removes any tags it does not specifically handle while keeping their text content, so messy real-world markup still produces sensible output instead of an error.

Code inside pre blocks is preserved verbatim inside a fenced block so indentation and line breaks survive intact.

Conversion runs entirely in your browser using plain string processing — no DOM round-trip, no network request, and nothing is uploaded or stored.

That makes it safe for private or proprietary content, and it keeps working offline once the page has loaded.

For very large documents there is a generous size limit that returns a calm message rather than freezing the page.

FAQ

Which HTML elements are supported?

Headings, paragraphs, bold, italic, inline code, pre/code blocks, links, images, blockquotes, ordered and unordered lists, horizontal rules and line breaks. Unknown tags are stripped but their text is kept.

Is my HTML uploaded anywhere?

No. The conversion happens entirely in your browser with no network request, so your content never leaves your device.

What happens to scripts and styles?

Script, style and comment blocks are removed completely, so only the visible content is converted to Markdown.