How to use yt-dlp on Windows
You use yt-dlp on Windows by installing the tool through winget or pip, opening PowerShell, and running a command with the video URL. yt-dlp fetches the stream and saves an MP4—or MP3 if you add ffmpeg and audio flags. It's the most flexible YouTube downloader on PC, but it has a learning curve. If you only need one file and don't want to touch the command line, paste the link into our YouTube to MP4 converter instead.

What you need before starting
| Requirement | Why |
|---|---|
| Windows 10 or 11 | PowerShell built in |
| Internet connection | yt-dlp pulls streams live |
| yt-dlp binary | The downloader itself |
| ffmpeg (for MP3/merged video) | Combines audio+video tracks |
| Video URL | Public YouTube link to test |
Install yt-dlp only from GitHub or winget—never random "YouTube downloader" portals that bundle adware.
Step 1: Install yt-dlp on Windows
Option A — winget (easiest for most people):
- Open PowerShell from the Start menu.
- Run:
winget install yt-dlp
- Close PowerShell, reopen it.
- Verify:
yt-dlp --version
Option B — pip (if you have Python):
pip install yt-dlp
Option C — manual .exe:
- Go to GitHub → yt-dlp → Releases.
- Download
yt-dlp.exe. - Put it in a folder like
C:\Tools\yt-dlp\. - Add that folder to your PATH (Settings → System → About → Advanced system settings → Environment Variables).
See is yt-dlp safe for why source matters.
Step 2: Install ffmpeg on Windows
Without ffmpeg, yt-dlp might download video-only or audio-only files separately.
winget install ffmpeg
Or download from ffmpeg.org, extract, and add the bin folder to PATH.
Test: ffmpeg -version
Step 3: Download your first video
Copy a YouTube URL. In PowerShell:
yt-dlp "https://www.youtube.com/watch?v=VIDEO_ID"
Default output lands in your current directory—usually C:\Users\YourName\ if you opened PowerShell fresh. The file name comes from the video title.
Save to Downloads explicitly:
cd $env:USERPROFILE\Downloads
yt-dlp "URL"
More on paths in where does yt-dlp download to.
Step 4: Download MP3 audio only
yt-dlp -x --audio-format mp3 --audio-quality 192K "URL"
-x extracts audio. --audio-quality 192K is a good music default; use 128K for speech.
A 4-minute song at 192 kbps ≈ 5.5 MB on disk.
Useful Windows commands
| Goal | Command |
|---|---|
| Best MP4 quality | yt-dlp -f "bv*+ba/b" "URL" |
| 720p cap (smaller file) | yt-dlp -f "bv[height<=720]+ba/b" "URL" |
| Whole playlist | yt-dlp --yes-playlist "PLAYLIST_URL" |
| Custom filename | yt-dlp -o "%(title)s.%(ext)s" "URL" |
| Update yt-dlp | yt-dlp -U |
When downloads fail with HTTP 403, update yt-dlp first.
PowerShell tips for beginners
- Paste URL in quotes —
&characters in URLs break unquoted strings. - Right-click pastes in older PowerShell; Windows Terminal uses Ctrl+V.
- Run as normal user — admin isn't required for Downloads folder saves.
- Windows Defender may scan new
.exedownloads from GitHub once—that's normal.
When NOT to use yt-dlp on Windows
- Work laptop with IT lockdown — pip/winget blocked.
- One 3-minute clip — opening PowerShell is slower than a browser tab.
- Phone workflow — yt-dlp is desktop territory.
For quick audio: YouTube to MP3 in Edge or Chrome. Free, no PATH configuration.
Troubleshooting
"yt-dlp is not recognized" — Not on PATH. Reopen terminal after install or use full path to yt-dlp.exe.
Video downloads, no audio — Install ffmpeg. Retry with -f "bv*+ba/b".
"Sign in to confirm you're not a bot" — Update yt-dlp; try --cookies-from-browser chrome while logged into YouTube in Chrome.
File saved somewhere unknown — PowerShell's current folder. Run pwd before downloading or cd to Downloads first.
Legal note
yt-dlp is legal software. Downloading copyrighted YouTube content without permission violates YouTube's Terms. Use it for your videos, Creative Commons uploads, or content you're allowed to archive.
Conclusion
Install yt-dlp with winget, add ffmpeg, open PowerShell, paste a quoted URL. You get full control over quality and playlists. For occasional saves, skip the setup and use a web converter.
Fastest path for one file: YouTube to MP3 converter — no PowerShell required.