Markdown · HTML to MD
Convert HTML to Markdown
Paste any HTML — including Telegram-formatted text or rich-text from your editor — and get clean Markdown ready for Jekyll, Hugo, GitHub, or Notion. No signup, instant.
Free, no signup. Up to 1 MB per request.
HTML to Markdown examples
Paste real HTML in the left column, see the Markdown output on the right.
How HTML-to-Markdown conversion works
Paste HTML — Paste your HTML into the input field.
Convert — Click Convert — get Markdown instantly.
Copy — Copy the Markdown to clipboard or download as `.md`.
HTML edge cases we handle
Telegram entities
Custom emoji (`tg-emoji`), text-link entities, and code-block language attributes are detected and preserved — no other converter handles these correctly.
Code highlighting
`<code class="lang-X">` is converted to fenced blocks with language hint preserved (` ```X `).
GFM tables
Semantic HTML tables convert to GFM pipe-table syntax with header alignment kept.
HTML entities
Encoded entities like `&`, `<`, ` ` are decoded to their literal characters.
Frequently asked questions
Does it preserve code highlighting?
Yes. <code class="lang-X"> becomes a fenced block with the language hint kept.
What about HTML tables?
Tables convert to GFM pipe-table syntax with header alignment preserved.
Can it handle Telegram-formatted text?
Yes — this is our exclusive moat. Custom emoji, text_link entities, and code-block language attributes all convert correctly.
Will it strip inline styles?
Yes. Style attributes are removed; only structural and semantic tags map to Markdown equivalents.
Is GFM (GitHub Flavored Markdown) supported?
Yes. The converter outputs GFM-compatible Markdown including tables, task lists, and fenced code with language hints.
Related Tools
Process bigger files in @vustMarkdownBot
500-character free conversions in chat — pay-as-you-go for longer text.