Skip to content

HTML to Markdown Converter

Paste HTML and get clean Markdown — headings, lists, links, bold, italics, code blocks, and simple tables. Everything converts right in your browser; complex layouts and styles are dropped by design.

Heads up: Markdown expresses structure, not design. CSS styles, colors, multi-column layouts, forms, merged table cells, and embedded widgets are dropped — you get the clean content structure only.

Frequently Asked Questions

Which HTML elements are converted to Markdown?
Headings h1–h6 become # to ######, paragraphs and line breaks are preserved, strong/b becomes **bold**, em/i becomes *italic*, inline code becomes `code`, pre blocks become fenced code blocks, links become [text](url), images become ![alt](src), ul/ol lists become - or numbered items (including nesting), blockquotes become > quotes, hr becomes ---, and simple tables become pipe tables.
Does it handle nested lists?
Yes. Nested ul and ol lists are indented two spaces per level, which is how Markdown expresses sub-items, and ordered lists are renumbered 1., 2., 3. at each level.
What happens to tags the converter does not recognize?
Unknown tags like div, span, section, or article are unwrapped: the tag itself is dropped but its text content is kept. Script, style, and other non-content tags are removed entirely.
Can it convert HTML tables?
Simple tables convert to Markdown pipe tables, with the first row used as the header. Merged cells (colspan/rowspan) and nested tables are not supported, because pipe tables cannot express them.
Is my HTML uploaded to a server?
No. The conversion runs entirely in your browser using the built-in DOMParser — nothing you paste leaves your device.
Why does the Markdown look plainer than the original page?
Markdown only expresses document structure, not visual design. CSS styles, colors, fonts, multi-column layouts, forms, and embedded widgets are dropped by design — you get the clean content structure, which is the point of Markdown.

Related Tools