← All open source projects

youtube-dl

ytdl-org/youtube-dl

youtube-dl is a historically important Python CLI for downloading videos from YouTube and other sites, and the predecessor to the modern yt-dlp branch.

Forks 10,673
Author ytdl-org
Language Python
License Unlicense
Synced 2026-06-07

What youtube-dl is

youtube-dl is a historically important command-line program for downloading videos from YouTube and other sites. It established the model later expanded by forks such as yt-dlp: one CLI, many extractors, format options, playlists, output templates, and post-processing.

The project is Python-based and ran as a portable tool for Unix, Windows, and macOS. Today its role is partly historical: it is the base of a downloader ecosystem, while many users have moved to the more active yt-dlp branch.

What is inside and how it is used

Command shape

This example shows the project shape and the usual way it is used.

Language: Bash
youtube-dl -f best \
  -o "%(title)s.%(ext)s" \
  "https://example.com/watch?v=..."

youtube-dl matters as an architectural and cultural predecessor. Names, flags, extractor patterns, and user habits shaped modern media downloader tools.

Strengths and limits

Its limits are visible because sites and forks move quickly. yt-dlp is often chosen for new use, but youtube-dl remains important for history and compatibility. Legal questions around downloads still apply.