HTML to Markdown Converter
Paste HTML and get clean Markdown. Useful for migrating CMS content, scraping articles, or converting WYSIWYG output to plain markdown for static sites.
# Hello A **bold** statement and *italic* text. - Item 1 - Item 2 [Toolify](https://tools.appdevelopsk.com)
How it works
What gets converted
Headings (h1-h6) become # to ######. <strong>/<b> become **bold**, <em>/<i> become *italic*. <code> becomes `inline code`, <pre><code> becomes a fenced ``` block. <ul>/<ol> become - or 1. lists. <a href> becomes [text](url), <img src alt> becomes . <blockquote> becomes >, <hr> becomes ---. <br> becomes a newline.
Anything not recognized (custom HTML like <details>, <table>, <video>, etc.) is stripped of tags but the text content is preserved. For complex HTML with tables or media, expect some loss.
Common use cases
CMS migration: copy WYSIWYG HTML out of WordPress, Wix, etc., and convert to clean Markdown for use in static-site generators (Hugo, Jekyll, Next.js, Astro).
Article archiving: save web articles as Markdown for personal reading. Combine with a paywall-friendly extractor (Reader mode HTML) for clean text-only output.
Email-to-Markdown: paste HTML email content and get a Markdown version for cross-posting to your blog.
Limitations
Tables: not converted (Markdown tables are GFM, not CommonMark). Tables are stripped to plain text. For complex tables, paste as HTML instead.
Inline styles: any color, font, or layout via <style> or style='' attributes is lost. Markdown is intentionally minimal.
Nested lists: simple single-level lists work; deeply nested lists may merge or lose structure. For complex outlines, hand-edit after conversion.
Frequently asked questions
›Does this preserve formatting perfectly?
For CommonMark-compatible elements: yes. For HTML-only features (custom CSS, complex layouts), no — Markdown is intentionally a subset.
›Are tables converted?
Not yet. Tables become plain text. We may add GFM table conversion in a future version.
›Will my links survive the conversion?
Yes. <a href='url'>text</a> becomes [text](url). The href attribute is preserved.
›What about inline styles?
Stripped. Markdown doesn't support arbitrary styling — that's intentional.
›How do I convert back to HTML?
Use our Markdown to HTML converter (linked under Related Tools).
›Is the output safe to paste anywhere?
It's clean text — no script, no HTML — so safe for any markdown editor or text field. Validate before publishing if input was from an untrusted source.
›Why is some content missing?
Custom or non-standard HTML elements may be stripped. Paste an HTML snippet of <details>, <video>, or framework-specific tags to verify.
›Does the data leave my browser?
No. Conversion runs locally; your HTML is never sent anywhere.
Related tools
Last updated: