How to Find a YouTube Video ID in Any Link Format
1. What is a YouTube Video ID?
Every piece of video content on YouTube is assigned an immutable 11-character unique identifier. This string is composed of letters (A-Z, a-z), numbers (0-9), hyphens (-), and underscores (_).
No matter how many times a video title, description, or custom thumbnail is modified, its 11-character video ID never changes. It acts as the primary key in YouTube's global databases.
2. Locating Video ID in Standard Desktop Links
When viewing a video on a desktop web browser (Chrome, Firefox, Safari, or Edge), the URL in the browser address bar looks like this:
https://www.youtube.com/watch?v=dQw4w9WgXcQ
The video ID is the 11-character code immediately following v=. In this example, the ID is dQw4w9WgXcQ.
If the URL contains extra query parameters (such as timestamps like &t=45s or playlist tracking), the video ID sits between v= and the first & ampersand:
https://www.youtube.com/watch?v=dQw4w9WgXcQ&t=45s&list=PL123
4. Locating Video ID in YouTube Shorts
Vertical short-form videos uploaded to YouTube Shorts use a specialized path structure:
https://www.youtube.com/shorts/3jZp0GkKz1Q
The video ID is the 11 characters directly following /shorts/: 3jZp0GkKz1Q.
Pro Tip: YouTube Shorts are regular YouTube videos underneath! If you replace /shorts/ with /watch?v= in your browser address bar, the Short will open inside the classic desktop YouTube player with a scrubber bar and resolution controls.
5. Locating Video ID in Embed Code & Players
Web developers embedding videos in blogs or web applications encounter iframe code:
<iframe src="https://www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0"></iframe>
The video ID is the string positioned directly after /embed/.
6. The Instant 1-Click Extraction Tool
Instead of manually parsing complex URLs or trimming tracking parameters, paste your link into our automated utility:
Extract Video ID Automatically →