HTML to Markdown Converter
Turn HTML back into Markdown you can actually edit. Useful when you're migrating a site off a CMS, pulling a page into a docs repo, or rescuing content from an export that only offers HTML. Headings, lists, links, images, emphasis, blockquotes and code blocks all convert; script and style contents are dropped, because there is no Markdown for them and carrying them through would be worse than useless.
Nothing is uploaded — this tool runs inside your browser, so your files never leave your device.
Why use this tool
- Headings, lists, links, images, emphasis, quotes and code blocks
- Script and style contents are dropped rather than transcribed
- HTML entities are decoded, so & comes back as &
- Runs in your browser — paste a whole page if you like
How it works
- 1Paste the HTML — view-source, an export, or a fragment.
- 2Copy the Markdown out.
- 3Check anything that was in a table or a layout div; see below.
HTML to Markdown Converter — frequently asked questions
Anything Markdown can't express. Layout divs and their classes, inline styles, merged table cells, iframes and forms all lose their structure — the text inside survives, but the arrangement doesn't. That's a limitation of Markdown, not of the tool: it's a much smaller format than HTML by design.
More developer tools
Looking for something else? Browse all developer tools
Explore the other tools
Same deal everywhere on the site — free, no sign-up, and no watermark on anything you download.
Or see every tool on one page.