RichMarkdown › HTML to Markdown

HTML to Markdown

Want an article, documentation page or newsletter as Markdown? Select it in your browser, paste it into RichMarkdown, and the page structure turns into Markdown while the layout clutter is thrown away.

From a web page

  1. Select the part of the page you want (drag across it, or Ctrl + A for everything) and copy it.
  2. Paste into the RichMarkdown editor.
  3. Delete anything you don't need (navigation, ads), then Export .md.

When you paste, RichMarkdown keeps only elements that have a Markdown meaning — headings, paragraphs, lists, links, images, code, quotes and tables — and removes scripts, styles, forms, buttons and embedded frames. Links that aren't http(s), mailto or relative are dropped.

How HTML maps to Markdown

HTMLMarkdown
<h1>…<h6>#…######
<strong>, <b>**text**
<em>, <i>*text*
<a href>[text](url)
<img>![alt](src)
<ul>, <ol>-, 1.
<pre><code>fenced ``` block
<blockquote>>
<table>GFM pipe table
<div>, <span>, styles, scriptsUnwrapped or removed

Good uses

FAQ

Can I paste raw HTML source code?

Pasting source code inserts it as text. To convert markup, open the HTML file in a browser, select the rendered page and copy that.

Is it safe to paste from untrusted pages?

Yes. Scripts, event handlers, styles and frames are removed during paste, and everything stays in your browser.

Open the free editor