Converter
Paste HTML on the left, copy clean GitHub Flavored Markdown on the right. Strips presentational cruft, keeps the content. Free, private, runs entirely in your browser.
Going the other way? Markdown to HTML →
// Converting… // (turndown loads on first paint, then runs entirely in your browser)
Why this converter
Most converters preserve every span, class, and inline style they find, leaving you with markdown that looks like HTML in disguise. This one keeps the structure, drops the chrome.
Your HTML is parsed in the browser. Nothing is uploaded, logged, or analyzed. Close the tab and it's gone.
Tables, task lists, strikethrough, and autolinks all round-trip cleanly into GitHub Flavored Markdown.
Detects language hints from class names like language-ts and emits fenced blocks with the right language tag.
Empty wrappers, inline styles, and unknown attributes are dropped. You keep the structure, not the soup.
No Convert button. The markdown and preview refresh as you paste, so you can iterate without a single click.
Flip the right pane between markdown source and a rendered preview to make sure the conversion is faithful.
How it works
Drop in a fragment or a full document. The sample shows what the converter handles. Clear it and use your own.
The right pane shows clean GFM markdown and a live preview. Switch tabs to verify nothing got lost in translation.
Copy the markdown straight to your clipboard, or download a .md file you can open in Markdown Writer or any editor.
Conversions
Everything below maps to its GitHub Flavored Markdown equivalent. Need to look up the markdown side? Open the cheatsheet.
<h1 – h6># Heading<p>Paragraph<strong / b>**bold**<em / i>*italic*<code>`inline code`<pre > code>```fenced```<a>[text](url)<img><ul / ol / li>- list<blockquote>> quote<hr>---<br> ↵<table>| pipe | table |<del / s>~~strikethrough~~<input[type=checkbox]>- [ ] taskFAQ
Open the converted markdown in Markdown Writer for a focused editor with live preview, syntax highlighting, and PDF export.
Open the editor