On this page
Find the video ID in any YouTube link
Every YouTube video and Short has a unique 11-character video ID. It is the key that connects a link to a video, and you need it for embed codes, thumbnail URLs, the YouTube Data API, analytics spreadsheets and countless automation tools. The problem is that links come in many shapes: long desktop links with extra parameters, youtu.be short links, Shorts links, embed links, live links, mobile links, and links buried inside messages. The YouTube Video ID Finder extracts the clean ID from all of them, one at a time or hundreds at once.
For each video, you also get a clean short link and the URL of its HD thumbnail, and you can copy every ID with one click or download everything as a CSV file for Excel or Google Sheets.
How to extract YouTube video IDs
- Paste your links into the box. One per line is tidy, but you can also paste a block of text, such as an email or a document, that contains links anywhere inside it.
- Press Extract IDs. Duplicates are removed automatically and the results appear in a numbered table.
- Copy or export. Use Copy all IDs for a plain list, or Download CSV for a spreadsheet with ID, watch URL and thumbnail URL columns.
Where the ID appears in each type of link
| Link type | Example | ID position |
|---|---|---|
| Standard watch link | youtube.com/watch?v=dQw4w9WgXcQ | After v= |
| Short link | youtu.be/dQw4w9WgXcQ | After the slash |
| Shorts | youtube.com/shorts/abcDEF12345 | After /shorts/ |
| Embed | youtube.com/embed/dQw4w9WgXcQ | After /embed/ |
| Live | youtube.com/live/abcDEF12345 | After /live/ |
| Mobile / Music | m.youtube.com/watch?v=… / music.youtube.com/watch?v=… | After v= |
| Thumbnail URL | i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg | After /vi/ |
The ID is always exactly 11 characters long and uses only letters (case-sensitive), numbers, hyphens and underscores. Everything else in a link, such as &t=, &list=, ?si= or ?feature=share, is an extra parameter and is not part of the ID.
What you can do with a video ID
Build clean, shareable links
Links copied from the YouTube app often include a tracking parameter called si. Removing it gives you a shorter, cleaner link like https://youtu.be/VIDEOID that is easier to read in emails, posts and printed material.
Get thumbnails
Any thumbnail can be loaded with the pattern https://i.ytimg.com/vi/VIDEOID/maxresdefault.jpg. Swap maxresdefault for sddefault, hqdefault, mqdefault or default for other sizes. For a visual way to see and save every size, use the Thumbnail Downloader.
Embed videos
Embed URLs use the format https://www.youtube.com/embed/VIDEOID. Our Embed Code Generator builds the full responsive code with options like start time and privacy-enhanced mode.
Work with the YouTube Data API
Developers pass video IDs to API endpoints to read titles, statistics, durations and more. A clean list of IDs from this tool can be pasted straight into scripts, Google Apps Script or no-code automation platforms.
Organise spreadsheets
Marketers and researchers track videos by ID because titles change while IDs never do. The CSV export gives you a ready-made sheet you can extend with your own columns for views, notes and dates.
Is a video ID the same as a channel ID?
No. A channel ID is a different, longer identifier that usually starts with UC and is 24 characters long. Channels also have handles that start with @. This tool focuses on video IDs. Channel URLs pasted into the box are ignored because they do not point to a single video.
Extracting IDs from playlists
A playlist link with only list= identifies the playlist, not a single video. If you open the playlist on YouTube and copy the links of its videos, or export them from a tool you use, then paste those into the box, every video ID is extracted. When a link contains both v= and list=, the tool takes the video ID and ignores the playlist part.
Tips for working with large lists
- Paste messy text freely. The extractor scans for YouTube URLs anywhere in the text, so you do not have to clean up the list first.
- Watch out for case. IDs are case-sensitive:
abcandABCare different videos. Never change the capitalisation of an ID. - Keep IDs as text in spreadsheets. Some IDs start with a hyphen or look like numbers, and spreadsheet apps may try to turn them into formulas or numbers. Format the column as plain text before pasting.
- Need thumbnails for the whole list? Paste the same links into the Bulk Thumbnail Downloader.
Privacy
Extraction is done entirely in your browser with simple text matching. No list of links is sent to our servers and nothing is stored, so you can safely process private, unlisted or client videos.
Troubleshooting
Nothing was found. Make sure the text contains real video links or 11-character IDs. Channel pages, search URLs and playlist-only links do not contain a video ID.
A random word was detected as an ID. The tool only accepts standalone 11-character words that include a number, hyphen, underscore or mixed capitalisation, which filters out normal words. If something unexpected appears, simply delete that row from your copy.
Video IDs for developers
If you are building something yourself, the same pattern this tool uses can be written as a regular expression that captures 11 characters from [A-Za-z0-9_-] after v=, youtu.be/, /shorts/, /embed/ or /live/. Always validate the result is exactly 11 characters, and never assume the ID is the last part of the URL, because parameters such as si or t often follow it. When calling the YouTube Data API, you can request details for up to 50 IDs in a single videos.list call by joining them with commas, which is why a clean list from this tool is so convenient.
Frequently Asked Questions
What is a YouTube video ID?
It is the unique 11-character code that identifies every video and Short, made from letters, numbers, hyphens and underscores. In youtube.com/watch?v=dQw4w9WgXcQ the ID is dQw4w9WgXcQ.
Where is the video ID in a Shorts link?
It is the part right after /shorts/. For example, in youtube.com/shorts/abcDEF12345 the ID is abcDEF12345.
Why do I need a video ID?
Developers use it with the YouTube Data API, website owners use it in embed codes, and marketers use it to build clean links, track videos in spreadsheets and fetch thumbnails.
Does the tool remove tracking parameters?
Yes. Parameters like si, feature, pp and list are stripped and you get a clean canonical link for every video.