D

HTML → Markdown

Convert HTML to Markdown — using Turndown, entirely in your browser.

Runs 100% in your browser — nothing is uploaded

About this tool

The HTML to Markdown converter transforms HTML into clean Markdown text using the Turndown library. Paste raw HTML from a web page, an email client, a CMS export, or a rich text editor and get back Markdown you can use in documentation, README files, static site generators, or any Markdown-based tool.

Turndown handles the most common HTML elements: headings (h1–h6), paragraphs, bold and italic, links, images, ordered and unordered lists, blockquotes, code elements, and pre blocks. Table support via the turndown-plugin-gfm extension can be added. All conversion runs client-side.

Frequently asked questions

How does it handle complex HTML with styles?
Inline styles, classes, and attributes are generally stripped — Markdown has no equivalent. Semantic structure (headings, lists, links) is preserved; cosmetic formatting is dropped.
What happens to HTML tables?
Basic tables are converted to GFM pipe-table syntax. Complex tables with merged cells may not convert perfectly.