Sign in

File tools that never upload your files

Convert HTML to Markdown

Move content from a web page, an e-mail template or an old CMS into Markdown for a wiki, a static site or notes. Paste the HTML or open a file; it is converted in your browser and never leaves your device.

5 free data and file results; text tools such as the JSON formatter never count. Paid plans have no usage limits.

How it works

  1. 1

    Paste the HTML

    Paste it or open an .html file.

  2. 2

    Read the Markdown

    Clean Markdown appears next to it.

  3. 3

    Copy or download

    Copy it or save it as an .md file.

Why work without uploading

Readable output

# headings, - bullet lists and fenced code blocks.

Scripts removed

script, style and noscript blocks are dropped before converting.

Private

Converted on your device.

Good to know

Headings, paragraphs, emphasis, links, images, lists, block quotes and code are turned into their Markdown equivalents. Elements Markdown has no syntax for, such as layout divs, are reduced to their text, so the result focuses on the content.

Inline styles, classes and scripts are discarded, which also makes the tool handy for cleaning up content copied from a website before pasting it elsewhere.

Complex layouts with nested tables or forms are simplified. Check the result, and use Markdown to HTML to go back the other way. You can paste the code or open an .html or .htm file directly.

Questions and answers

Are scripts and styles kept?

No. They are removed before converting.

Which Markdown style is used?

ATX headings (#), - for bullets and fenced code blocks.

Is my HTML uploaded?

No. It is converted in your browser.

Are links kept?

Yes. Links become [text](address) in the Markdown.

Are images kept?

Yes, as Markdown image references with their address.