How to use HTML to Markdown
- 1. Paste HTML. Paste markup, or drop an .html file. It never leaves the browser.
- 2. Confirm HTML → Markdown. This landing page selects that direction for you.
- 3. Copy the Markdown. Clean up data-attributes and leftover spans if the source was messy.
About this tool
“HTML to markdown” is a different job from generating HTML. Turndown walks the DOM you paste and emits Markdown. It is lossy on layout, which is why this page exists as its own URL instead of hiding behind a dropdown.
What you will lose
Inline styles, many data-* attributes, and deeply nested layout tables. Semantic content — headings, lists, links, code — usually round-trips. Treat the output as a draft.
When to keep HTML
Marketing pages and email templates belong in HTML. Use this converter for documentation and tickets, not for pixel-perfect newsletters.
Code examples
MD
# Title
A **bold** line.