HTML to Markdown
Paste HTML on the left, get clean Markdown output on the right in real-time.
- Home
- Laravel Tools
- HTML to Markdown
HTML
Markdown Output
How to Use
- Paste HTML on the left panel — see the Markdown output update in real-time on the right.
- Copy the generated Markdown using the Copy Markdown button, or Download as an .md file.
- Click Example to load a sample HTML document that demonstrates all supported conversions.
- Use Clear to reset and start fresh.
Tip
Supports headings, bold, italic, links, images, code blocks, lists, blockquotes, tables, horizontal rules, and inline code. The conversion runs 100% in your browser using the Turndown library.
HTML to Markdown Reference
| HTML Element | Markdown Output |
|---|---|
| <h1>Heading</h1> | # Heading |
| <strong>bold</strong> | **bold** |
| <em>italic</em> | *italic* |
| <a href="url">text</a> | [text](url) |
| <img src="url" alt="alt"> |  |
| <pre><code>...</code></pre> | ``` ... ``` |
| <code>code</code> | `code` |
| <ul><li>item</li></ul> | - item |
| <ol><li>item</li></ol> | 1. item |
| <blockquote>quote</blockquote> | > quote |
| <hr> | --- |
| <table><tr><td>A</td></tr></table> | | A | |
Frequently Asked Questions
Can I convert any HTML to Markdown?
This tool supports most common HTML elements including headings, paragraphs, lists, tables, links, images, code blocks, and blockquotes. Complex layouts with extensive CSS styling may produce simplified Markdown.
Is my HTML data sent to a server?
No. All conversion happens 100% client-side in your browser using the Turndown library. Your HTML never leaves your machine.
What is the opposite of this tool?
The opposite is the Markdown to HTML converter, which converts Markdown back to HTML with a live preview editor.