Telegram deep link builder
Generate tg:// deep links and https://t.me URLs for
every common Telegram action. Useful for app integrations, marketing pages,
welcome flows, and "open in Telegram" buttons.
Deep link reference
| Open user / channel | tg://resolve?domain=username |
| Bot with start param | tg://resolve?domain=bot&start=value |
| Bot startgroup | tg://resolve?domain=bot&startgroup=value |
| Invite link | tg://join?invite=AbCdEfGhIjK |
| Share | tg://msg_url?url=...&text=... |
| Phone | tg://resolve?phone=15551234567 |
tg:// links open the Telegram app directly when the user has it installed.
https://t.me/... links work universally (web fallback if no app).
Most pages should use t.me; use tg:// inside your own app where you know Telegram is installed.
Start parameters explained
A start parameter is a custom string (≤64 chars, A-Z, a-z, 0-9, _ or -) that
your bot receives the first time a user clicks the link. Use it to attribute
referral source, pre-fill a coupon code, deep-link to a specific bot screen,
or carry an auth token from your website into the bot conversation.
Why this matters for marketing
Every campaign should pass its own start parameter — ?start=instagram,
?start=summer25, ?start=podcast_ep14. The bot then logs the
source the moment the user first interacts, giving you clean attribution that
survives device switches and incognito tabs.