How to use HTML ↔ MD
- 1. Pick a direction. MD → HTML or HTML → Markdown.
- 2. Paste. Drop a .md or .html file.
- 3. Copy the output. No live preview sandbox in this version.
- 4. Review HTML. Do not blindly inject untrusted HTML into a page.
About this tool
Markdown is how READMEs and docs start. HTML is what browsers and email still need. A local converter means a confidential draft does not hit a pastebin.
Lossy HTML
Turndown cannot preserve every data-attribute and inline style. Complex layouts belong in HTML.
Markdown dialect
marked follows CommonMark-ish rules. GitHub flavored tables survive better if you use the table converter.
Code examples
MD
# Title
A **bold** line.