Direct answer
Paste HTML below.
becomes #, becomes ** **, becomes [text](url), becomes ``` fences. Layout-only divs are dropped.
becomes ``` fences. Layout-only divs are dropped.
Ad
HTML input
Markdown output
About HTML → Markdown
You'd convert HTML to Markdown when migrating content from a CMS to a static-site generator (Jekyll, Hugo, MkDocs), saving rich web pages as readable notes (Notion, Obsidian), or stripping presentational tags before processing.
HTML vs Markdown
| HTML | Markdown | |
|---|---|---|
| Readability raw | Cluttered | Excellent |
| File size | Large (lots of tags) | Small |
| Future-proof | Tied to web platform | Plain text, forever |
Ad
Frequently asked questions
What about tags?