This Telegram chat ID finder turns a public channel or group @username or t.me link into the numeric chat_id the Bot API needs. Paste the link, and the lookup asks Telegram’s getChat for you, so no token of yours is needed. For private chats and people, the pages linked below show how to read the ID from an update.
The Bot API keeps users, groups and channels apart by range. A channel's or supergroup's ID is its MTProto ID plus 10¹², made negative.
# the same call, with your own bot curl https://api.telegram.org/bot$TOKEN/getChat \ -d chat_id=-1001234567890
Positive = user or bot. Negative = chat; the range tells the kind.
1 … 1,099,511,627,775
−1 … −999,999,999,999
−1,000,000,000,001 … −1,997,852,516,352
−1,997,852,516,353 … −2,002,147,483,648
−2,002,147,483,649 … −4,000,000,000,000
Nobody can look these up by name — Telegram only tells a bot the ID of a chat the bot is in, or of a person who wrote to it.
Any bot you created with @BotFather works. Send it a message — in the group, mention it or send a command.
Call getUpdates for your bot yourself, from your own terminal. The token stays with you and is never typed into this site.
Paste the answer into the inspector and every ID in it is listed. It is read in your browser only.
Type in any field; the others fill in. Works offline in your browser.
Channel / supergroup. −(10¹² + MTProto channel ID). This is the −100 prefix.
From Telegram's own “Bot API dialog IDs” page.
| Kind | From | To |
|---|---|---|
| User | 1 | 1099511627775 |
| Group | -999999999999 | -1 |
| Channel | -1997852516352 | -1000000000001 |
| Secret chat | -2002147483648 | -1997852516353 |
| Monoforum | -4000000000000 | -2002147483649 |
Every Telegram chat has a fixed number. Usernames can change and links can be revoked, but the number stays. That is why bots, alerting tools and automation services ask for the chat_id rather than the name: it is the one value that keeps pointing at the same chat.
A public channel or group has an @username, which makes it visible to the Bot API by name. Paste @name, t.me/name or a full message link into the lookup above. If the chat is listed in this directory, its stored ID is shown straight away; otherwise the site calls getChat with that username and shows the chat_id, the kind of chat and its title. The bot does not have to be a member of a public chat for this.
A private group, a private channel or a person has no public name the Bot API can resolve. Telegram gives a bot their ID only when the bot receives something from them. So the way is always the same: add a bot to the chat or write to it, let it receive one message, and read message.chat.id from getUpdates. The pages for your own user ID, getUpdates and forwarded messages walk through it.
-100. Channel IDs go up to 997,852,516,352.A channel’s private message link reads t.me/c/1234567890/45. The first number is the channel’s own ID. Put -100 in front and you have the chat_id, -1001234567890; 45 is the message_id. The converter above does this in both directions, and the message link page splits any link into the values the Bot API wants.
-100. Then the ID points at nothing, and Telegram answers “chat not found”.-100 ID.Paste the channel's @username or t.me link into the lookup. The site checks its own directory first and otherwise asks Telegram's Bot API (getChat) for you, then shows the chat_id. This works for any public channel or public group.
Channels and supergroups are written as −(10¹² + their MTProto ID) in the Bot API. The −100 is that 10¹², written in front of the channel's own number. A basic group has just a minus sign, a user or bot has a plain positive number.
No. The Bot API only resolves public channels and public groups by name. A person's ID is only told to a bot that person has written to, or it can be read from a message they sent to a group the bot is in. The page “Your own user ID” shows how.
Add a bot you control to the group, send a message that the bot receives (a command or a mention), and call getUpdates. The group's ID is in message.chat.id. If you have a message link like t.me/c/1234567890/45, the ID is −100 followed by the first number.
An invite link (t.me/+… or joinchat) hides the chat: nobody can turn one into a chat_id from outside. Once you are in the chat, read the ID with a bot, or from a message link.
No. The lookup never asks for one, and anything that looks like a token is refused by the server. No page here asks for it.
Yes. A chat ID or user ID is the same number for every bot and every account. Only file_id values (photos, stickers) differ from bot to bot.
No. The username is a name the owner can change or give up. The chat ID is a number Telegram assigns once and never changes. Bots use the ID.
Yes, for a public channel: paste its t.me link into the lookup. For a private channel, a message link of the form t.me/c/<number>/<message> already contains it: put -100 in front of the first number.