HTML Playground

Convert HTML to Markdown

Paste HTML from a web page, an email or a CMS and get clean Markdown back, with tables, code blocks, links and lists kept.

The Markdown updates as you type.

How to use it

  1. Paste HTML into the left box.
  2. The Markdown appears on the right as you type.
  3. Copy it, download a .md file, or open it in the live Markdown preview.

Questions

What is kept and what is dropped?

Headings, paragraphs, bold and italic, links, images, lists, tables, code blocks, blockquotes and strikethrough are converted. Scripts, styles, forms and embedded frames are dropped. Layout from CSS, such as columns or colours, has no Markdown equivalent.

Is the pasted HTML run?

No. It is read as data only, so scripts in it never run and images in it are not loaded.

Is my code uploaded or saved anywhere?

No. Everything runs in your browser. Your code is never sent to a server. A draft is kept in this browser only. Share links carry the code inside the link itself, after the # sign, which browsers never send to a server.

Also free and private: Markdown Preview and Private PDF tools.