Skip to content
TrySitePrice

YouTube video ID extractor

Paste one link or a whole column of them. Each line is labelled with the shape it matched, the ID that came out of it, and the playlist or start-time parameters that are easy to mistake for part of the ID.

One per line, or separated by spaces or commas. Everything is processed in this tab.

Nothing to read yet

Paste one link or a whole column of them. Watch, youtu.be, Shorts, embed, live and old /v/ shapes are all recognised, and a bare ID is passed straight through.

A YouTube video ID is eleven characters from A–Z, a–z, 0–9, hyphen and underscore. Nothing is looked up — a well-formed ID here means the shape is right, not that the video exists.

Questions about YouTube video IDs

01What exactly is a video ID?

Eleven characters drawn from A–Z, a–z, 0–9, hyphen and underscore. That alphabet is why a naive regex over a URL goes wrong: the list and t parameters are made of the same characters, so a pattern that just looks for eleven valid characters will happily return part of a playlist ID.

02My link has a playlist in it. Which ID do I get?

The video one, with the playlist reported next to it so you can see both. A link that carries only a list parameter and no v is labelled playlist-only and returns no video ID, because there genuinely is not one in it.

03Does a valid-looking ID mean the video exists?

No. Nothing is looked up here — a well-formed ID means the shape is right, nothing more. A deleted, private or mistyped-but-valid ID looks identical to a live one at this level, which is why the tool says it is checking shape rather than existence.

04Can I paste embed code rather than a link?

Yes. An iframe's src is matched, including youtube-nocookie.com, so you can paste markup straight out of a page without cleaning it up first.

Related checks

With the IDs in hand, pull each video's thumbnails with the thumbnail downloader, or work on a listing's tags using the tag generator.