HTML to Markdown converter

Paste rich text from a web page, Word or Google Docs, or type HTML, and get clean GitHub Flavored Markdown.

Runs in your browser. Nothing you paste or open is sent to a server.

HTML or rich text

How to use it

  1. Copy

    Select the part of a web page or document you want and copy it.

  2. Paste

    Paste it into the left sheet. Rich text goes in as its HTML source, and the Markdown appears on the right. Check it on the Preview tab.

  3. Take it with you

    Copy the Markdown, save it as a .md file, or open it in Richdown Web to keep writing.

What becomes what

Each row is a real conversion by this page.

HTMLMarkdown
Heading
<h2>Overview</h2>
## Overview
Bold and italic
<strong>Note</strong> and <em>aside</em>
**Note** and *aside*
Google Docs bold
<span style="font-weight:700">Bold</span>
**Bold**
Link
<a href="https://example.com">Site</a>
[Site](https://example.com)
Nested list
<ul><li>Item<ul><li>Child</li></ul></li></ul>
- Item
  - Child
Checkbox
<ul><li><input type="checkbox" checked> Done</li></ul>
- [x] Done
Table
<table><tr><th>Plan</th><th>Price</th></tr>
<tr><td>Free</td><td>$0</td></tr></table>
| Plan | Price |
| ---- | ----- |
| Free | $0    |
Code
<pre><code class="language-js">run()</code></pre>
```js
run()
```
Quote
<blockquote>Quoted</blockquote>
> Quoted

Scripts, styles and embedded frames are removed. Characters that would turn into formatting, such as a # at the start of a line, get a backslash so the text reads the same.

Questions

Is what I paste sent anywhere?

No. The conversion runs in your browser with Turndown. Nothing you paste is uploaded or stored.

Does it keep bold text from Google Docs and Word?

Yes. Google Docs and Word set bold, italic and strikethrough with styles rather than tags. Those styles are read and become **bold**, *italic* and ~~strikethrough~~.

What happens to a table without a header row?

Markdown tables need a header row, so the first row becomes the header.

Can I paste straight into the editor?

Yes. In the Richdown Web editor, rich text you paste becomes Markdown, and cells copied from a spreadsheet become a table. Hold Shift while pasting (Ctrl/⌘+Shift+V) to paste plain text instead.

Why do some characters get a backslash?

Characters that would otherwise turn into Markdown formatting, such as a * or a # at the start of a line, are escaped so the text reads the same as the original.

More tools