Convert pasted HTML into markdown for migration projects, static docs handoff, and long-form archive cleanup.
Use this page when you move HTML into markdown docs or static site content.
You can sanitize input, convert it, and check the rendered result in one pass.
Use this when moving CMS content to markdown repositories or static documentation pipelines.
No. The converter prioritizes readable markdown where one-to-one mapping is not possible.
Round-trip preview shows how generated markdown renders, so structure issues are easier to catch.
This HTML to markdown converter turns old knowledge-base articles and CMS exports into markdown you can keep in a Git repository.
The Preview view renders the markdown it just produced, so you can compare headings, lists, and code blocks with the source before you copy the result.
Input
<h2>Release notes</h2> <p>Fixed <em>login</em> and <strong>export</strong>. See <a href="https://example.com/docs">docs</a>.</p> <ul><li>One</li><li>Two</li></ul> <pre><code class="language-js">let a = 1;</code></pre>
Output
## Release notes Fixed _login_ and **export**. See [docs](https://example.com/docs). - One - Two ```js let a = 1; ```
Output at the Balanced level. List items get three spaces after the hyphen, which is the converter's default and still valid markdown. The language-js class on the code element becomes the language name on the code fence.