yt-dlp: The Command-Line Downloader That Keeps Up With the Web
Streaming sites change constantly, and most download tools break the moment they do. yt-dlp is the open-source project that keeps pace, and it has passed 208,000 stars and 18,000 forks on GitHub.
What it is
yt-dlp is a feature-rich command-line audio and video downloader that supports thousands of sites. It started as a fork of youtube-dl, built on the now-inactive youtube-dlc, and has since become the go-to tool in its category. It is written in Python and released under the Unlicense, which puts the code in the public domain. The bundled standalone executables include some GPLv3+ code, so the project notes those builds as GPLv3+.
Key features
- Smart format selection. Higher resolutions and better codecs are preferred by default, and
-Slets you set your own sort order. - SponsorBlock integration. Mark or cut sponsor segments, intros, and other sections of YouTube videos using the SponsorBlock API.
- Partial and chapter downloads. Grab only a time range with
--download-sections, or split a video into files by chapter with--split-chapters. - Faster downloads. Fetch fragments of streaming videos in parallel with
-N. - Flexible output. Output templates, metadata editing, plugins, and portable config files let you automate a whole media library.
- Embeddable. Use it as a Python library inside your own scripts and apps.
Why it matters
yt-dlp is the engine behind a lot of self-hosted media setups: archiving channels to a home server, saving lectures for offline viewing, or pulling audio for a podcast feed. Because sites keep changing, the maintainers recommend the nightly release channel for regular users, and the latest stable release (2026.10.26 at the time of writing) is updated on a mostly monthly schedule. If you care about owning copies of the media you watch, this is the tool to learn.
Getting started
Download the single binary for Windows, macOS, or Linux from the latest release, or install it with python3 -m pip install -U "yt-dlp[default]". Install ffmpeg to merge video and audio, plus a JavaScript runtime such as Deno for full YouTube support. Then run yt-dlp followed by a video URL, and keep it current with yt-dlp -U.
View the repo on GitHub: github.com/yt-dlp/yt-dlp
Wiki · Installation guide · FAQ · PyPI · Discord

