Skip to content
TabKiwiTabKiwi

HTML to Markdown

Turn HTML into readable Markdown, with tables, strikethrough and task lists, after removing unsafe code.

TextRuns in your browser. Your files never leave this device.
Loading tool…

About this tool

Paste HTML from a web page, email or CMS and get tidy Markdown back. The input is sanitized first, so scripts and styles are dropped, and then headings, lists, links, code blocks, tables and strikethrough are converted. Choose the Markdown style you prefer for headings, bullets, emphasis and links.

How to use HTML to Markdown

  1. Paste HTML or open an .html file.
  2. Pick your preferred heading, bullet and link styles.
  3. Copy or download the Markdown.

Frequently asked questions

Are tables converted?

Yes. HTML tables become GitHub-style pipe tables, with the first row used as the header. Merged cells can't be represented in Markdown and are flattened.

What happens to classes, colours and layout?

Markdown has no styling, so presentational markup is dropped and only the content structure is kept.

More Text tools

View all 60 →