Convert HTML to clean Markdown.
h1–h6, links, lists, tables and code blocks mapped to proper Markdown. No boilerplate, no inline styles.
HTML is the closest cousin to Markdown, but real-world pages are full of wrappers, navigation and inline styles. CleanMD keeps the semantic content — headings, paragraphs, links, lists, tables, code blocks — and drops the noise, producing Markdown that reads like it was written by hand.
How it works
- 1Drop an .html file in the converter above.
- 2Semantic tags (h1–h6, ul/ol, table, pre/code, a) are mapped to their Markdown equivalents; boilerplate is dropped.
- 3Preview the result and download the .md file.
Before and after
<article>
<h1>Getting started</h1>
<p>Install the CLI with <code>npm i -g tool</code>.</p>
<h2>First steps</h2>
<ul>
<li>Create a <a href="/docs/project">project</a></li>
<li>Run <code>tool dev</code></li>
</ul>
</article># Getting started Install the CLI with `npm i -g tool`. ## First steps - Create a [project](/docs/project) - Run `tool dev`
Frequently asked questions
Does it keep links and code blocks?
Yes. Anchors become [text](url) links, <pre>/<code> become fenced code blocks and inline code, and tables become Markdown tables.
What happens to navigation menus and scripts?
Non-content elements (scripts, styles, boilerplate) are dropped so the Markdown contains only the readable content.
Can I convert a live URL?
URL conversion is part of the Premium roadmap. Today you can save the page as an .html file and convert that for free.
Is the file uploaded?
No. HTML conversion runs entirely in your browser and nothing is stored.