
Yt Dlp
Download video and audio from 1,000+ sites
Replaces —
Who it's for
Researchers, journalists, and enthusiasts use yt-dlp to preserve video content before it is removed, storing local copies with embedded subtitles, chapters, and metadata.
Users extract audio tracks from YouTube lectures, conference talks, or music sets and add them to a local podcast library or music player.
You only consume content from platforms with native podcast feeds.
Engineers integrate yt-dlp via its Python API or subprocess calls to build custom download managers, content pipelines, or self-hosted media servers.
Video editors download reference clips, royalty-free footage, or their own uploads in the highest available quality for use in production workflows.
The problem
Downloading video or audio from streaming platforms for offline use, archiving, or format conversion requires a reliable, scriptable tool that keeps pace with frequent site changes. youtube-dl's slower release cadence left users waiting months for fixes to broken extractors and missing features.
How it works
Built-in extractors cover YouTube, Twitch, SoundCloud, Vimeo, Twitter/X, Reddit, and hundreds more. The extractor list grows with each release and can be extended via plugins.
A flexible format filter syntax lets you select by resolution, codec, bitrate, file size, or dynamic range (HDR/SDR), including merging separate video and audio streams via FFmpeg.
yt-dlp can query the SponsorBlock API and mark or remove sponsor segments, intros, outros, and other non-content sections from downloaded YouTube videos during post-processing.
FFmpeg-backed post-processors handle remuxing, re-encoding, embedding subtitles and thumbnails, splitting chapters, extracting audio, and running custom scripts after each download.
Pass a Netscape-format cookie file or browser cookies directly to authenticate downloads behind login walls, age gates, or paywalls on supported sites.
Third-party extractors and post-processors can be installed as Python packages without modifying core code, keeping custom additions isolated from upstream updates.
Features
- 1,000+ site support
- Advanced format selection
- SponsorBlock integration
- Post-processing pipeline
- Cookie and authentication support
- Plugin system
How to install
# Install via pip pip install yt-dlp # Or download the standalone binary (Linux/macOS) curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ~/.local/bin/yt-dlp chmod +x ~/.local/bin/yt-dlp # Basic usage yt-dlp <URL>
Recommended for this setup
Strengths
- Active development and fast extractor fixes: yt-dlp ships fixes for broken extractors and new features far more frequently than youtube-dl, which means less downtime when a site changes its delivery format.
- Standalone binary, no Python required: Pre-built binaries for Windows, macOS, and Linux run without installing Python or any dependencies, making deployment in scripts and automated pipelines straightforward.
- Scriptable and automation-friendly: A rich set of CLI flags, an output template system, archive files to skip already-downloaded content, and a Python API make yt-dlp easy to embed in larger workflows.
- Backward compatible with youtube-dl: yt-dlp accepts the same flags as youtube-dl in most cases, so existing scripts typically work as drop-in replacements without modification.
Trade-offs
- Command-line only by default: yt-dlp has no built-in graphical interface. Users who prefer a GUI must rely on third-party frontends, which vary in feature parity and maintenance quality.
- FFmpeg required for many features: Merging separate video and audio streams, re-encoding, embedding thumbnails, and most post-processing steps require FFmpeg to be installed separately.
- Site extractors can break without notice: Streaming platforms change their delivery infrastructure without warning, temporarily breaking extractors until a patch is released. Mission-critical workflows should pin a known-good version.
Tech stack
FAQ
Yes. yt-dlp is a fork of youtube-dl with additional features and a faster release cycle. It accepts the same command-line flags in most cases and is widely considered the actively maintained successor.
Yes. Pre-built standalone binaries for Windows, macOS, and Linux are available and require no Python installation. A PyPI package is also available for users who prefer pip.
FFmpeg is optional but strongly recommended. Without it, format merging, re-encoding, thumbnail embedding, and most post-processing steps are unavailable.
Yes. Passing a playlist or channel URL downloads every video in order. An archive file flag records completed downloads so interrupted runs resume without duplicates.
Use the -x flag (extract audio) with --audio-format to specify the output format, for example: yt-dlp -x --audio-format mp3 <URL>. FFmpeg must be installed for format conversion.