Skip to content
Mediawand

HTML to Markdown Converter

Move content from a web page or CMS into Markdown for docs, a README, notes or a static site. Headings, emphasis, links, images, lists, code and tables come across cleanly.

How to convert HTML to Markdown

  1. 1Paste HTML or open an .html file.
  2. 2Choose the heading, bullet and code block styles.
  3. 3Copy the Markdown or download it as a .md file.

Styles

Headings can be written with # or underlined, bullets with -, * or +, and code blocks fenced with ``` or indented, to match your project's conventions.

Tables and task lists

With GitHub-style output on, HTML tables become Markdown tables, checkboxes in lists become task items and struck-through text gets ~~tildes~~.

What's dropped

Scripts and styles are removed. Layout elements like <div> and <span> have no Markdown form, so only their text is kept.

Frequently asked questions

Is my data uploaded?
No. The conversion runs in your browser and nothing is sent anywhere.
Can I convert a whole web page?
Yes, paste its HTML. For the cleanest result, paste only the main article rather than menus and footers.
Which converter is it?
Turndown, with its GitHub Flavored Markdown plugin.

Related tools

Loading tools…