About HTML to Markdown
This tool converts HTML into clean Markdown. Paste HTML — or content copied from a web page — and get tidy Markdown with headings, lists, links, bold, code and more. It is perfect for moving content into README files, static-site generators, notes apps and anywhere Markdown is preferred. It runs entirely in your browser.
How HTML to Markdown works
How to convert HTML to Markdown
- Paste your HTML in the box above.
- The Markdown output appears instantly.
- Copy it into your README, notes app or static-site content.
Clean, readable output
The converter maps HTML elements to their Markdown equivalents — headings, lists, links, images, bold and italics, blockquotes and code — and strips unnecessary markup so the result is easy to read and edit.
Why convert HTML to Markdown
Markdown is simpler to store, diff and edit than HTML. Converting lets you bring web content into Markdown-based workflows like GitHub, documentation sites and note apps.
HTML to Markdown reference
| HTML | Markdown |
|---|---|
<h1>…</h1> | # … |
<strong> | **bold** |
<em> | *italic* |
<a href> | [text](url) |
<li> | - item |
Common uses
- Move web content into Markdown
- Create README files from HTML
- Convert pages for static-site generators
- Clean up messy pasted HTML
- Migrate content to notes apps
- Turn rich text into Markdown
- Prepare docs for GitHub
- Simplify HTML for editing