ToolBark
Developer

HTML to Markdown Converter

Convert HTML to clean Markdown in your browser — instantly, free

About

The HTML to Markdown Converter lets you paste any HTML snippet and get clean, readable Markdown back in seconds — entirely in your browser. It handles the full range of common elements: headings (ATX and Setext styles), bold, italic, strikethrough, inline code, fenced code blocks with language hints, ordered and unordered lists, blockquotes, links, images, and GitHub-Flavored Markdown tables. No uploads, no servers, no signup.

FAQ
What HTML elements does the converter support?+

It supports headings (h1–h6), paragraphs, bold (strong/b), italic (em/i), strikethrough (del/s), inline code, pre/code blocks with language detection, blockquotes, ordered and unordered lists, links, images, horizontal rules, and tables. Generic block containers like div, section, and article are treated as transparent wrappers.

Will my HTML be sent to a server?+

No. The entire conversion happens in your browser using the built-in DOMParser API. Nothing is transmitted over the network, so it is completely private and works offline.

What is the difference between ATX and Setext heading styles?+

ATX headings use hash symbols (e.g. '## Heading 2'), while Setext headings use an underline of equals signs or dashes beneath the heading text. ATX works for all six heading levels; Setext only supports h1 and h2, so the tool falls back to ATX for h3–h6 when Setext is selected.

Does it support GitHub-Flavored Markdown (GFM) tables?+

Yes. When the 'GFM tables' option is enabled, HTML tables are converted to the pipe-separated GFM table format, including an automatic separator row after the header. If the option is disabled, the table text is rendered as plain text instead.

Related tools