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
- Paste HTML or open an .html file.
- Pick your preferred heading, bullet and link styles.
- 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.