Find Facebook ID - Free Online Tool

Find Facebook ID extracts the numeric ID from any Facebook URL — profile, page, group, post, photo, video, or event — by parsing the URL directly in your browser. For vanity usernames where the ID is not visible in the URL, the tool surfaces the manual steps to retrieve the ID from page source.

Find Facebook ID

What is Find Facebook ID?

Find Facebook ID is a free, browser-based tool that takes a Facebook URL and returns the underlying numeric ID. Facebook uses these IDs across the Graph API, the Marketing API, and many automation workflows; surfacing them from a human-friendly URL is a small but constant task for advertisers, developers, and community managers.

Find Facebook ID handles every common URL shape: profile.php with an id query parameter, /groups/<id> for groups that use numeric URLs, /pages/Name-<id> for legacy pages, /photo/<id>, /events/<id>, /watch?v=<id>, and post URLs like /<user>/posts/<id>. For each, it parses the structure of the URL and surfaces the ID directly. Vanity usernames (like /zuck or /<your-page-name>) do not include the numeric ID in the URL — for those, the tool explains how to retrieve the ID from page source while logged into Facebook.

Typical users are Facebook Marketing API developers preparing campaigns by audience ID, community managers building tooling that references their groups by numeric handle, content reviewers cataloguing public posts, and analysts joining Facebook data with internal CRM records. Because Find Facebook ID parses the URL locally in your browser, the URLs you look up — including internal team pages or unannounced campaign assets — are never uploaded.

How to Use This Find Facebook ID

  1. Paste the Facebook URL you want to look up. The tool accepts links from www.facebook.com, m.facebook.com, mbasic.facebook.com, business.facebook.com, fb.com, and fb.me.
  2. Click Find ID. The tool inspects the URL structure and identifies what kind of object you pasted: profile, page, group, post, photo, video, or event.
  3. When the URL contains a numeric ID directly (most cases), the tool displays the ID alongside a short description of where it came from.
  4. When the URL is a vanity username (like /zuck without a numeric ID), the tool explains the manual lookup steps: open the URL while logged into Facebook, view page source, and search for "userID", "page_id", or "group_id".
  5. Click Copy to send the ID to your clipboard, then paste it into your Graph API call, ad-audience target, or analytics dashboard.
  6. For mass lookups, paste each URL one at a time. The tool is designed for accuracy, not bulk processing — automate downstream collection if you need to look up many IDs in sequence.

Why Use This Find Facebook ID?

  • Parses Facebook URLs locally in your browser so the URLs you look up never leave the device.
  • Handles every common URL shape — profile.php, /groups/<id>, /pages/Name-<id>, /photo/<id>, /events/<id>, /watch?v=<id>, /<user>/posts/<id> — without manual regex work.
  • Surfaces clear manual steps when the URL uses a vanity username and the ID is not directly available.
  • Identifies the object type (profile, page, group, post, photo, video, event) so you know what kind of ID you have.
  • Saves time during Marketing API and Graph API development by removing the constant URL-to-ID translation step.
  • No signup, no usage limit, and no third-party dependency.

When to Use Find Facebook ID

  • Building Facebook Marketing API audience definitions that target users by numeric ID rather than vanity username.
  • Looking up a public page ID to use in a Graph API request for posts, photos, or insights.
  • Cataloguing group IDs for community managers running multiple groups under a single team.
  • Joining Facebook campaign data with internal CRM records that use numeric IDs as the primary key.
  • Verifying the canonical ID of a post or photo before referencing it in legal review or compliance documentation.
  • Helping non-technical teammates find an ID they need for a vendor onboarding form or platform integration.

Find Facebook ID Features

Multi-host support

Recognises facebook.com, m.facebook.com, mbasic.facebook.com, business.facebook.com, fb.com, and fb.me. URLs from any of these hosts route through the same parsing logic.

Object-type classification

The tool labels the URL as profile, page, group, post, photo, video, event, or vanity username, so you know what kind of identifier you are working with.

Manual fallback steps

For vanity usernames, the tool explains the View Page Source lookup that retrieves the numeric ID — useful when Facebook does not expose it in the URL itself.

Query-parameter handling

Recognises profile.php?id=…, photo.php?fbid=…, watch?v=…, and story_fbid=… query parameters in addition to path-based IDs.

Copy-ready output

A Copy button moves the ID to your clipboard so you can paste it directly into your Graph API client, ad manager, or spreadsheet.

Local-only parsing

All work happens in your browser. Internal team URLs, private business pages, and unannounced campaign assets stay confidential during lookup.

How Facebook URLs map to numeric IDs

Every Facebook object has a numeric ID assigned by the platform. Profiles, pages, groups, posts, photos, videos, and events all share this property — internally, Facebook refers to them by number, and externally, those numbers appear in the Graph API, the Marketing API, the Business Manager, and many third-party tools. The friendly URLs that humans see — /zuck, /facebook, /groups/<name> — are aliases that resolve back to a numeric ID.

When the friendly URL itself contains the number, parsing it is straightforward: split the path, pick the segment, and validate that it consists of digits. Find Facebook ID handles the common cases (profile.php?id=…, /groups/<id>, /pages/Name-<id>, /photo/<id>, /events/<id>, /watch?v=<id>, /<user>/posts/<id>) automatically.

When the URL uses a vanity username instead, the numeric ID is not visible in the URL. Facebook does not expose a public CORS-safe endpoint that returns the ID for a username, which means the tool cannot fetch it directly from the browser. The fallback is to open the URL while logged into Facebook and search the page source for "userID", "page_id", or "group_id" — that value is the numeric ID.

Decision Guide

Best for

  • Marketing API and Graph API developers looking up object IDs.
  • Community managers cataloguing group and page IDs.
  • Analysts joining Facebook data with internal CRM records.

Avoid when

  • You need to bulk-resolve thousands of vanity usernames — use a server-side script with the Graph API instead.
  • You expect the tool to call Facebook directly — it parses the URL only.

Example

Parse a profile.php URL

Input

https://www.facebook.com/profile.php?id=100012345678

Output

100012345678

Find Facebook ID Best Practices

Prefer numeric URLs when sharing internally

When passing a Facebook reference to a teammate or vendor, the numeric URL (e.g. /profile.php?id=…) is more durable than a vanity URL because vanity usernames can change. Capture the ID with this tool and store it alongside the friendly URL.

Verify the object type before using the ID

A page ID and a profile ID are different namespaces in the Graph API. Always confirm what kind of object you are looking at — Find Facebook ID labels the result for you, so use that label when constructing API calls.

Use the manual fallback for vanity URLs

When the tool reports a vanity username, follow the View Source steps it provides. The numeric ID is consistent across Facebook surfaces and remains valid even if the username changes later.

Cache IDs you look up frequently

Once you have an ID, store it in your CRM, project notes, or campaign tracker. Repeat lookups waste time and produce identical results.

Respect platform terms when collecting IDs

Facebook restricts certain uses of public data. Stick to URLs you have legitimate reason to inspect, and avoid bulk scraping that could trigger automated abuse detection.

Troubleshooting

The tool says "URL is not a Facebook domain."

Make sure the URL starts with facebook.com, m.facebook.com, business.facebook.com, fb.com, or fb.me.

My vanity URL did not return an ID.

That is expected — Facebook does not expose the ID for vanity URLs. Follow the View Source steps the tool shows.

Common Facebook ID lookup problems Find Facebook ID solves

Vanity URL hides the ID

When the URL is /zuck or /facebook, the numeric ID is not in the URL. The tool explains the View Source fallback so you can retrieve it manually with one extra step.

Multiple URL shapes for the same object

Facebook surfaces objects through many URL formats. The tool handles each common variant (profile.php, /groups/, /photo/, /watch, story_fbid) so you do not have to remember which extractor to use.

Mobile vs desktop URL differences

m.facebook.com and mbasic.facebook.com sometimes produce slightly different URL shapes than www.facebook.com. The tool normalises all of them.

Confusing ID types

A page ID is not interchangeable with a profile ID or a group ID. The tool labels what it found so you do not accidentally pass the wrong ID to a Graph API call.

Need to share an ID with non-technical teammates

The tool produces a clean numeric ID with a one-click copy button, which is easier to send over chat than asking a colleague to inspect View Source themselves.

FAQs

Does Find Facebook ID call the Facebook API?

No. The tool parses the URL you paste directly in your browser. No API key is required and no request is sent to Facebook, which is why vanity usernames need a manual fallback — Facebook does not expose a CORS-safe endpoint that maps username to numeric ID.

Can it find the ID for any profile?

It finds the ID whenever the URL contains it (profile.php?id=…, /groups/<id>, /pages/Name-<id>, /photo/<id>, /events/<id>, /watch?v=<id>, /<user>/posts/<id>). For vanity usernames it provides the manual View Source steps Facebook itself documents.

Is this private?

Yes. All parsing runs in your browser. The URL is never uploaded to a server, which makes the tool safe to use with internal pages, unannounced campaigns, or any other URL that should not leak.

Why does my vanity username not return a numeric ID?

Vanity URLs like /zuck do not contain the numeric ID. Facebook used to expose the ID through a few public endpoints, but most are now restricted by CORS and authentication. The fallback is to open the URL while logged into Facebook and search the page source for "userID".

Does it work with Facebook Business URLs?

Yes. business.facebook.com, web.facebook.com, and standard www.facebook.com share the same URL structures. The tool recognises all of them.

Can I use the ID directly in the Graph API?

Yes. Once you have the numeric ID, pass it to the Graph API endpoint appropriate to the object type — /v18.0/{user-id}, /v18.0/{page-id}, or similar. Marketing API audience targeting also accepts numeric IDs directly.

Is it OK to look up other people's Facebook IDs?

Public IDs are public information by design. Use this tool only for purposes consistent with Facebook's terms — building API integrations, validating your own accounts, joining your own CRM data. Avoid bulk scraping or any use that targets users without consent.

Does the tool support Instagram or Threads IDs?

No, only Facebook. Instagram and Threads use different URL structures and ID schemes. For those platforms, use the official Meta documentation for the relevant API.

Start using Find Facebook ID

Find Facebook ID turns any Facebook URL into a numeric ID in one click, privately in your browser — saving developers, marketers, and community managers the constant URL-to-ID translation step.