How to find or convert a Twitter ID

1

Enter a handle or ID

Paste an @username, a numeric user ID, or a full profile URL into the box.

2

Pick the direction

Choose Username to ID or ID to Username. The tool also auto-detects what you pasted.

3

Get the result

The converter queries X in real time and returns the numeric user ID and the current @username, together with the account details so you can confirm it is the right profile.

4

Copy or reuse

Copy the ID or handle with one click for your spreadsheet, your research, or your API calls.

What is a Twitter (X) user ID?

A Twitter (X) user ID, also called a numeric ID, ID number, or UID, is the permanent identifier X assigns to every account when it is created. The @username can be changed at any time, but the user ID never changes and is never reused, so it is the reliable way to point at an account across renames. For example, the handle @jack maps to the user ID 12, and the account now called @X kept its original ID 783214 when it was renamed from @twitter. Accounts created in recent years have long 18 or 19 digit IDs because X issues them through its Snowflake system; older accounts have short sequential IDs such as 12 or 44196397.

Want the full picture, including how the IDs are generated and how to convert them in code? Read the Twitter ID converter guide.

Username vs user ID: which one do you need?

@Username (handle)User ID (numeric)
Can changeYes, any timeNo, permanent
Format@text, for example @nasa64-bit number, for example 44196397
ReusableYes, once releasedNever
Best forReading, mentions, sharingSaving, tracking, API calls

If you are saving accounts to use later, store the user ID. Handles drift over time, IDs do not.

Twitter ID to username: find the account behind a numeric ID

Paste a numeric user ID into the converter with ID to Username selected and it resolves to the current @username, even if the account has renamed since you saved the ID. This is the fastest way to reconnect IDs from an API export, a giveaway participant list, a block or mute list, or an old dataset to live profiles.

Most ID finders only turn a handle into an ID. This one also looks the ID back up against live public data, so X account lookup by ID works here too, and it doubles as a Twitter ID checker: paste an ID from a dataset to confirm it still points at a live account. Suspended or deleted accounts return not found; the ID itself stays valid in your records.

How to find a Twitter ID without a tool

X does not display user IDs anywhere in the app, on the profile page, or in account settings. If you cannot use the converter above, these methods still work:

  • Your own ID: request your X data archive (Settings and privacy > Your account > Download an archive of your data). The account.js file in the archive lists your accountId.
  • ID to profile: open https://x.com/intent/user?user_id=44196397 or https://x.com/i/user/44196397 with your ID in place of 44196397. X redirects to the current profile, which shows the @username.
  • Username to ID: open the profile on x.com, view the page source, and search for identifier. The number in that field is the account's user ID. This works, but it is slow and X changes its markup without notice.

The converter above replaces all three with one lookup and works in both directions.

Who uses a Twitter ID converter

  • Marketers and analysts tracking competitors and creators whose handles change.
  • Community managers and giveaway organizers verifying participants by a permanent ID, the same approach used in giveaway verification.
  • Journalists and OSINT researchers confirming an account is the same one across renames.
  • Developers and QA grabbing a user ID quickly to test an API call or a webhook.

User ID vs tweet ID: which number do you have?

A user ID identifies an account. A tweet ID (post ID) identifies a single post and is the long number after /status/ in the post URL, for example x.com/username/status/1234567890123456789. Both are Snowflake style numbers of similar length, so they are easy to mix up, and pasting a tweet ID into this converter returns not found. This tool resolves user IDs only. To fetch a post by its ID, use the tweet data endpoint of the API, which accepts a post URL or a bare tweet ID.

Convert Twitter IDs in bulk or from code

The converter above handles one account at a time. For lists and automation, the same conversion is available through the Sorsa API with a single API key header and no OAuth. GET /username-to-id, GET /id-to-username, and GET /link-to-id return one mapping per request. GET /info-batch returns full profiles for up to 100 usernames or user IDs in a single request, each with the user ID, current username, display name, verification status, follower and post counts, and account creation date. New accounts get 100 free requests with no card and no expiry.

curl -H "ApiKey: YOUR_API_KEY" "https://api.sorsa.io/v3/username-to-id/jack"
{"id": "12"}

curl -H "ApiKey: YOUR_API_KEY" "https://api.sorsa.io/v3/id-to-username/12"
{"handle": "jack"}

Twitter ID finder and converter FAQ

Is this Twitter ID converter free?

Yes. There is no sign-up, no API key, no ad to watch, and no captcha. You can convert as many handles or IDs as you need within fair use, and the results come straight from X in real time.

Can I convert both ways, username to ID and ID to username?

Yes. Enter a @username or a profile URL to get the numeric user ID, or enter a numeric ID to get the current handle. The tool detects which one you pasted, and you can force the direction with the toggle.

How do I find a Twitter (X) user ID?

Paste the account's @username or profile URL into the converter above and press Convert. It queries X in real time and returns the numeric user ID with the account details, so you can confirm you have the right profile. It works for any public account, with no login and no ownership check.

Where do I find my own Twitter ID?

X does not display your user ID in the app or in account settings. Paste your own @username or profile URL into the converter above and read the numeric ID from the result, or find it as accountId in the account.js file of your downloaded X data archive.

How do I find my X username (handle)?

Your username is the name starting with @ under your display name on your profile, and it is also the last part of your profile URL, for example x.com/nasa gives the username @nasa. In the X app, tap your profile picture to see it. The @username is what forms and other services mean by your Twitter handle.

Is a Twitter ID the same as a snowflake ID?

For modern accounts, yes. X issues user IDs through its Snowflake system, so the long numeric user ID this tool returns is what an API or its docs mean by a Twitter snowflake ID. Accounts created before the switch have shorter IDs, but those are still the account's permanent user ID.

Can I get an account's creation date from a Twitter user ID?

Yes for accounts created after X moved to Snowflake IDs: the creation timestamp is encoded in the ID itself, while older short IDs have no embedded date. For the exact creation date of any account, use the account age checker.

What account information does the lookup return?

The numeric user ID and the current @username, plus the display name, verified status, follower, following, and post counts, bio, location, and account creation date, so you can confirm you have the right account before you use the ID.

Does it work for suspended, deleted, or private accounts?

Private (protected) accounts still resolve, because the profile, user ID, and @username are public even when the posts are hidden. Suspended, deleted, or never-existing accounts return not found, though the numeric ID stays valid in any records you already saved.

Can I see an account's previous usernames?

X does not publish past usernames, so no converter can list them. The About section of a profile shows how many times the username has changed and the date of the last change, and the Sorsa API returns the same two fields through its account About endpoint. Because the user ID never changes, you can re-check the current handle behind a saved ID at any time.

What is a Twitter “social media identifier” on visa and other forms?

On forms such as the US DS-160 and DS-260 visa applications, the social media identifier is the @username (handle) you use on X, not the numeric user ID. Enter your current username exactly as it appears on your profile. If you only have the numeric ID, use the converter above to get the current handle.

How do I convert a list of usernames in bulk?

For large lists or automation, use the Sorsa API: the batch profile endpoint accepts up to 100 usernames or user IDs per request and returns the ID, username, and full profile for each, with 100 free requests to start. See the ID conversion guide for request examples.