How to Extract a Video ID
Copy the YouTube link, paste it above, and click Extract ID. The tool scans the URL for YouTube's known link patterns, grabs the 11-character code that follows, and shows it in a copy-ready card - the whole thing happens locally, so nothing you paste is ever sent to a server.
- Open the video (or Short) on YouTube, tap Share > Copy Link - or copy the URL straight from your browser's address bar.
- Paste it into the box above and press Extract ID (or just press Ctrl+V anywhere on this page - pasting triggers the tool automatically).
- Click Copy ID in the result card and the 11-character code lands on your clipboard, ready to paste anywhere.
If the input is not a recognizable YouTube link or a valid ID, the tool tells you immediately instead of guessing - a broken or shortened URL will never produce a false result.
What the Video ID Is
A YouTube video ID is exactly 11 characters long. It is the unique identifier YouTube uses to store, serve and reference every video on the platform. The ID uses a base64-style alphabet, which means it can contain more than just letters and numbers:
| Character set | Examples | How many |
|---|---|---|
| Uppercase letters | A B C ... Z | 26 |
| Lowercase letters | a b c ... z | 26 |
| Digits | 0 1 2 ... 9 | 10 |
| Hyphen and underscore | - _ | 2 |
| Total alphabet | 64 possible characters | 6411 possible IDs |
The ID always appears in the same spot within a URL: right after the watch?v=, youtu.be/, shorts/, embed/ or live/ prefix. Anything that follows it - a timestamp like &t=42s or a playlist parameter like &list=... - is not part of the ID and is safely ignored by the extractor.
What You Can Do With It
The video ID is the key that unlocks every thumbnail YouTube stores for a video. Once you have it, you can build direct image URLs by hand - the pattern is simple and never changes:
https://img.youtube.com/vi/VIDEO_ID/maxresdefault.jpg
Swap the file name for sddefault.jpg, hqdefault.jpg, mqdefault.jpg or default.jpg to get the other sizes. Or skip the manual work and use the ID with our free tools:
- Main thumbnail downloader - paste the ID or link and download the Full HD 1280×720 image in one click.
- Thumbnail preview tool - see all five sizes of the video live, with real dimensions detected automatically.
- Thumbnail resizer - crop and scale any thumbnail to 16:9, 1:1, 4:3 or custom canvases.
Works With Every URL Format
Every way YouTube can link to a video contains the same 11-character ID. The extractor understands all of them - plus a raw ID pasted on its own - and returns the identical code no matter which format you feed it:
| Format | Example input | ID extracted |
|---|---|---|
| Watch URL | youtube.com/watch?v=dQw4w9WgXcQ | dQw4w9WgXcQ |
| Short link | youtu.be/dQw4w9WgXcQ | dQw4w9WgXcQ |
| Shorts | youtube.com/shorts/dQw4w9WgXcQ | dQw4w9WgXcQ |
| Embed | youtube.com/embed/dQw4w9WgXcQ | dQw4w9WgXcQ |
| Live | youtube.com/live/dQw4w9WgXcQ | dQw4w9WgXcQ |
| Raw ID | dQw4w9WgXcQ | dQw4w9WgXcQ |
Extra URL parameters are no problem either: timestamps, playlists, start times and share-tracking junk after the ID are all stripped away automatically, so a messy copied link still yields a clean 11-character result.