Windows PowerShell / CMD · Copy and paste · Updated 2026
Every common yt-dlp command in one place. Copy and paste directly into PowerShell or CMD. Replace URL with your video or playlist link.
This is a complete reference of the most useful yt-dlp commands for Windows, grouped by task: basic downloads, quality and format selection, MP3 and audio extraction, playlists and channels, subtitles, output filename templates, and advanced options like cookies and parallel downloads. Every command works in PowerShell or CMD — copy it, replace "URL" with your video or playlist link, and run it. For 4K/8K merging and audio conversion, make sure FFmpeg is in the same folder as yt-dlp.exe.
Basics
yt-dlp "URL"
yt-dlp -f "bestvideo+bestaudio/best" "URL"
yt-dlp --version
yt-dlp -U
yt-dlp -F "URL"
yt-dlp --simulate "URL"
Quality & format selection
yt-dlp -f "bestvideo[height<=1080]+bestaudio/best" "URL"
yt-dlp -f "bestvideo[height>=2160]+bestaudio/best" "URL"
yt-dlp -f "bestvideo[ext=mp4][vcodec*=h264]+bestaudio[ext=m4a]/best[ext=mp4]" "URL"
yt-dlp -f "bestvideo[vcodec^=av01]/bestvideo[vcodec^=vp9]/bestvideo+bestaudio/best" "URL"
Audio & MP3
yt-dlp -x --audio-format mp3 --audio-quality 0 --embed-thumbnail --embed-metadata "URL"
yt-dlp -x --audio-format best "URL"
yt-dlp -x --audio-format mp3 --audio-quality 0 --embed-thumbnail --embed-metadata --yes-playlist -o "%(playlist_index)02d-%(title)s.%(ext)s" "PLAYLIST_URL"
yt-dlp -a links.txt -x --audio-format mp3 --audio-quality 0
Playlists & channels
yt-dlp --yes-playlist -o "%(playlist_index)02d-%(title)s.%(ext)s" "PLAYLIST_URL"
yt-dlp --playlist-items 1,5,10-12 "PLAYLIST_URL"
yt-dlp --continue --download-archive downloaded.txt "PLAYLIST_URL"
yt-dlp "https://www.youtube.com/@ChannelName/videos" -o "%(upload_date>%Y-%m-%d)s-%(title)s.%(ext)s"
Subtitles
yt-dlp --write-sub --write-auto-sub --sub-langs en --sub-format srt "URL"
yt-dlp -f "bv*+ba/b" --write-auto-sub --sub-langs "en,*" --embed-subs --merge-output-format mkv "URL"
yt-dlp --write-sub --write-auto-sub --sub-langs en --skip-download "URL"
Output templates
-o "C:/Videos/%(title)s.%(ext)s"
-o "C:/Videos/%(playlist)s/%(playlist_index)02d-%(title)s.%(ext)s"
-o "C:/Music/%(artist,channel)s/%(title)s.%(ext)s"
-o "C:/Videos/%(channel)s/%(upload_date>%Y-%m-%d)s-%(title)s.%(ext)s"
Common template variables:
%(title)s%(ext)s%(id)s%(upload_date)s%(channel)s%(playlist_index)02dAdvanced
-N 4
--limit-rate 5M
--retries 10 --fragment-retries 10
--cookies-from-browser chrome
--embed-thumbnail --embed-metadata
--dateafter today-30days