Skip to content

Free tool for X (Twitter)

Twitter ID Finder

Get the permanent user ID of any X account from its @username or profile link, or turn a user ID back into a username.

How to find a Twitter user ID

  1. 01

    Paste what you have

    An @username, a plain username, a profile link such as x.com/XDevelopers, or a numeric user ID.

  2. 02

    Pick how to read it, or leave it on Auto

    Auto reads 16 or more digits as a user ID and everything else as a username. Choose User ID for short numeric IDs from older accounts.

  3. 03

    Press Find ID

    You get the user ID with a copy button, plus the current username, name, bio, counts and join date.

What is an X user ID?

Every X (formerly Twitter) account has a numeric user ID, given to it when the account is created. @XDevelopers is 2244994945. Older accounts have short IDs; newer ones have up to 19 digits, such as 1580661677227986944. X ties posts, followers and lists to this number, and its API identifies accounts by it.

Why the ID never changes

A username is a label the owner can change in settings at any time. When they do, links and mentions that use the old handle stop working, and the old handle is free for someone else to claim. The user ID stays the same, so a stored ID keeps pointing at the same account. Store the ID when you track accounts in a spreadsheet, database, bot or allowlist, and look up the current username when you need to show it.

Username vs user ID

PropertyUsernameUser ID
Example@XDevelopers2244994945
Made ofUp to 15 letters, digits and underscoresDigits only, up to 19 of them
Can the owner change it?Yes, at any timeNo, never
Can another account get it later?Yes, once it is releasedNo
Best forShowing to people, typing into searchStoring in code, databases and allowlists

What the finder shows

The user ID with a copy button, the display name and current @username, the verified badge, whether the account is private, the bio, location, website, the date it joined X, and its follower, following and post counts. The data is read from the public profile on X when you search, so a renamed account shows its new username.

Privacy

You need neither an X account nor an xscraper account, and the finder sets no cookies. To keep the free tool from being abused, Cloudflare Turnstile checks that you are a person, and we store a salted hash of your IP address instead of the address. The privacy policy has the details.

Use the API

The finder runs on the xscraper API. Call profile_by_username for the full profile (1 token a call) or user_id for just the ID. AI agents get the same data through the x_get_user tool of the MCP server.

curl: profile by username
curl "https://api.xscraper.online/api/v1/twitter/users/profile_by_username/elonmusk" \
  -H "x-api-key: $XSCRAPER_KEY"

Questions

What is a Twitter user ID?

It is the number X (formerly Twitter) gives an account when the account is created. For example, @XDevelopers has the user ID 2244994945. Every account has exactly one, and no two accounts share it.

Does the user ID change when someone changes their username?

No. A username (the @handle) can be changed at any time, and an old handle can later be taken by someone else. The user ID stays the same for the whole life of the account, which is why code, databases and allowlists should store the ID.

How do I turn a user ID back into a username?

Choose User ID, paste the number and press Find ID. The result shows the account's current @username and profile. This also tells you whether an account you saved earlier has been renamed.

Is the Twitter ID finder free?

Yes. You can look up a profile without an account. For more lookups, create a free account: it comes with 1,000 tokens, and a lookup costs 1 token by username or 3 by user ID.

Does it work for private or suspended accounts?

Private (protected) accounts still have a public profile, so you get their ID, name, bio and counts, marked with a Private badge. Suspended and deleted accounts return no result.

Can I look up user IDs from code or in bulk?

Yes, with the xscraper API. GET /api/v1/twitter/users/user_id/:username returns just the ID, and profile_by_username returns the full profile. AI agents can use the x_get_user tool of the MCP server.

Do you keep what I search for?

We never show your searches to anyone. The lookup is kept in our short-lived technical logs so we can fix faults, and to stop abuse of the free tool we store a salted hash of your IP address, never the address itself. The privacy policy has the details.