Free X ID converter

X ID converter: username to user ID and back

Convert any X username to its permanent numeric user ID, or look up the profile behind an ID. Copy the ID as an exact string. Free, no API key, no signup.

Free tool · No sign-up

Convert X usernames and user IDs

Turn a username into its permanent numeric ID, or an ID back into the account behind it.

Guides for this tool

This free tool is one small part of Xholic

Click through a sample creator's account in the real app. No sign-up, nothing to install.

  • Posts written in your voice and scheduled for your best hours
  • Buyers found on 𝕏, with a reply drafted for each one
  • Analytics that show which posts grow you

No sign-up or login needed · Takes about 2 minutes

Username and ID lookup

Find the permanent numeric ID behind any X username

Every X account has a numeric user ID that never changes, even when the @username does. Developers need it for the X API, and marketers use it to keep tracking an account after a rename. Enter a username to get its ID, or enter an ID to find the profile that owns it today.

Results include a profile card with the name, handle, avatar and follower counts, so you can confirm it's the right account. The ID is returned as an exact string, because X IDs are too long for JavaScript numbers and get rounded by many tools.

2
Directions: username to ID and ID to profile
1
Click to copy the exact ID
0
API keys or developer accounts needed

How it works

How to convert a Twitter username to an ID

The tool detects which direction you mean.

01

Enter a username or ID

A handle, @handle or profile URL is treated as a username. A number is treated as a user ID.

02

Confirm the profile

Check the name and avatar on the result card to make sure it's the account you meant.

03

Copy the ID

Copy it as text and paste it into your code, spreadsheet or API request.

What you get

IDs you can trust in code

Small details that avoid subtle bugs.

Two-way lookup

Username to ID, or ID back to the current username and profile.

String-safe IDs

Long IDs are kept as exact text so they're never rounded.

Profile confirmation

Name, handle, avatar, followers and following shown with every result.

Use cases

Who needs an X user ID

Anyone tracking an account over time or through code.

01

API developers

Most X API endpoints take user IDs, not usernames.

02

Tracking renamed accounts

Find an account again after it changes its handle.

03

Allowlists and blocklists

Store IDs instead of handles so lists don't break when people rename.

Responsible use

Public lookups only

The converter returns public profile information for public accounts. Use IDs to build tools and keep records accurate, not to track or harass individuals. Xholic AI is not affiliated with X Corp.

FAQ

X ID converter FAQ

User IDs, renames and API use.

What is a Twitter user ID?

A unique number X assigns to every account when it's created. Unlike the @username, it never changes.

How do I find my Twitter ID?

Enter your username above and copy the ID from the result.

Does the user ID change when someone changes their username?

No. That's why IDs are the reliable way to track an account across renames.

Can I find an account from its ID?

Yes. Enter the number and the tool shows the profile that currently owns it, if it's still public.

Why do some tools show the wrong ID?

X IDs are larger than JavaScript can store exactly as numbers, so tools that convert them lose the last digits. This converter keeps the ID as a string.

Do more with the accounts you track

Xholic's Signal agents watch X for people who match your ideal customer and save them to your contacts with notes.

No card needed · Nothing to cancel

Browse all free tools

Live demo: no sign-up or login needed · takes about 2 minutes