YouTube ID Finder
Instantly extract video IDs, channel IDs, and playlist IDs from any YouTube URL. Supports all formats — with batch extraction, embed code generator, API snippets, and thumbnail URL previews.
Supports: watch URLs, youtu.be, /embed/, /shorts/, /live/, @handles, /channel/UC…, /c/, /user/, playlist?list=
Enter a video URL or ID to generate ready-to-use embed code with custom options.
Enter a video URL or ID to get ready-to-run YouTube Data API v3 snippets for 4 languages.
Every YouTube URL Format Explained
Our tool handles all 10+ URL formats YouTube uses across different platforms and surfaces.
| URL Format | ID Location | ID Type | Length | Example |
|---|---|---|---|---|
| Standard Watch | After ?v= | Video | 11 chars | youtube.com/watch?v=XXXXX |
| Short URL (youtu.be) | After domain | Video | 11 chars | youtu.be/XXXXX |
| Embed URL | After /embed/ | Video | 11 chars | youtube.com/embed/XXXXX |
| Shorts URL | After /shorts/ | Shorts Video | 11 chars | youtube.com/shorts/XXXXX |
| Live URL | After /live/ | Video | 11 chars | youtube.com/live/XXXXX |
| Nocookie Embed | After /embed/ | Video | 11 chars | youtube-nocookie.com/embed/XXXXX |
| Channel by ID | After /channel/ | Channel | 24 chars (UC…) | youtube.com/channel/UCxxx |
| Channel by Handle | After /@ | Handle | Variable | youtube.com/@username |
| Legacy /c/ URL | After /c/ | Channel Name | Variable | youtube.com/c/ChannelName |
| Legacy /user/ URL | After /user/ | Username | Variable | youtube.com/user/username |
| Playlist URL | After list= | Playlist | 34+ chars (PL…) | youtube.com/playlist?list=PLxxx |
| Watch + Playlist | v= and list= | Video + Playlist | Both | watch?v=X&list=PL… |
YouTube ID Types: Complete Guide
Everything developers and creators need to know about each YouTube identifier.
Video ID (11 chars)
Alphanumeric + - and _. Assigned at upload and never changes. Used for embedding, API calls, thumbnail URL construction. Shorts and regular videos use the same format — they're interchangeable in embed URLs.
Channel ID (24 chars)
Always starts with UC. This is the permanent identifier — custom handles (@) can be changed by the creator, but the channel ID never can. Always resolve handles to a UC… ID before storing in a database.
Playlist ID (34+ chars)
Starts with PL (user playlists), UU (channel uploads), FL (favorites), or LL (liked videos). The uploads playlist ID = replace UC with UU in any channel ID.
Handle (@username)
Introduced in 2022, replacing legacy /user/ URLs. Not permanent — creators can change handles anytime. Never store a handle as a database key. Convert to UC… channel ID via the API first.
Thumbnail URLs
No API key needed. Pattern: img.youtube.com/vi/ID/quality.jpg. Five quality tiers from 120×90 to 1280×720. Note: maxresdefault may 404 on older videos — always fall back to hqdefault.
Uploads Playlist Trick
Every channel has a hidden uploads playlist. Derive it: replace UC with UU. Example: UCxxx → UUxxx. Use with playlistItems.list at 1 quota unit vs 100 units for search.list.
Where IDs Appear in YouTube URLs
Exactly where each ID type lives across the most common URL patterns.
Standard Watch URL — most common
The 11-char video ID follows v=. Params like t= (timestamp) and si= (share tracking) are ignored.
Short URL — used in shares and mobile
ID is the first path segment. The si= tracking token is not part of the ID.
Shorts — vertical short-form videos
Shorts use the same 11-char format. A Shorts ID works in regular embed URLs too.
Channel by UC ID — permanent
24-char ID starting with UC. This is the only truly permanent channel identifier.
Channel Handle — changeable by creator
Handles are NOT permanent. Always resolve to UC… channel ID before storing in a database.
Playlist URL
Playlist IDs start with PL and are 34+ characters. Use with the playlistItems.list API endpoint.
YouTube Thumbnail Quality Tiers
Construct direct thumbnail URLs using only a video ID — no API key required.
| Quality | Filename | Dimensions | Best For | Always Available? |
|---|---|---|---|---|
| Max Resolution | maxresdefault.jpg | 1280×720 | OG meta, hero images | Sometimes (may 404) |
| SD Default | sddefault.jpg | 640×480 | Blog posts, cards | Yes |
| HQ Default | hqdefault.jpg | 480×360 | Thumbnails, previews | Yes — use as fallback |
| MQ Default | mqdefault.jpg | 320×180 | Sidebars, small cards | Yes |
| Default | default.jpg | 120×90 | Tiny icons | Yes |
https://img.youtube.com/vi/VIDEO_ID/maxresdefault.jpg — Replace the quality filename as needed. Always use hqdefault.jpg as a fallback in production code.
YouTube Data API v3 Endpoints by ID Type
Every major API operation and which ID type it requires — with quota costs.
| Operation | Endpoint | ID Required | Key Param | Quota Cost |
|---|---|---|---|---|
| Get video stats | videos.list | Video ID | id=VIDEO_ID | 1 unit |
| Get video captions | captions.list | Video ID | videoId=VIDEO_ID | 50 units |
| List comments | commentThreads.list | Video ID | videoId=VIDEO_ID | 1 unit |
| Get channel info | channels.list | Channel ID | id=CHANNEL_ID | 1 unit |
| List channel uploads | playlistItems.list | Uploads Playlist (UU…) | playlistId=UU… | 1 unit |
| Search channel videos | search.list | Channel ID | channelId=CHANNEL_ID | 100 units ⚠️ |
| Get playlist items | playlistItems.list | Playlist ID | playlistId=PL… | 1 unit |
| Resolve handle to ID | channels.list | Handle | forHandle=@username | 1 unit |
search.list costs 100 units vs just 1 unit for videos.list. Store video IDs in your database and fetch up to 50 at once with videos.list?id=ID1,ID2,ID3 — never search when you can look up directly.
What Developers Do With YouTube IDs
Embed Videos on Your Website
Use the video ID in an iframe: https://youtube.com/embed/VIDEO_ID. IDs are permanent, so embeds won't break if the creator renames the video. Add parameters like ?autoplay=1&mute=1 for autoplay. Use our Embed Code tab to generate the full iframe with all options.
Fetch Video Stats via API
Pass the video ID to videos.list?part=statistics,snippet&id=VIDEO_ID to get views, likes, comment count, title, description, and tags. Batch up to 50 IDs in one call to minimize quota usage. Use our API Snippets tab for ready-to-run code.
Display Thumbnails Without API Keys
Construct thumbnail URLs directly: img.youtube.com/vi/VIDEO_ID/hqdefault.jpg. No authentication needed. Use maxresdefault for HD images (fallback to hqdefault if 404). Perfect for video galleries and preview grids.
Store Video References in Databases
Always store the 11-char video ID, not the full URL. URLs can change format; IDs never do. For channels, store the UC… channel ID, not the handle. Derive the uploads playlist ID (UU…) from the channel ID to paginate all videos efficiently.
Build Playlist Embeds
Embed an entire playlist: https://youtube.com/embed/VIDEO_ID?list=PLAYLIST_ID. The player will auto-advance through all playlist videos. Combine with &loop=1 for continuous playback. Use the channel uploads playlist ID to embed all channel videos automatically.
YouTube ID Questions Answered
The most complete FAQ on YouTube identifiers for developers and creators.
What is a YouTube video ID and why is it 11 characters?
-, _) giving 64^11 ≈ 73 trillion combinations — enough for every video for centuries. The ID appears after v= in watch URLs and never changes, even if the title, description, or thumbnail is updated.How do I convert a YouTube @handle to a permanent channel ID?
channels.list?part=id&forHandle=@username&key=YOUR_KEY. This returns the permanent UC… channel ID. Cost: 1 quota unit. Always do this conversion before storing a channel reference in your database.What URL formats does this YouTube ID Finder support?
watch?v=, short youtu.be/, /embed/, youtube-nocookie.com/embed/, /shorts/, /live/, channel /channel/UC…, handle /@username, legacy /c/ and /user/, and playlist list=PL…. We also handle URLs with extra parameters like timestamps (t=), share tracking (si=), and playlist context.Are YouTube video IDs truly permanent?
Can I embed a YouTube video using just the video ID?
https://www.youtube.com/embed/VIDEO_ID. Full iframe example: <iframe src="https://www.youtube.com/embed/VIDEO_ID" width="560" height="315" frameborder="0" allowfullscreen></iframe>. Add parameters: ?autoplay=1&mute=1&loop=1&playlist=VIDEO_ID&controls=0&start=30. Use our Embed Code tab to configure all options visually.What is the uploads playlist ID and how do I use it?
UC → UU. Example: channel UCuAXFkgsw1L7xaCfnd5JJOw → uploads playlist UUuAXFkgsw1L7xaCfnd5JJOw. Use with playlistItems.list at 1 quota unit per call — vs 100 units for search.list. Essential for building video libraries efficiently.Can I extract multiple YouTube IDs at once?
How do I get YouTube thumbnails without an API key?
https://img.youtube.com/vi/VIDEO_ID/QUALITY.jpg. Available qualities: maxresdefault.jpg (1280×720, may 404), sddefault.jpg (640×480), hqdefault.jpg (480×360 — always available, best fallback), mqdefault.jpg (320×180), default.jpg (120×90). Our Single URL tab shows a live preview of all three main quality tiers when you extract a video ID.Related YouTube Tools
Thumbnail Downloader
Download HD, Full HD, and 4K thumbnails from any YouTube video instantly.
Data Viewer
View full video stats, tags, and metadata for any YouTube video.
Money Calculator
Estimate ad earnings from views with real 2026 CPM and RPM rates.
Engagement Rate
Calculate and benchmark engagement rate against your niche averages.