How Many YouTube Video IDs Are There
A YouTube video ID has 11 characters but holds 2 to the 64th, 18,446,744,073,709,551,616 possible IDs, a quarter of the 64 to the 11th usually quoted, because the last character only ever takes 16 values. Vi.ki counted it in 4,238 video IDs on Nov 15, 2026; a valid ID matches ^[A-Za-z0-9_-]{10}[AEIMQUYcgkosw048]$.
There are 18,446,744,073,709,551,616 possible YouTube video IDs (2 to the 64th power), not the 73,786,976,294,838,206,464 (64 to the 11th) usually quoted, because the eleventh character of an ID only ever takes 16 of the 64 values. In the 4,238 different video IDs Vi.ki counted on Nov 15, 2026, the first ten characters used all 64 (A to Z, a to z, 0 to 9, - and _), but the last was always one of A E I M Q U Y c g k o s w 0 4 8. So a well-formed ID matches the pattern ^[A-Za-z0-9_-]{10}[AEIMQUYcgkosw048]$, and jNQXAC9IVRw, the first video ever uploaded, does: it ends in w.
Next: put a list of IDs to use as a playlist, the other ID every channel has or the shortest link an ID makes.
Where 64 and 11 come from
Tom Scott worked the usual figure out in his Mar 21, 2016 video on the question: each character is one of 64 (YouTube's base 64 uses hyphen and underscore where most base 64 uses slash and plus, because those "don't work so well in URLs"), so 11 characters give 64 to the 11th, "73 quintillion 786 quadrillion 976 trillion 294 billion 838 million 206 thousand and 464", enough, he said, for every person on Earth to upload a video every minute for around 18,000 years. He also explained why the IDs are random rather than counted up: an ID of 283 would tell anyone that 282 and 284 exist, and unlisted videos only work because their IDs cannot be guessed.
Why the last character is different
Our count is what makes the figure a quarter of that. Each base 64 character carries 6 bits. Ten characters carry 60, and a 64-bit number needs only 4 more, which one character spells with 16 possible values, exactly the 16 we found in last place, spread evenly:
| Last character | IDs ending in it |
|---|---|
A |
277 |
E |
254 |
I |
229 |
M |
267 |
Q |
265 |
U |
265 |
Y |
276 |
c |
268 |
g |
271 |
k |
274 |
o |
263 |
s |
270 |
w |
250 |
0 |
279 |
4 |
290 |
8 |
240 |
None of the other 48 characters ended any of the 4,238 IDs. If the last character were free, about 3,178 of them (three in four) would have ended in one of the other 48. So, we conclude, a video ID is a 64-bit number written in base 64: 64 to the 10th times 16, which is 2 to the 64th. YouTube has never published how its IDs are made; this is our reading of the IDs themselves.
How we counted: every video ID in Vi.ki's own files on Nov 15, 2026, the videos whose moments play on its vikis and the transcripts its writers have read, each ID counted once. The - was in 627 of them and the _ in 597.
What the number means
At the figure ThioJoe gave in a Jan 10, 2026 video, "over 20 million videos uploaded daily", the 18.4 quintillion IDs would last about 2.5 billion years (18,446,744,073,709,551,616 divided by 7.3 billion uploads a year). The four-times-smaller space changes nothing in practice; it only means the famous number is too big.
Channel IDs follow the same rule
A channel ID is UC and 22 more characters (Find a Channel ID). In the 1,186 channel IDs in Vi.ki's files, the last character was always one of four: A, Q, g or w (345, 293, 290 and 258 times). Twenty-one characters carry 126 bits and the last adds 2, so a channel ID holds 2 to the 128th values, the size of a standard 128-bit identifier. The matching pattern is ^UC[A-Za-z0-9_-]{21}[AQgw]$.
Checking an ID before you use it
The pattern catches the commonest mistakes: an ID copied one character short, one with a stray & or ? from the address, or one where a letter was mistyped as a character that cannot come last. It cannot tell you whether a video with that ID exists. On YouTube's own list-from-IDs address one wrong ID drops the whole list (Make a Playlist From Video IDs), so checking each ID against the pattern first saves a failed try.
What we think
We think YouTube will still be using 11-character IDs ending in one of the 16 characters we counted a year from now: nothing short of a change to how every link on the web points at a video would alter them.
Confidence: Likely. Check by: Nov 15, 2027.
What would prove us wrong: a new video whose ID is not 11 characters, or ends in a character outside the 16, on that day.
Sources
- Will YouTube Ever Run Out Of Video IDs?, Tom Scott, Mar 21, 2016 (video)
- YouTube Just Got Better (But Also Worse), ThioJoe, Jan 10, 2026 (video), the upload figure at
- Vi.ki's count of the 4,238 video IDs and 1,186 channel IDs in its own content files and transcripts, Nov 15, 2026
Moments
Will YouTube Ever Run Out Of Video IDs?
Tom Scott
YouTube Just Got Better (But Also Worse)
ThioJoe
See also
-
Make a Playlist From Video IDsThe address youtube.com/watch_videos?video_ids= followed by video IDs separated by commas opens those videos as a temporary unlisted playlist, with no sign-in. In Vi.ki's test on Nov 11, 2026 it kept the first 50 IDs, and one wrong ID dropped the whole list.
-
Find a Channel IDFind any YouTube channel's ID on its channel page by opening the description (the About panel), then Share channel > Copy channel ID; your own is also under Settings > Advanced settings, or at youtube.com/account_advanced.
-
Short Links youtu.be and yt.beyoutu.be/VIDEO_ID is YouTube's short link for any video and accepts ?t= for a start time; yt.be is a second YouTube domain used only for named campaign links that YouTube itself creates, so yt.be/VIDEO_ID and yt.be/@handle do not work.
-
Block a Video by CountryAn ordinary YouTube channel cannot block its own video in chosen countries. The setting exists only in Studio Content Manager, the tool of networks and rights holders, and it is built for licensing, not for hiding from an audience.
-
Channel Membership Join LinkA YouTube channel's membership link is its address with /join added, such as youtube.com/@LofiGirl/join, which YouTube Help says links "directly to your membership window". It works after a handle or a channel ID; in Vi.ki's test on Nov 19, 2026 a channel without memberships answered the same address with its plain channel page.
-
Channel RSS FeedEvery YouTube channel has an RSS feed at youtube.com/feeds/videos.xml?channel_id= plus the channel ID. It lists the 15 newest uploads, Shorts included; in Vi.ki's test on Nov 13, 2026, swapping in playlist_id=UULF plus the rest of the ID gave a feed of long videos only.