Converters

HTML to Markdown Converter

Convert HTML back into Markdown.

HTML input
Markdown output

This free HTML to Markdown converter walks the HTML DOM with the browser's DOMParser and emits clean, portable Markdown. It handles headings, paragraphs, bold and italic, links and images, ordered and unordered (and nested) lists, inline code and fenced code blocks with language hints, blockquotes, line breaks and horizontal rules. Unknown tags fall back to their text content, and the output updates live as you type.

Everything you can tune on the big desktop editors is here: choose ATX (#) or Setext (===) headings, pick your bullet marker (-, * or +), switch between fenced and 4-space indented code blocks, use * or_ for emphasis, and emit inline or referenced links. Turn on GitHub Flavored Markdown to convert HTML tables into pipe tables,<del>/<s> into ~~strikethrough~~, and checkbox list items into - [ ] task lists.

Load the sample to see it in action, upload or drag-and-drop an.html file, then copy the Markdown or download it as a.md file. A live character, word and line count sits under the output, and parse problems surface as a clear error message.

Related tools