Runs in your browser

HTML to Markdown

Convert HTML snippets into tidy Markdown.

Part of the Markdown to PDF & Word bot
Processed in your browser
Drop an .html file
Markdown

About the HTML to Markdown Converter

Convert HTML into tidy Markdown, or paste formatted text straight from a web page, Google Docs or Word. Headings, links, lists, tables and code blocks are preserved, and scripts and clutter are removed.

How to use the HTML to Markdown Converter

  1. Paste HTML code, open an .html file, or switch to Paste formatted text and paste from a web page, Google Docs or Word.
  2. Pick heading, bullet and link styles.
  3. Check the Markdown or its preview, then copy or download it.

Copy from anywhere

In Paste formatted text mode, copy content straight from a website, Google Docs, Notion or Word and paste it in. Headings, bold, links, lists, tables and code come across as Markdown.

Tables and task lists

GitHub Flavored Markdown is supported: HTML tables become pipe tables, <del> becomes strikethrough, and checkbox lists become task lists. Code blocks keep their language.

Junk removed

Scripts, styles, forms and embedded frames are dropped, so you get clean content only.

Questions

Is the HTML uploaded?

No. Conversion happens in your browser. Scripts in the HTML are never run.

Can I convert a whole web page?

Yes. Save the page as HTML and open it, or select the content on the page and paste it in formatted-text mode, which usually gives cleaner results.

What are reference-style links?

Instead of putting URLs inline, links are numbered and listed at the bottom, which keeps paragraphs easier to read.

Also searched as: convert html to markdown · html to md · webpage to markdown · rich text to markdown · google docs to markdown · html2markdown