New YouTube Partner Program rules: Feb 1, 2027Date announced, hour not (as of Nov 7, 2026). New applicants need 8,000 watch hours or 20 million Shorts views; partners must accept the new terms by Jan 31, 2027.

2Months9Days

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

Moments

Will YouTube Ever Run Out Of Video IDs?

Tom Scott

  1. Tom Scott worked the usual figure out in his Mar 21, 2016 video on the question: each character is one of 64…

YouTube Just Got Better (But Also Worse)

ThioJoe

  1. At the figure ThioJoe gave in a Jan 10, 2026 video, "over 20 million videos uploaded daily", the 18.4 quintillion IDs…

See also

About this page

Last updated Nov 22, 2026 by the Vi.ki team. Page text CC BY-SA 4.0.

Edit History

Hotkeys

/
Jump to the search box
? or Ctrl + /
Open this list
Esc
Close this list, the photo viewer, or the account menu

Video

Space or K
Play or pause
← →
Back or forward 5 seconds
J L
Back or forward 10 seconds
0 to 9
Go to 0% to 90% of the video
, .
Previous or next frame, while paused
M
Mute or unmute
C
Captions on or off
F
Full screen on or off
A D
Previous or next moment

Photo viewer

← → or A D
Previous or next photo
↑ ↓ or W S
Previous or next photo
Home End
First or last photo
I
Show or hide the photo's info
Z
Clickless on or off: a pointer over a thumbnail shows it
N
Compare with the last photo: back to the one shown before this, and N again comes back
Q
Move the thumbnails to the next edge: top, bottom, left and round
, or Ctrl + ,
Open or close the viewer's settings
V
Clickless pan: a zoomed photo follows the pointer, rather than being dragged
Shift
Browse on or off
B
Show or hide the button bar
T
Show or hide the thumbnails
1
100% zoom on or off
0
Rate the photo as no opinion; again takes the answer back
+ -
Rate the photo a step higher or lower
F
Full screen: the photo alone. F again puts everything back.
Back to top