How to use the HTML to Markdown Converter
- Paste HTML into the left box, or open an .html file.
- The Markdown appears on the right as you type.
- Pick your style:
#or underlined headings,-or*bullets, and fenced or indented code blocks. - Copy or download the .md file.
What gets converted
| HTML | Markdown |
|---|---|
<h2>Title</h2> | ## Title |
<strong>, <em> | **bold**, *italic* |
<a href="…"> | [text](url) |
<img src="…" alt="…"> |  |
<ul>, <ol> | - item, 1. item |
<pre><code> | Fenced code block, with the language when it's marked |
<table> | GitHub-style pipe table |
<blockquote>, <hr> | > quote, --- |
Scripts, styles, forms and comments are removed. Characters that mean something in Markdown, like * or _ in ordinary text, are escaped so they show up as written. To go the other way, use Markdown to HTML.
Frequently asked questions
Is my HTML uploaded?
No. It's converted in your browser.
Which Markdown flavor is the output?
GitHub-flavored Markdown (GFM): fenced code blocks, pipe tables and ~~strikethrough~~.
Can I convert a whole web page?
Yes. Paste its HTML source. Navigation, scripts and styles are dropped, but you may want to delete menus and footers by hand.
Updated