What is a YouTube video ID?
Every YouTube video has an 11-character ID made of letters, numbers, hyphens and underscores — for example dQw4w9WgXcQ. It appears in every link format, but in different places, which makes it easy to copy the wrong part.
You need the ID for embeds, API requests, analytics spreadsheets, chapters tools and many browser extensions.
Supported link formats
youtube.com/watch?v=ID(including extra parameters like&t=42sor&list=…)youtu.be/IDshort linksyoutube.com/shorts/IDyoutube.com/embed/IDandyoutube-nocookie.com/embed/IDyoutube.com/live/ID,m.youtube.comandmusic.youtube.comlinks
Example
Paste https://youtu.be/dQw4w9WgXcQ?si=abc123 and you get the ID dQw4w9WgXcQ, the canonical URL https://www.youtube.com/watch?v=dQw4w9WgXcQ (tracking parameters removed) and the embed URL https://www.youtube.com/embed/dQw4w9WgXcQ.
Limitations
- Parsing happens in your browser and doesn't check whether the video exists or is public.
- Channel, playlist and search URLs don't contain a single video ID and are reported as not recognised.