Since 2010 · Powering 2M+ tool runs every month
Since 2010
Add to Chrome

My Toolbox

Automatic Mode

No saved tools yet.

Go Premium
Related tools
Instagram User ID LookupFacebook User ID LookupSocial Media Username CheckerTwitter/X Timestamp ConverterUUID Validator/DecoderYouTube Channel Statistics
Home Page > Guide

How to Find a Username from an Instagram or Facebook ID

You already have the number. Paste it, get the current handle, and skip the numbers that are not people.

The short version

Paste the digits into the Instagram User ID Lookup or the Facebook User ID Lookup. On this site Instagram IDs are 6 to 25 digits; a shorter number belongs on Facebook — 4 is Mark Zuckerberg. You get the username the account uses today. This is the public profile number, not an app-scoped Graph API token, and a post URL will not work.

Key takeaways

  • The Instagram lookup on this site accepts numeric IDs of 6–25 digits. The Facebook lookup accepts 1–25 digits that do not start with zero. A five-digit number is never Instagram here.
  • The number is assigned once. A reverse lookup still finds the account after a rename; that is the point of storing an ID instead of a handle.
  • The Instagram box rejects paths that start with p/, reel/, stories/ or explore/. Copy the profile URL or the @username, not a post.
  • A 17- to 19-digit number may be a tweet. X Snowflake IDs store the time as (id >> 22) + 1,288,834,974,657 milliseconds. A tweet at 00:00 UTC on 1 January 2024 has a lower bound of 1,741,610,183,685,046,272.
  • The same spelling is not valid everywhere. john.smith is allowed on Instagram (1–30 characters, letters, digits, periods, underscores) and Facebook (letters, digits, periods), and is rejected on X, which allows no period and a 15-character maximum.
  • A string starting with UC plus 20–30 more characters is a YouTube channel ID, not a user number. Hyphens in 8-4-4-4-12 form are a UUID.

How do I turn this number into a username?

Start with the shape of what you copied, then paste it into one box.

Five steps from a number on your clipboard to a handle
StepWhat to doWhat you get
1Count digits and look for UC, hyphens, or a /p/ path.Which lookup to open, or which one to skip.
26–25 digits from Instagram: paste into the Instagram User ID Lookup.The current @username and profile card.
31–5 digits, or a profile.php?id= URL: paste into the Facebook User ID Lookup.The public username, or a group if the URL contains /groups/.
417–19 digits: paste into the Twitter/X Timestamp Converter before anything else.A post date if it is a tweet; if the date is nonsense, go back to step 2.
5Open the profile URL the lookup returns and read the handle on the page.Confirmation that the number and the account match.
What to do with the value on your clipboard Look at the value, do not guess the site 1 to 5 digits → Facebook lookup Instagram on this site will reject it as too short 6 to 25 digits → Instagram first If it came from facebook.com, use Facebook instead 17 to 19 digits → try tweet time first A real post date means it is not a person Starts with UC → YouTube channel statistics 8-4-4-4-12 hyphens → UUID validator
The Instagram and Facebook lookups only answer for their own public account numbers. A tweet ID, a channel ID and a UUID need different tools on this site.
Instagram User ID LookupPaste a 6–25 digit ID to get the current @username, or paste a profile URL to get the number. Post, reel and story links are rejected on purpose. Facebook User ID LookupPaste a 1–25 digit ID, a username, or a facebook.com URL. Use a /groups/ URL when the number belongs to a group rather than a person.

Which kind of ID is this number?

The table is the rule this site enforces, not a guess about every ID ever issued.

How this site tells five identifiers apart
What you copiedShape this site looks forTool that answers
Instagram user IDDigits only, length 6–25Instagram User ID Lookup
Facebook user, page or group IDDigits only, length 1–25, first digit 1–9Facebook User ID Lookup
X / Twitter tweet IDUsually 17–19 digits; timestamp in the top 41 bitsTwitter/X Timestamp Converter
YouTube channel IDStarts with UC, then 20–30 letters, digits or hyphensYouTube Channel Statistics
UUID / GUID8-4-4-4-12 hex, with or without bracesUUID Validator/Decoder

A 19-digit Instagram ID and a 19-digit tweet ID look the same until you decode the Snowflake timestamp. A four-digit Facebook ID will never pass the Instagram box.

How does the Instagram lookup work in both directions?

The same form detects the input. A value matching ^[0-9]{6,25}$ is treated as an ID. Anything else is treated as a username or profile URL after the tool strips instagram.com/, instagr.am/ and a leading @. Usernames may only contain letters, digits, periods and underscores, max 30 characters. Full-width IME punctuation is folded to ASCII first.

The public ID does not change when the handle does. The lookup's own example ID, 25025320, is the public ID of @instagram. Paste the number and you should get that handle; paste instagram and you should get that number.

Follower counts and the biography are a second request. When Instagram throttles that request, the tool still shows the username and ID it already confirmed and leaves the counts blank. That is not a failed lookup. Run it again a minute later if you need the counts. Private and deleted accounts may not resolve at all.

What about a Facebook profile.php?id= URL?

Facebook still serves many profiles as facebook.com/profile.php?id= plus a number. The lookup reads that query string, so you can paste the whole link. A username there may only contain letters, digits and periods, length 1–100, and must not be all digits. Fourteen path names are reserved, including login, groups, pages and profile.php.

If the URL contains /groups/, the lookup asks for a group ID. A bare number is treated as a user, which is the usual reason a group ID comes back empty.

What if the number is actually a tweet?

X assigns every tweet a Snowflake ID. The Unix time in milliseconds is (id >> 22) + 1,288,834,974,657 — 4 November 2010, 01:42:54.657 UTC, the epoch this converter uses. The remaining bits are machine and sequence fields. None of them names a person.

1 January 2024, 00:00:00 UTC is 1,704,067,200,000 ms. Subtract the epoch, shift left 22 bits, and you get 1,741,610,183,685,046,272. A number that large that decodes to a real date is a tweet. Instagram's example ID 25025320 decodes to the epoch itself, so it is not a Snowflake.

If the value has hyphens, it is not a social ID at all. Run it through the validator so you can see the version and, for a v1 UUID, the timestamp.

A worked set of real inputs

Each row is a value you can paste today. The tweet bound is computed from the converter's own epoch.

What each example input should do
Paste thisWhereWhat it should return
25025320Instagram lookupUsername instagram
instagram or instagram.com/instagramInstagram lookupID 25025320
instagram.com/p/…Instagram lookupRejected: not a profile URL
4 or facebook.com/profile.php?id=4Facebook lookupUsername zuck
4Instagram lookupRejected: IDs here are 6–25 digits
1741610183685046272Timestamp converter1 January 2024, 00:00:00.000 UTC (lower bound)
a 24-character string starting with UCYouTube Channel StatisticsTreated as a channel ID, not as an @handle
YouTube Channel StatisticsAccepts a UC… channel ID, a youtube.com/@handle URL, or a legacy /user/ URL, and returns the channel record for that identifier.

Why does the same handle fail on another site?

The Social Media Username Checker tests 15 platforms. A red “invalid” is a format miss, not a taken name.

Three sites, three username alphabets Instagram 1 to 30 characters A–Z a–z 0–9 period yes underscore yes john.smith john_smith Facebook 1 to 100, not all digits A–Z a–z 0–9 period yes underscore no john.smith john_smith fails X / Twitter 1 to 15 characters A–Z a–z 0–9 period no underscore yes john.smith fails john_smith
A handle that is legal on Instagram can be illegal on Facebook or X without anyone having taken it. Check the alphabet before you assume the name is gone.
Length limits the username checker applies on 15 platforms
PlatformLengthExtra characters allowed
Instagram, Medium1–30period, underscore
X / Twitter, Snapchat1–15 / 3–15underscore (Snapchat also period and hyphen; must start with a letter)
Facebook lookup1–100period only; 14 reserved path names blocked
TikTok2–24period, underscore
YouTube handle3–30period, underscore, hyphen
GitHub, Reddit, Twitch, LinkedIn, otherssee the checkerhyphens or underscores; GitHub forbids a hyphen at either end
Social Media Username CheckerRuns the 15-platform sweep. An “invalid” result means the spelling breaks that site's alphabet, not that someone else claimed it.

Is this the ID a developer form is asking for?

Only if the form wants the public Instagram or Facebook user number. These lookups read public profile pages and return the ID on that page (on Instagram, the profilePage_ number).

It is not automatically:

If the form also offers “Continue with Facebook”, use that. Pasting a public ID into a box that expects an app-scoped ID fails even when this lookup is correct.

Questions people ask next

How do I find a username from an Instagram ID?

Paste the number into Instagram User ID Lookup. On this site an Instagram ID is 6 to 25 digits. The lookup returns the current @username, and because the number is assigned once, it still works after the account has renamed itself. Deleted or deactivated accounts cannot be resolved.

How do I find a username from a Facebook ID?

Paste the number into Facebook User ID Lookup. Facebook IDs here are 1 to 25 digits and do not start with zero. ID 4 is Mark Zuckerberg's profile. If the input is a facebook.com/profile.php?id= URL, the same box reads the number for you. Groups need a /groups/ URL so the lookup does not treat the group as a user.

Why does the Instagram lookup reject my number as too short?

Because this Instagram lookup only accepts 6 to 25 digits. A one- to five-digit number is not treated as Instagram here. Try Facebook User ID Lookup instead: Facebook issued short IDs early, including 4. A 17- to 19-digit number may be a tweet ID rather than an account; the timestamp converter will say so if the decoded date is real.

Can I paste an Instagram post or reel URL to get the user ID?

No. The Instagram lookup rejects paths that start with p/, reel/, stories/ or explore/. Those URLs identify a piece of media, not a profile. Open the account, copy the profile URL (instagram.com/username) or the @username, and paste that. The other direction is the same: a numeric ID looks up a profile, not a post.

Is this the Instagram ID a Graph API form is asking for?

Not necessarily. These lookups return the public numeric ID that appears on the public profile. Instagram Graph API calls after Facebook Login often want an app-scoped or business-account ID issued to that app. If a dashboard asks for a user ID and also has a Login with Facebook button, use that button. Use this lookup when you already have a public number or a public profile URL.

Does the ID still work after someone changes their username?

Yes. Instagram and Facebook assign the numeric ID once and do not change it when the handle changes. That is the reason to store the ID rather than the username if you keep your own records. The reverse lookup always returns whatever handle the account uses today, which is why a number from last year can still find the account.

How can I tell a tweet ID from an Instagram ID?

Tweet IDs on X are Snowflake IDs: 64-bit numbers whose timestamp is (id shifted right 22 bits) plus 1,288,834,974,657 milliseconds. A tweet posted at 00:00 UTC on 1 January 2024 has a lower bound of 1,741,610,183,685,046,272 (19 digits). Paste a 17- to 19-digit number into the timestamp converter first. If you get a plausible post date, it is a tweet, not a person.

Terms worth knowing

Public user ID
The numeric identifier on a public profile. Stable across username changes. What these lookups return.
Username / handle
The public spelling, like zuck. People change these; the reverse lookup exists because of that.
App-scoped ID
An ID Facebook issues to one app after Login. Another app sees a different number. A public lookup cannot produce it.
Snowflake ID
A 64-bit X identifier with the timestamp in the top 41 bits. Tweet IDs are Snowflakes; Instagram profile IDs are not.
Channel ID
YouTube's stable identifier, usually 24 characters starting with UC, separate from the @handle.
UUID
A 128-bit identifier, often grouped 8-4-4-4-12. Not an Instagram or Facebook user ID.

All 6 tools in this guide

Authoritative sources

Last updated: 2026-09-13 · Published: 2026-09-13 · Written by the miniwebtool.com editorial team.

This guide is for general and educational use. The lookups only resolve public profiles; they will not reach private or deleted accounts, and they are not a substitute for Facebook Login or the Instagram Graph API when an app needs an app-scoped or business-account ID. Instagram and Facebook can refuse automated lookups at any time. Length limits and Snowflake arithmetic are the rules these tools enforce today. Do not use a reverse lookup to harass anyone.

Top & Updated:

AI Recipe Generator (From Ingredients)How Old Are You?AI Instagram Caption GeneratorView all โ†’
Home Page > Guide > How to Find a Username from an Instagram or Facebook ID