Too Much Tools logoToo Much Tools

HTML → Markdown

Convert HTML into clean Markdown, locally in your browser.

Local, Runs entirely in your browser, your data never leaves your device.
Loading tool…

Clean Markdown from pasted or scraped HTML

This tool converts HTML markup into Markdown using the Turndown library, turning headings, links, lists, bold and inline code into the equivalent Markdown syntax. It's useful when you've copied formatted content from a web page or CMS and need it as Markdown for a README, wiki page or static-site post, without hand-editing every tag. Conversion happens in your browser as you type, so pasted page content, including anything internal, never leaves the tab.

How to use the HTML → Markdown

  1. Paste HTML into the left editor, or start from the built-in example.
  2. Read the converted Markdown in the right panel as it updates automatically.
  3. Copy the result with the copy button, or send it to another tool.
  4. Adjust the source HTML and re-check the output if a tag didn't convert as expected.

Headings become ATX-style `#` headings, code blocks are fenced with triple backticks, bulleted lists use `-`, and emphasis uses `*` for italics, matching Turndown's default configuration rather than a customizable style.

Frequently asked questions

What Markdown flavor does the converted output use?
ATX headings (`#`, `##`), fenced code blocks, `-` for bullet lists, and `*` for italic emphasis, which is Turndown's default style and matches common Markdown flavors like GitHub-flavored Markdown.
Will it convert HTML tables and images?
Turndown converts standard block and inline elements, including tables and images, into their Markdown equivalents, though very unusual or deeply nested HTML structures may not map to a clean Markdown form.
Can I paste HTML copied from a webpage or CMS editor?
Yes, that's the main use case. Paste the copied markup into the input panel and the tool strips it down to Markdown, which is often cleaner than what a CMS export produces directly.
Is the HTML I paste uploaded anywhere?
No, the conversion runs locally using the Turndown library loaded into the page, so HTML from an internal page or draft document stays in your browser tab.