Zero Signup ToolsFree browser tools

Developer Tools

YouTube Video ID Extractor

Extract the 11-character YouTube video ID from any URL. Handles watch, share, shorts, embed, live, music, and bare IDs in your browser.

Input

Paste a YouTube URL

Supports watch links, youtu.be share links, Shorts, /embed/, /live/, /v/, YouTube Music, mobile (m.youtube.com), no-cookie embeds, the i.ytimg.com and img.youtube.com thumbnail CDNs, and bare 11-character IDs.

Paste a YouTube URL above. The extracted video ID, start time, playlist, and rebuilt links appear here.

How to use

  1. Pick Single URL for one link or Batch for many links pasted one per line. Click Load sample to see a working example with several URL flavors.
  2. Paste the YouTube URL or bare ID into the input. The tool extracts the 11-character video ID and reports which kind of URL it matched.
  3. If the URL carries a t / start / time_continue value or a list playlist parameter, the start time and playlist ID are surfaced separately.
  4. Use the rebuilt links to copy the canonical watch, share, embed, no-cookie embed, or thumbnail URL for that ID.
  5. In Batch mode, switch the output between IDs only, CSV, or JSON, then click Copy all to grab every result at once.

About this tool

YouTube Video ID Extractor pulls the 11-character video ID out of any public YouTube link. Paste a single URL or a list of URLs one per line, and the tool recognises watch links (youtube.com/watch?v=...), short share links (youtu.be/...), Shorts (/shorts/...), legacy /v/ paths, /embed/ URLs, /live/ URLs, YouTube Music (music.youtube.com), mobile pages (m.youtube.com), youtube-nocookie embeds, the i.ytimg.com and img.youtube.com thumbnail CDNs, plus bare 11-character IDs typed directly. Along with the ID, the tool reports the URL flavor it matched, the start timestamp if the URL carries t, start, or time_continue (shown in seconds and a human-readable form like 1h 23m 45s), and the playlist ID with its index if the URL carries list. Once an ID is extracted, the tool also rebuilds the canonical watch link, the short share link, the standard /embed/ URL, the privacy-friendly youtube-nocookie embed URL, and the four most useful CDN thumbnail URLs (maxres, sd, hq, mq) so an embed, blog post, or sitemap entry can be wired up from a single paste. Batch mode parses every line at once and lets you copy the result as a plain list of IDs, a CSV, or a structured JSON document. Useful for marketers building YouTube schema markup, developers wiring up oEmbed or iframe players, editors normalising creator URLs in a CMS, and anyone who wants the canonical ID instead of the long share URL. Everything runs in the browser using the native URL constructor and a handful of small regexes; no HTTP request is made to YouTube and no input leaves your device.

Free to use. Works in your browser. No signup, no login.

Related tools

You may also like

All tools
All toolsDeveloper Tools