Markdown ↔ HTML Converter
Convert Markdown source into real HTML markup, or paste HTML and get Markdown back out. Side by side, both directions, entirely in your browser.
Last updated
Direction
Options
About this tool
This is a real bidirectional converter, not a live preview. In Markdown → HTML mode, your Markdown is parsed by a small hand-written parser and turned into indented HTML markup you can copy straight into a template or CMS. In HTML → Markdown mode, pasted HTML is parsed as a DOM tree and walked node by node, converting headings, bold/italic, links, images, lists (including nested ones), blockquotes, and code blocks back into Markdown syntax.
The GitHub-flavored extensions toggle controls three things that aren't part of plain Markdown: pipe tables, ~~strikethrough~~, and - [ ] / - [x] task lists. Turn it off and those are left as literal text on the way in, and <del>/<table>/checkbox inputs are converted to plain text on the way out instead of GFM syntax.
Neither parser aims to be a complete CommonMark or HTML5 implementation — deeply irregular or malformed input, footnotes, and exotic nesting can produce imperfect results. Everything runs locally as JavaScript in your browser tab; nothing you paste is uploaded anywhere.