Handitab

HTML to Markdown Converter

Convert HTML markup into clean Markdown with # headings, hyphen bullets, links, and fenced code blocks, ready to copy or download.

About HTML to Markdown Converter

An HTML to Markdown converter is a tool that rewrites HTML markup as Markdown text. It uses the Turndown library (version 7.1) with ATX headings (#), fenced code blocks, and hyphen bullets. Headings, paragraphs, emphasis, links, images, lists, blockquotes, and code are converted, and the result can be downloaded as a .md file. Tables and strikethrough are not converted, because the GitHub Flavored Markdown plugin is not loaded. The library loads from a CDN.

Also known as: HTML to MD Converter.

How to use HTML to Markdown Converter

  1. Type or paste into the "HTML" box, or press "Use example" to try it with sample data.
  2. The result appears below and updates as you type.
  3. Copy the result with the copy button, or download it as a file where that is offered.

Questions about HTML to Markdown Converter

What happens to HTML that has no Markdown equivalent?

Turndown keeps the text content and drops the tags for elements it has no rule for, such as div and span, so table cells come out as plain text. Inline styles, classes, and ids are lost.

Runs in your browser. Page last updated .

More text tools

All 56 text tools