HTML to Markdown
Clean HTML → Markdown
What is HTML to Markdown?
Convert HTML (or a chunk of HTML from a web page) into clean Markdown. Handles headings, lists, code blocks with fenced syntax, blockquotes, tables, and links — with optional GFM extensions like strikethrough. Useful for importing content into a Markdown-based CMS, extracting a readable version of a web page, or cleaning up rich-text output from a legacy editor.
How do I use HTML to Markdown?
- Paste HTML into the input panel.
- Choose GFM (GitHub-flavoured) or CommonMark output.
- Copy or download the Markdown.
When should I use HTML to Markdown?
HTML to Markdown is the right direction when the source is already structured HTML. For Markdown → HTML instead, use Markdown to HTML.
Which HTML elements are converted?
All standard block and inline tags (headings, lists, tables, code, blockquotes, links, images, bold / italic / strikethrough). Unknown or structural tags (div, span, section) are kept only if they contain convertible content.
Will the output look identical?
Semantically yes, visually no — Markdown does not preserve styling, alignment, or custom classes. For like-for-like rendering, keep HTML.
Does it handle tables?
Yes — HTML tables become GitHub Flavored Markdown tables, with alignment hints preserved from <th> alignment attributes.
Is my file uploaded anywhere?
No. Everything runs in your browser. Your files never leave your device, and there is no server component for this tool.