HTML to Markdown

About this tool

Paste any HTML fragment or full document and this converter walks the parsed DOM tree and rewrites it as clean Markdown. It handles h1–h6 headings, bold and italic, inline code and fenced code blocks, links and images, ordered and unordered lists including nesting, blockquotes, horizontal rules, paragraphs and GitHub-style tables.

The HTML is parsed with the browser's own DOMParser, so no raw markup is ever injected into the page — script and style elements are dropped and only text and known tags are turned into Markdown. Everything happens locally in your browser and nothing is uploaded.

Related tools

Markdown PreviewCSV to TableHTML Escape