Skip to the tool
URLExtractor
Extracting links

How to Extract YouTube Description Links and Playlist URLs

Three different jobs that all get called "YouTube URL extraction" — finding links in text, pulling links out of a description, and exporting a playlist — and which ones need an API key.

By URL Extractor EditorialPublished

"YouTube URL extractor" covers at least four different things, and only three of them are this. The fourth — downloading videos — is not something this site does.

The three real jobs:

  1. Tidying YouTube links you already have in a document, a chat log or a set of show notes.
  2. Getting the links an author wrote in a video description — the tools, the sources, the affiliate links.
  3. Exporting a playlist as a list of video addresses.

Jobs 1 and 2 (when you paste the description) work immediately. Job 3, and job 2 when you give us a video address instead of its text, need YouTube's official API.

Job 1: tidying links in text

YouTube links come in many shapes, and the same video can appear half a dozen ways:

plain
https://www.youtube.com/watch?v=dQw4w9WgXcQ&t=125s
https://youtu.be/dQw4w9WgXcQ
https://www.youtube.com/shorts/aBcDeFgHiJk
https://www.youtube.com/embed/dQw4w9WgXcQ
https://m.youtube.com/watch?v=dQw4w9WgXcQ&list=PLxxxxxxxxxx
https://music.youtube.com/watch?v=dQw4w9WgXcQ

The YouTube tool recognises all of these and normalises them to one canonical watch address, so five links to the same video collapse into one row.

Two things it removes by default, and tells you about:

  • Start times (?t=125s) — otherwise the same video linked at three timestamps stays three rows.
  • Playlist context (&list=…) — which describes where you were when you copied the link, not the video.

Checkboxes keep either or both when you want them.

Job 2: links from a video description

Without any setup: open the video, expand the description, select and copy it, and paste it into the tool's "Paste the description" mode. Every address in it comes out. This runs in your browser.

With an API key configured: paste the video address instead and the tool asks YouTube for the description through the official videos.list endpoint with part=snippet, then extracts from what it returns.

The second route is more convenient. The first works everywhere and needs nothing, which is why it is the default.

Job 3: exporting a playlist

This one genuinely requires the API. The tool uses playlistItems.list with part=snippet,status, reads pages of 50, and returns each video's canonical address, title and position.

Three things are handled explicitly:

  • Private and deleted entries keep their position in the playlist but have no usable address. They are counted and reported, not silently dropped — so a playlist of 50 that returns 47 addresses tells you why.
  • Paging is capped. If a playlist is longer than the cap, the result says so instead of looking complete.
  • Quota. Every API call costs quota against the site owner's project, which is why the cap exists.

If the tool shows "not configured", the site has no API key. Paste the links you already have into the text mode instead — it needs no setup.

Setting up an API key (for site owners)

  1. 1

    Create a project and enable the API

    In the Google Cloud console, create a project and enable YouTube Data API v3 for it.

  2. 2

    Create an API key

    Under Credentials, create an API key. Restrict it to the YouTube Data API, and restrict it by IP or referrer where your deployment allows.

  3. 3

    Add it to the deployment

    Set YOUTUBE_API_KEY in your environment variables. It is read on the server only and never sent to a browser. The dashboard shows whether it is configured, never its value.

  4. 4

    Watch the quota

    The default daily quota is limited and shared across your whole project. A description lookup and a page of playlist items each cost quota, which is why the tool caps how many pages it will read.

Frequently asked questions

Can I download the videos?

No. This is a link tool: it collects and tidies addresses. It does not fetch media, produce MP4 links, or bypass anything. A lot of searches for "YouTube URL extractor" are looking for a downloader — this is not that.

Can it read a private or unlisted playlist?

No. The API returns what is publicly accessible. Unlisted items inside an otherwise public playlist come back marked as unavailable rather than being guessed at.

Why did my playlist return fewer videos than it shows on YouTube?

Usually because some entries are private or deleted — those are counted separately in the result — or because the playlist is longer than the page cap, which is also reported.

Are Shorts supported?

Yes. A `/shorts/<id>` address is recognised, labelled as a Short, and normalised to the canonical watch address for the same video.

Sources

YouTube URL ExtractorAll three modes in one place.

Tools used in this guide

Related guides

Share this pageWhatsAppXLinkedInFacebook