This page displays the help information for the yt-dlp command-line tool.
This guide explains yt-dlp --help parameters using practical, real-world use
cases. Instead of listing options mechanically, each section focuses on
why and when
you should use specific parameters.
You simply want to download a video from YouTube, TikTok, or any other supported website.
yt-dlp https://example.com/video
No parameters are required. This is the default behavior of yt-dlp.
If this command works, you don’t need advanced options yet.
You want the highest quality available, even if video and audio are provided as separate streams.
yt-dlp -f "bv*+ba/b" https://example.com/video
-f, --format: Controls which video/audio formats are downloadedbv*: Best available video-only formatba: Best available audio-only formatb: Fallback to the best single fileModern platforms often separate video and audio streams to support higher resolutions.
You only need the audio track, for music, podcasts, or offline listening.
yt-dlp -x --audio-format mp3 https://example.com/video
-x, --extract-audio: Extracts audio after downloading--audio-format mp3: Converts audio to MP3 using FFmpeg--audio-quality 0
0 means best available quality.
You want to download a specific resolution (for example, 1080p instead of 4K).
yt-dlp -F https://example.com/video
yt-dlp -f 137+140 https://example.com/video
-F, --list-formats: Displays all available formats-f 137+140: Downloads video format 137 and audio format 140You want to download multiple videos from a playlist, but not all of them.
yt-dlp --playlist-start 1 --playlist-end 10 https://example.com/playlist
--playlist-start: First video index to download--playlist-end: Last video index to downloadYou want clean, organized file names and folders.
yt-dlp -o "%(uploader)s/%(title)s.%(ext)s" https://example.com/video
-o, --output: Output filename template%(title)s%(uploader)s%(id)s%(ext)sYou need subtitles for learning, accessibility, or translation.
yt-dlp --write-subs --sub-langs en https://example.com/video
--write-subs: Downloads subtitles--sub-langs en: Subtitle language codeyt-dlp --write-auto-subs https://example.com/video
The video requires login, such as age-restricted or private content.
yt-dlp --cookies-from-browser chrome https://example.com/video
--cookies-from-browser: Extracts cookies from your logged-in browserDownloads are slow or frequently interrupted.
yt-dlp -N 8 --retries infinite https://example.com/video
-N, --concurrent-fragments: Number of parallel connections--retries: Retry failed downloads automaticallyA download fails and you need detailed logs to diagnose the problem.
yt-dlp -v https://example.com/video
-v, --verbose: Enables detailed debug output
This scenario-based approach covers the most important parameters from
yt-dlp --help and helps users quickly understand how to use them in real
situations.