Paste HTML, get clean Markdown. Supports headings, links, images, lists, tables, code blocks, bold, italic, and more.
| HTML | Markdown | Notes |
|---|---|---|
| <h1>...</h1> | # Heading | h1-h6 supported |
| <strong> | **bold** | Also <b> |
| <em> | *italic* | Also <i> |
| <a href="..."> | [text](url) | Inline or referenced |
| <img src="..."> |  | With title if present |
| <ul><li> | - item | Nested supported |
| <ol><li> | 1. item | Nested supported |
| <pre><code> | ```code``` | Fenced or indented |
| <code> | `inline` | Inline code |
| <blockquote> | > quote | Nested supported |
| <table> | GFM table | With alignment |
| <hr> | --- | Horizontal rule |
| <br> | Two spaces + newline | Line break |
| <del>/<s> | ~~strikethrough~~ | GFM extension |
Convert any HTML content to clean, readable Markdown with this free online tool. Whether you're migrating a blog from WordPress to a static site generator, converting documentation, or just need to work with Markdown, this tool handles all common HTML elements.
This converter handles: headings (h1-h6), paragraphs, bold/italic/strikethrough, links (inline and referenced), images with alt text, ordered and unordered lists (including nested), code blocks (fenced and indented), inline code, blockquotes (including nested), horizontal rules, line breaks, and GFM tables with alignment.
All conversion happens in your browser. Your HTML content is never sent to any server. There's no tracking, no analytics, no data collection. The tool is 100% client-side JavaScript.
Try our Markdown Preview — write and preview Markdown side-by-side.
JSON formatter, regex tester, image compressor, and more — all free, all client-side.
Browse All Tools →Markdown is a lightweight markup language using plain text formatting symbols like # for headings and ** for bold. Converting HTML to Markdown is useful for importing web content into documentation systems, static site generators, CMS platforms, or GitHub READMEs. It strips complex HTML and produces clean, readable plain text with simple formatting.
Most converters support headings (h1-h6), paragraphs, bold and italic text, links, images, ordered and unordered lists, blockquotes, inline code, code blocks, and tables. Elements without Markdown equivalents — like div, span, forms, or scripts — are typically stripped or converted to plain text. Custom HTML attributes and inline styles are usually dropped.
Yes. HTML anchor tags become Markdown links: [link text](url). HTML img tags become Markdown images: . Relative URLs are preserved as-is. Title attributes can optionally be included. Most converters handle nested elements within links correctly, though complex styled links may lose formatting.
CommonMark is a standardized Markdown specification with unambiguous syntax rules. GitHub Flavored Markdown (GFM) extends CommonMark with tables, strikethrough, task lists, and syntax-highlighted code fences. GFM is the format used in GitHub READMEs, issues, and pull requests. Most documentation platforms support GFM or a close variant.
You can paste any HTML fragment or full page body into the converter. For full pages, paste just the main content HTML to avoid nav, footer, and sidebar clutter in the output. Our converter processes whatever HTML you paste and outputs clean Markdown instantly in your browser without uploading anything.