HTML to Markdown

Convert HTML content to Markdown format.

Convert HTML to Markdown. Paste HTML from a web page, a CMS or an email and get Markdown with headings, bold and italic, links, images, lists, block quotes and code blocks. Choose # headings or underlined ones, and the bullet character. Conversion uses the open-source Turndown library in your browser. Tables and complex layouts don't convert to Markdown structure and may need tidying by hand.

Common use cases

  • Move blog posts from WordPress to a Markdown-based site
  • Turn a web page into notes for Obsidian or Notion
  • Write a README from existing HTML documentation
  • Clean formatted text into plain Markdown

How to use

  1. Paste the HTML, or press Try an example.
  2. Choose the heading style and bullet character.
  3. Copy or download the Markdown.

FAQ

Can I paste a rendered web page?

Paste the HTML source rather than the text you see. In most browsers, right-click and choose View Page Source, or copy an element's HTML from the developer tools.

What about tables?

Tables come through as plain text rather than Markdown tables. The table to Markdown converter makes a Markdown table from rows you paste.

How do I check the result?

Paste the Markdown into the Markdown preview to see how it renders.