How to Find a YouTube Channel ID
Published
Every YouTube channel has a permanent ID starting with UC. Find it in YouTube Studio, in a canonical URL or with a lookup tool, and see how handles differ.
A YouTube channel ID is a 24-character string beginning with UC, such as UCxxxxxxxxxxxxxxxxxxxxxx. Find it in YouTube Studio under Settings, Channel, Advanced settings, or read it from a channel URL of the form youtube.com/channel/UC.... Handles like @name and custom URLs are separate, changeable labels.
Definition: the YouTube channel ID
A YouTube channel ID is the permanent identifier Google assigns to a channel when it is created. It is always 24 characters long and always begins with the prefix UC, followed by 22 characters drawn from letters, digits, hyphens and underscores. The encoding is base64url-style rather than decimal, which is why channel IDs look unlike the all-numeric identifiers used by Facebook, Instagram and TikTok. The ID is immutable for the life of the channel: renaming the channel, claiming a new handle, setting or changing a custom URL, moving the channel to a different Brand Account, or changing the owning Google Account's email address all leave it untouched. It is the value the YouTube Data API uses to address a channel, the value that appears in canonical /channel/ URLs, and the value you should store if you need a reference that will still resolve correctly in five years. It is public information and carries no access rights on its own.
Channel ID, handle, custom URL and legacy username
YouTube has accumulated four ways of naming a channel over its history, and all four are still encountered in the wild. Keeping them straight is most of what makes this topic confusing.
The channel ID is the canonical identifier described above. Its URL form is youtube.com/channel/UCxxxxxxxxxxxxxxxxxxxxxx. This URL always works, for every channel, forever.
The handle is the @name form YouTube introduced to give every channel a short, consistent identity. It appears as youtube.com/@name, and a channel owner can change it, subject to availability and YouTube's change limits. Handles are the current standard for how channels are referred to in the interface.
The custom URL is the older vanity format, youtube.com/c/SomeName, which YouTube granted to channels meeting eligibility thresholds. These still resolve for channels that have them, but the handle has largely replaced them going forward.
The legacy username is the oldest form, youtube.com/user/SomeName, dating from when YouTube accounts had usernames in the manner of a standalone site. Many long-running channels still have working /user/ URLs. The YouTube Data API once offered a forUsername parameter for resolving these, which is a historical artefact more than a practical tool today, since it only works for channels that actually hold a legacy username.
| Identifier | URL form | Owner can change it | Every channel has one | Accepted by the Data API |
|---|---|---|---|---|
| Channel ID | /channel/UC... |
No | Yes | Yes, as the id parameter |
| Handle | /@name |
Yes | Yes | Yes, via forHandle |
| Custom URL | /c/Name |
Legacy, limited | No | No direct parameter |
| Legacy username | /user/Name |
No | No | Yes, via forUsername, legacy only |
Finding your own channel ID in YouTube Studio
For a channel you own, Studio gives you the authoritative answer with no guesswork.
- Open YouTube Studio and sign in with the account that owns the channel.
- Open Settings from the left sidebar.
- Select Channel, then the Advanced settings tab.
- The channel ID is displayed there and can be copied directly.
This is worth preferring over any other method when the channel is yours, because it removes the possibility of reading the wrong value from markup or resolving the wrong channel from an ambiguous name. If you manage several channels under one Google Account, confirm which channel Studio is currently operating on before copying, since the account switcher determines what you are looking at.
Finding someone else's channel ID
When the URL is already in /channel/ form, the ID is right there in the address bar and there is nothing to do. The work arises when the channel uses a handle or a custom URL, which is now the common case.
Three approaches cover it. The YouTube channel ID finder on 2uid.net resolves a handle, custom URL or legacy username to the UC... identifier in one step, which is the fastest route for occasional lookups.
Manual inspection also works: open the channel page, view the page source, and search for channelId or for the string UC appearing in a canonical link element. The canonical link is the more reliable of the two targets, because YouTube publishes a canonical URL pointing at the /channel/UC... form, and that is explicitly intended to be the stable address. Search the source for rel="canonical" and read the ID out of the href.
A third route works from a video rather than a channel page. Open any video from the channel, and the video page's markup includes the uploading channel's ID. This is sometimes easier than working from the channel page, particularly when a channel page redirects or renders differently than expected.
How the YouTube Data API uses the channel ID
The channel ID is the primary key in nearly every channel-related API operation. A request to the channels resource takes the ID directly: GET /youtube/v3/channels?part=snippet,statistics&id=UC... returns the channel's metadata and public counts. The channels.list reference in Google's YouTube Data API documentation sets out the full parameter list.
The API also accepts forHandle, which resolves an @name to the channel, and forUsername for legacy usernames. Both are convenience resolvers: internally you still end up with the channel ID, and storing that rather than the handle is the right call because the handle can change under you.
One detail catches people out. A channel's uploads are not fetched from the channel ID directly. You request the channel with part=contentDetails, read the uploads playlist ID from the response, and then query playlistItems with that playlist ID. The uploads playlist ID is derived from the channel ID by substituting UU for the leading UC, a relationship that holds consistently enough to be widely relied upon, though reading it from the API response is the correct practice rather than constructing it by hand.
Quota is the other practical constraint. The Data API charges quota units per call, with write operations and searches costing far more than simple reads. Resolving channel IDs through channels.list is cheap; resolving them through the search endpoint is expensive, which is a good reason to avoid search as a lookup mechanism when a direct resolver exists.
Why you would want the channel ID at all
Several routine tasks need it. Embedding a subscribe button, configuring an RSS feed for a channel's uploads, setting up analytics that track a competitor's public output, and registering a channel with a third-party tool all take the UC... value rather than the handle. RSS is a particularly useful case: YouTube serves a channel feed at a URL that takes the channel ID as a query parameter, which gives you upload notifications without any API quota at all.
Verification is the other common motive. Channel impersonation copies names, avatars and banner art. The channel ID is the one thing a copycat cannot duplicate, so confirming it is the definitive check when you need to be certain which channel you are dealing with.
If you work across platforms, YouTube's approach is the outlier: a prefixed base64url string rather than the plain integers used elsewhere. The cross-platform guide to social media user IDs sets the formats side by side, and the pieces on Facebook UIDs and Twitter/X user IDs cover the numeric cases.
Frequently asked questions
Is the YouTube channel ID the same as the handle?
No. The channel ID is a fixed 24-character string starting with UC. The handle is the @name form, which the owner can change. Both address the same channel, but only the channel ID is guaranteed stable.
Why does every channel ID start with UC?
It is a type prefix in YouTube's identifier scheme, marking the string as a channel. Related identifiers use other prefixes, which is why an uploads playlist ID begins with UU and other playlist types carry their own prefixes.
Can a channel ID change?
No. Renaming the channel, changing the handle, switching the channel to a Brand Account, or changing the owner's email all leave the channel ID the same. Deleting a channel and creating a new one produces a different channel with a different ID.
How do I find a channel ID from a video?
Open the video page and inspect its source for the uploading channel's ID, or click through to the channel and read the canonical URL. Pasting the video or channel URL into the 2uid.net YouTube channel ID finder does the same resolution without manual inspection.
What is a YouTube user ID, as distinct from a channel ID?
YouTube no longer has a meaningful separate user ID in public use. Identity on YouTube is tied to the Google Account, and the channel is the public entity. The legacy /user/ URLs are the remnant of the older model.
Does the Data API accept a handle instead of a channel ID?
Yes, channels.list supports a forHandle parameter for resolving an @name. It is a convenience resolver, and you should still store the returned channel ID rather than the handle for long-term references.
Do I need an API key just to find a channel ID?
No. Reading the canonical URL from the channel page or using a lookup tool requires nothing. An API key becomes necessary when you want structured channel data rather than just the identifier.