The quickest way to find a user ID
The simplest method is to use a free online converter tool. Go to getdaytrends.com/twitter-id, tweeterid.com, or commentpicker.com/twitter-id.php, type or paste the username into the search box, and the tool will display the numeric user ID when ready. No login required. These tools work because X's public API still exposes user IDs even though the platform has restricted other data access.
If you prefer not to use a third-party site, you can also inspect the page source of someone's X profile directly. Open their profile in your browser, right-click anywhere on the page, select "View Page Source" or "Inspect," then use Ctrl+F (or Cmd+F on Mac) to search for "user_id". The numeric ID will appear in the code, usually near the top of the results.
Key Takeaways
- Free converter websites like getdaytrends.com and tweeterid.com return a user's numeric ID in seconds without requiring you to log in.
- You can find the ID yourself by viewing a profile's page source and searching for "user_id" in the code.
- The numeric user ID stays the same even if someone changes their username, so it is useful for tracking accounts over time.
- User IDs are public information on X; finding one does not require special permissions or access.
Why you might need a user ID instead of a username
A username can change at any time — someone can switch from @jane_smith to @janesmith2 without losing their account. A numeric user ID, by contrast, is permanent and unique to that account. If you are building a tool, archiving posts, or tracking an account's history across username changes, the ID is what you need.
User IDs are also more reliable when you are working with X's API or with data exports. Many third-party tools that pull X data use the ID rather than the username because the ID will never break if the account owner rebrands.
Using the X API to retrieve user IDs programmatically
If you are a developer or building something that needs to look up many user IDs at once, X offers an API endpoint that returns user data including the ID. You will need to register for a developer account at developer.twitter.com, request API access, and wait for X to review your process. The process can take a few days to a few weeks depending on X's current review queue.
Once approved, you can use the GET /2/users/by/username/{username} endpoint to retrieve the user ID and other public profile information. This approach is more work upfront but scales better if you need to look up hundreds or thousands of IDs. The free tier of X's API includes a limited number of requests per month, so check the current rate limits on the developer dashboard.
What information comes with the user ID
When you retrieve a user ID through any method, you typically also see the account's display name, bio, follower count, and the date the account was created. Some tools show whether the account is verified or suspended. This information is all public — anyone can see it by visiting the profile on X itself.
The user ID itself is just a number, usually between 8 and 19 digits long. It does not contain personal information like email address, phone number, or IP address. It is straightforward X's internal identifier for that account.
Limitations and things to know
If an account has been suspended or deleted, the user ID may still exist in X's database, but the converter tools may not return it or may show an error. Suspended accounts are not visible to the public, so you cannot view their profile page to extract the ID manually either.
Some third-party converter sites occasionally go offline or change their domain. If one tool stops working, try another. The method of viewing page source will always work as long as the profile is public and you can access it in your browser.
User IDs are public data, but how you use them matters. Collecting IDs for harassment, spam, or automated bulk messaging violates X's terms of service. Using them to build a tool that respects rate limits and does not scrape private information is generally acceptable.
Frequently Asked Questions
Can I find a user ID if the account is private?
Yes. Even if you cannot see the account's tweets, you can still retrieve the user ID through a converter tool or by viewing the profile page source if you can access the profile URL. The ID is public metadata regardless of the account's privacy settings.
Does finding someone's user ID notify them?
No. Looking up a user ID through a converter tool or viewing page source does not send any notification to the account owner. It is passive information retrieval, similar to visiting their profile.
What if the username has special characters or spaces?
X usernames cannot contain spaces, but they can contain underscores and numbers. Type the username exactly as it appears on the profile, including any underscores. If you are unsure of the exact spelling, copy and paste it directly from the profile URL to avoid typos.
Is the user ID the same across X and other platforms?
No. The numeric ID is specific to X. If someone has accounts on other social platforms, each one has its own separate ID. You cannot use an X user ID to find them on Instagram, TikTok, or elsewhere.