HTML to Markdown Converter

Convert HTML to Markdown for clean, portable docs. Strips tags, preserves headings, links, lists, and code blocks.

Converter
Direct answer

Paste HTML below.

becomes #, becomes ** **, becomes [text](url),
 becomes ``` fences. Layout-only divs are dropped.

Ad
HTML input
Markdown output

About HTML → Markdown

You'd convert HTML to Markdown when migrating content from a CMS to a static-site generator (Jekyll, Hugo, MkDocs), saving rich web pages as readable notes (Notion, Obsidian), or stripping presentational tags before processing.

HTML vs Markdown

 HTMLMarkdown
Readability rawClutteredExcellent
File sizeLarge (lots of tags)Small
Future-proofTied to web platformPlain text, forever
Ad

Frequently asked questions

What about tags?
Tables convert to Markdown table syntax (| cell | cell |) for simple structures. Complex tables with rowspan/colspan become HTML inline.
Are inline styles preserved?
No — Markdown doesn't support arbitrary styling. Bold, italic, underline, and strikethrough are kept as Markdown equivalents; everything else is stripped.
Will my HTML images survive?
Yes — y becomes ![y](x). The alt attribute becomes the Markdown alt text.

Related tools