Developers

How to Find a YouTube Video ID (Any Link, Any Device)

Find the 11-character YouTube video ID in watch, youtu.be, Shorts, embed and live links, on desktop or phone – and how to extract IDs from many links at once.

Article cover: How to Find a YouTube Video ID (Any Link, Any Device)
In this article
  1. Where the ID is in each link
  2. On a computer
  3. On a phone
  4. Many links at once
  5. What you can do with a video ID
  6. Don’t confuse it with other IDs
  7. In YouTube Studio
  8. In a playlist link
  9. Extract IDs in Google Sheets or Excel
  10. Check that an ID is correct

Every YouTube video has a unique 11-character ID. You need it to build thumbnail URLs, embed codes, API requests or spreadsheets of videos. Here’s where to find it in every type of link.

Link typeExampleVideo ID
Watch pageyoutube.com/watch?v=dQw4w9WgXcQ&t=30sdQw4w9WgXcQ
Short linkyoutu.be/dQw4w9WgXcQ?si=abc123dQw4w9WgXcQ
Shortsyoutube.com/shorts/dQw4w9WgXcQdQw4w9WgXcQ
Embedyoutube.com/embed/dQw4w9WgXcQdQw4w9WgXcQ
Liveyoutube.com/live/dQw4w9WgXcQdQw4w9WgXcQ
Mobilem.youtube.com/watch?v=dQw4w9WgXcQdQw4w9WgXcQ

Everything after the ID — &t=, ?si=, &feature= — is extra information (start time, sharing source) and isn’t part of the ID.

On a computer

Open the video and look at the address bar. The ID is the 11 characters after v=, stopping at the next & if there is one.

On a phone

  1. In the YouTube app, tap Share → Copy link.
  2. Paste the link somewhere you can read it (notes, a chat with yourself).
  3. The ID is the 11 characters after youtu.be/ and before ?.

If you have a list of links — from a spreadsheet, a document or a chat — paste everything into our video ID extractor. It finds every YouTube link, removes duplicates and gives you the IDs, clean watch links and HD thumbnail links. You can copy the result as CSV for Google Sheets or Excel.

What you can do with a video ID

Don’t confuse it with other IDs

Playlist IDs usually start with PL and are longer; channel IDs start with UC and have 24 characters. Only the 11-character code identifies a single video.

In YouTube Studio

If it’s your own video, open YouTube Studio → Content and click the video. The address bar shows studio.youtube.com/video/VIDEO_ID/edit, and the Video link box on the right side of the details page shows the short youtu.be/VIDEO_ID link. Both contain the same ID, and they work even for private and unlisted videos.

A link like youtube.com/watch?v=dQw4w9WgXcQ&list=PLxxxx contains two IDs: the video ID after v= and the playlist ID after list=. A link that only has youtube.com/playlist?list=… points to the whole playlist and contains no video ID — open one of its videos first.

Extract IDs in Google Sheets or Excel

If your links are in column A, this Google Sheets formula pulls the ID from watch, youtu.be, Shorts, embed and live links:

=REGEXEXTRACT(A2, "(?:v=|youtu\.be/|shorts/|embed/|live/)([A-Za-z0-9_-]{11})")

Excel doesn’t have REGEXEXTRACT in every version, so for Excel (or for hundreds of mixed links) it’s faster to paste everything into the video ID extractor and copy the CSV.

Check that an ID is correct

A valid ID is exactly 11 characters from A–Z, a–z, 0–9, - and _. IDs are case-sensitive: dQw4w9WgXcQ and dqw4w9wgxcq are different videos. To test one, open https://www.youtube.com/watch?v=VIDEO_ID; if YouTube says Video unavailable, the ID is mistyped, the video was deleted, or it’s private. A common copy mistake is losing the last character or including the ? or & after it.

Frequently asked questions

Is the video ID always 11 characters?

Yes, YouTube video IDs are 11 characters long and use letters, numbers, hyphens (-) and underscores (_).

Is a channel ID the same as a video ID?

No. Channel IDs start with UC and are 24 characters long. Video IDs are 11 characters.

Does the video ID change if I edit the video?

No. Changing the title, description, thumbnail or privacy setting keeps the same ID. Only a new upload gets a new ID, so if you delete and re-upload a video, every old link and embed stops working.

Do private and unlisted videos have IDs too?

Yes, in exactly the same 11-character format. The difference is who can open them: unlisted videos work for anyone with the link, private videos only for invited accounts.

Grab any YouTube thumbnail in seconds

Paste a link and download every available size, up to 1280×720.

Open the downloader
Free Thumbnail Downloader Team

We build small, fast tools for YouTube creators and write guides based on testing them ourselves.

Keep reading