vust

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 · Instant

Free, no signup. Up to 1 MB per request.

Instant conversionGFM-compatibleTelegram entities
Specimens

HTML to Markdown examples

Paste real HTML in the left column, see the Markdown output on the right.

Telegram HTML

HTML

<b>Project</b> <i>Status:</i> <code>OK</code>

Markdown

**Project** _Status:_ `OK`

Rich text

HTML

<h2>Title</h2><ul><li>Item</li></ul>

Markdown

## Title - Item

Code-rich

HTML

<pre><code class="lang-js">const x = 1;</code></pre>

Markdown

```js const x = 1; ```

How HTML-to-Markdown conversion works

01

Paste HTML — Paste your HTML into the input field.

02

Convert — Click Convert — get Markdown instantly.

03

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 `&amp;`, `&lt;`, `&nbsp;` are decoded to their literal characters.

FAQ

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.

Process bigger files in @vustMarkdownBot

500-character free conversions in chat — pay-as-you-go for longer text.

Open Telegram bot