YouTube Video ID Extractor

Paste any YouTube link below and pull out its 11-character video ID instantly. Works with watch URLs, youtu.be short links, Shorts, embed and live URLs - or paste a raw ID to validate it. Free, no signup, runs entirely in your browser.

Paste a YouTube link or raw video ID above - the result appears here.

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.

  1. Open the video (or Short) on YouTube, tap Share > Copy Link - or copy the URL straight from your browser's address bar.
  2. Paste it into the box above and press Extract ID (or just press Ctrl+V anywhere on this page - pasting triggers the tool automatically).
  3. 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 setExamplesHow many
Uppercase lettersA B C ... Z26
Lowercase lettersa b c ... z26
Digits0 1 2 ... 910
Hyphen and underscore- _2
Total alphabet64 possible characters6411 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:

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:

FormatExample inputID extracted
Watch URLyoutube.com/watch?v=dQw4w9WgXcQdQw4w9WgXcQ
Short linkyoutu.be/dQw4w9WgXcQdQw4w9WgXcQ
Shortsyoutube.com/shorts/dQw4w9WgXcQdQw4w9WgXcQ
Embedyoutube.com/embed/dQw4w9WgXcQdQw4w9WgXcQ
Liveyoutube.com/live/dQw4w9WgXcQdQw4w9WgXcQ
Raw IDdQw4w9WgXcQdQw4w9WgXcQ

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.

Video ID Extractor FAQs

+How do I find a YouTube video ID?
Open the video on YouTube and look at the address bar - the ID is the 11-character code right after watch?v= (or after youtu.be/, shorts/, embed/ or live/). Or paste the full link into the extractor above and the ID appears instantly.
+What does a video ID look like?
A video ID is exactly 11 characters long and uses a base64-style alphabet: uppercase letters, lowercase letters, digits, hyphens and underscores. Example: dQw4w9WgXcQ.
+Can I extract the ID from a Shorts link?
Yes. Paste any youtube.com/shorts/ link and the tool returns the same 11-character ID the Short uses - it is identical to the ID in the watch URL of that video.
+Is the same ID used for all URL formats?
Yes. The watch URL, youtu.be short link, Shorts URL, embed URL and live URL all contain the same 11-character ID, so every format extracts to the same code.
+Is this tool free?
Yes - 100% free, no signup, no limits. Everything runs in your browser and no link is ever uploaded to a server.

Need the Thumbnail Too?

Paste the same link into the main downloader and grab the HD 1280×720 image in one click.

Open Full Downloader