How to Find Telegram Chat ID
In this article
To find a Telegram chat ID, open the chat in the app, tap the chat name at the top, and look for the ID in the info page — but if you don't see it, you'll need to use a bot like @userinfobot or @getidsbot. The exact method depends on whether it's a private chat, group, or channel, and whether you're on mobile or desktop.
What You'll Need
- A Telegram account (free) and the app installed on your phone or desktop.
- Access to the chat whose ID you want (you must be a member of the group or channel).
- For most methods, a stable internet connection.
Step-by-Step
Note: The exact menu labels can vary slightly by Telegram version, device, or region, but the steps below work in the current official apps.
Method 1: Using a Bot (Works for All Chat Types)
- Open Telegram and search for @userinfobot (or @getidsbot) in the global search bar.
- Start a chat with the bot and press the Start button (or send
/start). - To get a private chat ID: simply send any message to the bot (e.g., "hi"). The bot will reply with your user ID and your current chat ID.
- To get a group or channel ID: add the bot to that group or channel as an admin (or just as a member for some bots).
- In the group, send a message like
/id(or just type anything). The bot will reply with the chat's numeric ID (usually a negative number for groups, e.g.,-1001234567890). - Copy the ID from the bot's reply. That's your chat ID.
Method 2: Using the Telegram App (Direct Info Page)
- Open the Telegram app on your phone or desktop.
- Navigate to the chat (private, group, or channel) whose ID you need.
- Tap the chat name at the top of the screen to open the chat info page.
- Look for a section that says ID or a long number. This is not always visible by default — on some versions you may need to tap the three-dot menu (⋮) and select View ID or similar. If you don't see it, use Method 1.
- If you find the ID, note it down. For private chats, it's usually a positive number; for groups and channels, it's negative (or starts with
-100for supergroups).
Method 3: Using a Desktop Browser (Web Telegram)
- Go to web.telegram.org on your computer browser and log in.
- Open the chat you want. The URL in the address bar will change to something like
web.telegram.org/a/#-1001234567890— the number after the#is the chat ID. - For private chats, the URL shows the username (e.g.,
#john_doe), not the numeric ID. In that case, use the bot method. - Copy the number from the URL. That's the chat ID.
Common Mistakes
- Confusing user ID with chat ID: Your personal user ID (e.g., 123456789) is different from a group's chat ID (e.g., -1001234567890). Make sure you're copying the right one.
- Not adding the bot to the group: If you try to use a bot in a group but haven't added it, the bot won't respond. Add the bot as a member (or admin) first.
- Looking for ID in the wrong place: On mobile, the ID is not always shown on the info page. Don't waste time scrolling — use the bot method if you can't find it.
- Using the wrong bot: Some bots require you to forward a message from the chat. Make sure you follow the bot's specific instructions.
Tips
- For private chats with a username (like @username), you can also get the ID by using the bot
@username_to_id_bot— send the username and it returns the ID. - If you need the chat ID for a channel, make the bot an admin of the channel (at least with 'Post Messages' permission) so it can read the channel and return the ID.
- Write down the ID in a safe place — you'll need it for API calls, bots, or integrations.
- On desktop, you can also use the
@getidsbotby opening a chat with it and then forwarding a message from the target chat to the bot.
Troubleshooting
If the bot doesn't reply
- Make sure you've pressed Start or sent
/startto the bot first. - Check your internet connection and try again.
- If you're in a group, ensure the bot is actually added to that group.
If you see a username instead of an ID
- For private chats with usernames, the numeric ID is hidden. Use a bot like
@userinfobot— it will show your user ID and the chat ID when you message it.
If the ID looks wrong (e.g., positive for a group)
- Groups typically have negative IDs. If you see a positive number for a group, you might be looking at your own user ID. Double-check by using the bot method.
If the web Telegram URL doesn't show a number
- For private chats, the URL shows the username. Use the bot method instead.
Frequently Asked Questions
What is a Telegram chat ID used for?
It's a unique numeric identifier for a chat. You need it when using the Telegram Bot API, creating custom bots, or integrating Telegram with third-party services (like IFTTT or Zapier).
Can I find the chat ID without a bot?
Sometimes yes — on desktop web, the URL shows the ID for groups and channels. On mobile, it's not always visible. If you can't find it directly, using a bot is the most reliable method.
Is the chat ID the same as my user ID?
No. Your user ID is a unique number assigned to your account. A chat ID is specific to a particular chat (private, group, or channel). For a private chat with yourself, the chat ID might equal your user ID, but for groups it's different.
Do group IDs always start with -100?
Supergroups and channels typically have IDs that start with -100 (e.g., -1001234567890). Basic groups may have a simple negative ID like -123456789. Both are valid.
Can I find the chat ID for a chat I'm not a member of?
No. You must be a member (or admin) of a group or channel to retrieve its ID. For private chats, you must have an active chat with that person.
Does the chat ID change?
No, Telegram chat IDs are permanent. They don't change even if you rename the chat or change the username.