HTML to Markdown converter
Paste HTML and get clean Markdown: headings, emphasis, links, lists, images, code and tables are all converted.
How it works
-
Paste your text
Type or paste the text in the left box, or open a .txt file. No text to hand? Click Example.
-
Instant result
The result appears as you type. Change the options and see straight away what changes.
-
Copy or download
Copy the result with one click, save it as a file or use it as input for a next step.
What is converted
<h1>Title</h1><p>This is <strong>bold</strong> and <a href="https://example.com">a link</a>.</p> becomes:
```
Title
This is bold and a link. ```
Choose the heading style: # Heading (ATX, the most common) or a heading with ==== underneath (setext). Lists, block quotes, code blocks and tables are converted too, and scripts and styles are dropped.
Pasting from a web page or Word document instead of HTML code? Try rich text to Markdown. To turn Markdown into HTML, use Markdown to HTML.
Frequently asked questions
Is the HTML to Markdown free?
Yes. The HTML to Markdown is completely free, with no account, sign-up or usage limit.
Is my text stored?
No. Your text is processed in your browser and is not sent to a server or stored.
Is there a maximum length?
No, there is no fixed limit. Very long texts can just be a little slower.