Finding a Telegram ID from a username takes three steps: open Telegram, search for the username, and use a bot or web tool to extract the numeric ID

A Telegram ID is a unique number assigned to every account, separate from the username someone chooses. Usernames are optional and can change; IDs never do. If you have someone's username but need their ID — for example, to use certain bots or to verify you have the right person — you can retrieve it without contacting them directly.

The simplest method uses a public bot that reads profile information. You search for the username in Telegram, then run it through a bot that returns the ID. This takes about two minutes and requires no special permissions.

Key Takeaways

  • A Telegram ID is a permanent number; a username is optional text that can change, so the ID is the stable identifier.
  • You can find someone's ID by searching their username in Telegram, then using a public bot like @userinfobot to retrieve the numeric ID.
  • Web-based tools like tg.i-c.me also extract IDs from usernames without needing the Telegram app.
  • The ID appears in the bot's response as a number starting with a hyphen (like -1234567890 for groups, or positive numbers for users).
  • You do not need to message the person or have them in your contacts to find their ID.

Using a Telegram bot to retrieve the ID

Open Telegram and search for @userinfobot in the search bar at the top. This is a public bot maintained by Telegram users that reads and displays profile data. Tap the result and start a conversation with it.

Type the username you are looking for, starting with the @ symbol: @username. Send the message. The bot will respond with a card showing the account's ID, first name, username, and whether the account is a bot. The ID is the long number listed under "ID:" — this is what you need.

If @userinfobot is unavailable or not responding, search for @getidsbot instead. It works the same way and is maintained as a backup. Both bots are read-only and do not send messages to the target account.

Using a web tool if you do not have Telegram installed

If you do not want to open the Telegram app, you can use a web-based tool. Go to tg.i-c.me in any browser. Type the username (with or without the @ symbol) into the search field and press Enter.

The page will display the account information, including the ID. This method works for any public username and returns the same information as the bot, but without needing the app. The ID is shown as a number in the results.

Other web tools like t.me/username (Telegram's own web link format) will load the profile page but do not display the ID directly — you would still need to use a bot or web tool to extract it.

Why the ID matters and when you need it

Telegram usernames are optional and can be changed by the account holder at any time. IDs are permanent and unique to each account. If you are trying to verify you have found the correct person, the ID is more reliable than the username alone, because the same person might change their username but the ID stays the same.

Some Telegram bots and services require an ID instead of a username to function. For example, certain automation tools, analytics bots, or group management bots ask for the numeric ID to perform actions. Knowing how to retrieve an ID from a username lets you use these tools without asking the person directly.

What to do if the username does not exist or is private

If you search for a username and Telegram shows no results, the account either does not exist, has been deleted, or the username is spelled differently than you thought. Try variations of the name or ask the person directly for their correct username.

If the account exists but the profile is private (the person has restricted who can see their information), the bot may return limited data or no ID at all. In that case, you would need the person to add you as a contact or accept a message request before their ID becomes visible to you.

Protecting your own ID and privacy

Your Telegram ID is visible to anyone who searches for your username using these same methods. This is by design — Telegram treats usernames as public identifiers. If you want more privacy, you can choose not to set a username at all. Without a username, people can only find you if they have your phone number or if you share a direct link to your profile.

Bots and web tools that retrieve IDs from usernames are not affiliated with Telegram and do not store the data they retrieve. Each search is independent. However, if you are concerned about your privacy, avoid setting a username or limit who can message you in your privacy settings.

Frequently Asked Questions

Can I find someone's ID if they do not have a username?

No. Without a username, you would need their phone number or a direct profile link. If you have their phone number, you can add them as a contact in Telegram and their ID will be visible in the chat. Otherwise, there is no public way to find their ID.

Is using these bots safe or against Telegram's rules?

Yes, it is safe. These bots only read public profile information that Telegram displays anyway. They do not send messages, access private chats, or perform any restricted actions. Telegram allows this use.

Will the person know I looked up their ID?

No. Looking up someone's ID through a bot or web tool does not notify them or leave any trace. It is the same as viewing their public profile.

What is the difference between a user ID and a group ID?

User IDs are positive numbers (like 123456789). Group and channel IDs are negative numbers (like -987654321). The bots return both types depending on what you search for. If you search for a group or channel username, you will get a negative ID.

Can I change my Telegram ID?

No. Your ID is permanent and cannot be changed. You can change your username, phone number, or display name, but the ID assigned to your account when you created it stays the same forever.