Markdown paste helper

Convert Markdown for Telegram

Input

Markdown

Paste raw Markdown from your editor

Output

Telegram Preview

Review the preview, then copy for Telegram.

Hello, Telegram

Paste Markdown, get Telegram-ready text.

  • lists work
  • code too

quotes stay as "> " markers

  • Name: md2tg
  • Value: 1
157 / 4,096

What md2tg converts

Telegram apps understand their own Markdown dialect in the message input. md2tg translates standard Markdown into exactly that dialect:

MarkdownTelegram
# HeadingBold heading line
**bold**, *italic*bold, italic
`inline code`monospace text
``` fenced blocks ```code block with language
~~strike~~, ||spoiler||strikethrough, hidden spoiler
[text](url)text (url)
> quotekept as "> " marker lines
tablesbullet cards, first field bolded
- list, 1. list• bullets, numbered items

How to use

  1. Write your post in Markdown anywhere — Obsidian, VS Code, an LLM chat.
  2. Paste it into the input panel and click Copy for Telegram.
  3. Paste into any Telegram chat — the formatting appears instantly.

FAQ

Does Telegram support Markdown?

Telegram apps parse a subset of Markdown as you type or paste: **bold**, __italic__, `inline code`, ```fenced code blocks```, ~~strikethrough~~ and ||spoilers||. Links written as [text](url) and > quotes are not parsed, which is why md2tg converts links to "text (url)" and keeps quotes as "> " lines.

How do I convert Markdown to Telegram format?

Paste your Markdown into the input panel, click "Copy for Telegram", then paste into any Telegram chat. Telegram renders the formatting on paste — no bots or accounts needed.

How do I make bold text in Telegram?

Surround the text with double asterisks **like this** and Telegram shows it bold. The same trick works for __italic__, `monospace`, ~~strikethrough~~ and ||spoilers||. md2tg converts your Markdown headings and bold text to this dialect automatically.

Why are my links converted to "text (url)"?

md2tg copies your text with real clickable links whenever the target app supports rich paste — Telegram Desktop converts copied HTML into link entities automatically. The plain fallback (for apps without rich paste) renders links as readable "text (url)", since Telegram's input does not parse [text](url) syntax. Clickable links via bots are a separate mechanism.

Does md2tg work on mobile?

Yes. md2tg is a web tool that works in any modern browser on desktop and mobile, and the copy button uses the standard clipboard API.

Is there an API?

Yes — a free REST API, no keys needed. POST your Markdown to https://md2tg.osovv.dev/api/convert and get JSON with Telegram client markdown plus Bot-API-ready HTML (parse_mode=HTML) — no MarkdownV2 escaping required. Smart splitting at the 4,096-character message limit is included.

For bots & automation

The same converter is available as a free REST API — no keys, no signup. Send Markdown, get JSON back with the Telegram client dialect and Bot-API-ready HTML (parse_mode=HTML). No MarkdownV2 escaping required.

Example:

curl
curl -X POST https://md2tg.osovv.dev/api/convert \
  -H "Content-Type: application/json" \
  -d '{"markdown":"# Hello **world**"}'

The response includes smart splitting: "parts" contains message-sized chunks below the 4,096-character limit.