HTML to Markdown converter
Convert HTML snippets into GitHub-Flavored Markdown for READMEs and docs.
How to use
- Copy HTML from a page, editor or CMS export and paste it in.
- The GitHub-Flavored Markdown appears instantly.
- Paste it into your README, wiki or docs — give tables and images a quick once-over.
Frequently asked questions
What happens to CSS classes, colors and layout tags?
They are dropped — Markdown cannot express them. Text content always survives; presentation-only markup is flattened to the text it wraps.
Are tables converted?
Yes — <table> becomes a GFM pipe table, header row included. Merged cells are simplified, since Markdown tables have no colspan or rowspan.
Is it safe to paste HTML from a random website?
Yes. The HTML is parsed inertly — scripts never execute and images are never fetched — and everything stays in your browser.
About this tool
Moving content from a website, CMS export or rich-text editor into a README, wiki or documentation site means translating HTML back into Markdown. This converter walks the real HTML structure — no regex guesswork — and emits GitHub-Flavored Markdown: headings to #, lists with correct nesting, links, images, fenced code blocks, strikethrough and genuine GFM pipe tables. The translation is honestly lossy: Markdown has no equivalent for inline styles, colors or layout markup like <div>, so presentation is dropped and unknown wrappers are flattened to their text. What survives is the structure Markdown can express — usually exactly what a README needs. All parsing happens in your browser.