YouTube URL Parser

Paste any YouTube link and get the parts you need: the video ID, the playlist ID, the start timestamp, the channel handle — plus ready-made embed, short and thumbnail links. It understands watch URLs, youtu.be, Shorts, live, embed, the old /v/ path, the mobile and music hosts, a bare eleven-character ID, and a URL typed without https. It reads the timestamp in all three forms YouTube emits, including the 1h2m3s shape the share button uses. Everything is parsed in the page and nothing is fetched, so it tells you what a URL says rather than whether the video exists.

Where the ID lives

FormatID location
youtube.com/watch?v=IDquery parameter v
youtu.be/IDfirst path segment
youtube.com/shorts/IDsecond path segment
youtube.com/embed/IDsecond path segment
youtube.com/live/IDsecond path segment
youtube.com/@handlechannel, no video

When to use it

  1. Get a video ID for an API call or a database column.
  2. Build an embed link that starts at a specific moment.
  3. Grab the thumbnail URL without opening the video.
  4. Pull the playlist ID out of a watch link.
  5. Split a batch of pasted links into IDs for a spreadsheet.

How to Use

  1. Paste a YouTube URL, or several, one per line.
  2. Read off the video, playlist and channel identifiers.
  3. Copy whichever derived link you need.

Features

  1. Every common YouTube URL shape
  2. Timestamps in seconds or 1h2m3s form
  3. Playlist and channel identifiers
  4. Embed, short and both thumbnail links
  5. Rejects session mixes that are not real playlists
  6. Batch input, one URL per line
  7. Nothing is fetched or uploaded

FAQs

Which URL formats does it handle?

watch?v=, youtu.be/, /shorts/, /live/, /embed/, the retired /v/ and /e/, /playlist?list=, /channel/UC…, /@handle, /c/ and /user/ — on the youtube.com, m., music., gaming. and youtube-nocookie hosts. A bare eleven-character ID and a URL with no scheme both work too.

Why is my timestamp missing?

It should not be. YouTube writes the t parameter three ways — 90, 90s and 1h2m3s — and this reads all three. The last is what the share dialog produces when you tick "start at", which is precisely where simpler parsers drop it.

Why did it ignore the list parameter on my link?

Because that list was not a real playlist. A value starting RD is a session-generated radio mix and LL is your own Liked Videos; neither opens for anyone else, so returning it as a playlist ID would hand you a link that does not work.

Which thumbnail URL should I use?

hqdefault at 480×360 is generated for every video and always exists. maxresdefault at 1280×720 only exists if the video was uploaded at 720p or higher — request it for an older or low-resolution upload and you get a grey placeholder rather than an error.

Does it check whether the video exists?

No, and it cannot. Nothing is fetched: the page never contacts YouTube, which is what keeps the tool private and instant. It reports what the URL says, not what the server would answer.

Why does the embed use youtube-nocookie.com?

Because it does not set tracking cookies until the viewer presses play, which is the difference between an embed that needs a consent banner and one that does not. It serves the same video.

Is my link sent anywhere?

No. The URL is parsed with the browser's own parser, in the page.

Technical Details

YouTube has accumulated about a dozen URL shapes over twenty years and a parser that handles only `watch?v=` fails on most of what people actually paste. The link is parsed with the browser's own URL parser and then matched against the paths that exist: `/watch` with the id in the query, `youtu.be/ID` with it in the path, `/shorts/ID`, `/live/ID`, `/embed/ID`, the long-retired `/v/ID`, `/playlist`, `/channel/UC…`, `/@handle`, and the legacy `/c/` and `/user/` paths. The mobile, music, gaming and nocookie hosts are all accepted, a bare eleven-character id is accepted because that is the second most common paste, and a URL typed without a scheme is accepted because almost nobody types one. Three details separate this from the five-line version. The timestamp parameter comes in three forms — `t=90`, `t=90s` and `t=1h2m3s` — and the share button's "start at current time" option emits the third, so a parser reading only digits loses the timestamp on exactly the links where it was deliberately set. The `list` parameter is not always a playlist: a value beginning RD is a session-generated radio mix and LL is the viewer's own Liked Videos, neither of which opens for anybody else, so reporting them as a playlist id hands back a link that cannot work. And an extracted id is validated against the eleven-character alphabet before being returned, because a malformed path otherwise yields a confident-looking id that 404s. The derived links include both thumbnail sizes with the distinction stated: `hqdefault` exists for every video, while `maxresdefault` is only generated when the upload was 720p or higher. Embeds are built on the nocookie host. Nothing is fetched — the page never contacts YouTube, so it cannot tell you whether a video exists, only what the URL says.

Social Media Tools

Social Media Tools

  • YouTube Title Counter
  • YouTube Tag Extractor
  • Instagram Hashtag Extractor
  • YouTube Watch History Analyzer
  • YouTube Title & Description Generator
  • YouTube Description Cleaner
  • YouTube Chapter Generator
  • YouTube Thumbnail Downloader