Output appears here...How to use
Paste HTML or load a page
Paste a fragment or a whole page into the HTML pane, click Upload .html, or type a URL and click Convert web page. Try sample loads a page with a menu, a table, a task list and a footer.
Pick the Markdown style
Set Headings, Bullets, Code blocks, Italic, Bold and Links, and tick Main content only for full pages. With Live mode on, the default, the Markdown pane updates as you type or change an option.
Preview, copy or download
Tick Show rendered preview to check the result, then click Copy above the Markdown pane or Download .md. Check any table that used merged cells, since Markdown cannot show them.
Why HTML to Markdown Converter
- Converts a pasted snippet, an .html file or a live web page.
- Main content only removes menus, headers and footers from full pages.
- Markdown style options for headings, bullets, code, emphasis and links.
- GitHub tables with alignment, task lists and strikethrough, with a rendered preview.
HTML tags and the Markdown they become
The converter walks through the HTML and swaps each element for its Markdown form. Block elements such as headings, paragraphs and lists get blank lines around them. Inline elements such as links and bold text are converted in place. Anything without a Markdown form keeps its text and loses the tag.
If the result has stray backslashes, they are escapes: characters such as * or _ that appear in your text are escaped so they are not read as formatting.
| HTML | Markdown |
|---|---|
| <h1> to <h6> | # to ###### |
| <p> | Paragraph with a blank line after it |
| <strong> or <b> | **bold** |
| <em> or <i> | _italic_ |
| <del>, <s> or <strike> | ~~text~~ |
| <a href="url"> | [text](url) |
| <img src="x.png" alt="y"> |  |
| <ul><li> | - item |
| <ol><li> | 1. item |
| <blockquote> | > quote |
| <pre><code> | Fenced code block |
| <table> | Pipe table, first row as header |
| <input type="checkbox"> in a list item | - [ ] or - [x] task item |
| <script>, <style>, <noscript>, <iframe> | Removed |