How to Use yt-dlp on Windows
Install yt-dlp on Windows 10 or 11 with winget or as a single exe, add FFmpeg, run your first download, keep it updated and fix the common first-run errors.
What you are installing
yt-dlp is a free, open-source command-line program that saves video and audio from more than a thousand sites. It has no window: you type a command, it downloads a file. Almost every desktop downloader with a friendly face, this one included, runs yt-dlp underneath.
It works best with two companions. FFmpeg joins the separate video and audio streams that most sites serve and converts between formats; without it you are limited to lower-quality single files. And for YouTube, recent versions of yt-dlp expect a JavaScript runtime such as Deno to be installed, because the site’s player now has to be run to work out the download addresses.
The quick way: winget
winget is the package manager built into Windows 11 and current Windows 10. Open Windows Terminal or PowerShell and run the three lines below. If winget brings FFmpeg along with yt-dlp on its own, the second line simply reports that it is already installed.
Close the terminal and open a new one afterwards, so it notices the new programs, then check that yt-dlp answers with a version number.
- Install yt-dlp, FFmpeg and Deno
winget install yt-dlp.yt-dlp winget install Gyan.FFmpeg winget install DenoLand.Deno- Confirm it worked
yt-dlp --version
The manual way: one exe in a folder
If you would rather not use winget, yt-dlp is a single file. Take it only from the official yt-dlp releases page on GitHub — search engines surface plenty of look-alike download sites.
- Download yt-dlp.exe and put it in a folder you will keep, for example C:\Tools\yt-dlp.
- Download a Windows build of FFmpeg and copy ffmpeg.exe and ffprobe.exe into the same folder.
- Open Settings, search for “environment variables”, choose “Edit environment variables for your account”, select Path, and add that folder.
- Open a new terminal and run yt-dlp --version.
If you already use Python
Python users can install yt-dlp as a package instead. The [default] part pulls in the optional pieces yt-dlp recommends. You still need FFmpeg separately.
- Install or upgrade with pip
pip install -U "yt-dlp[default]"
Your first download
Files are saved into whichever folder the terminal is in. The easy way to control that: open the folder you want in File Explorer, right-click an empty area and choose “Open in Terminal”. Then paste a command with the address in double quotes.
The first line below takes the best quality available. The second shows the full menu of resolutions and formats, and the third saves audio only as an MP3. The commands guide on this site lists many more.
- Download a video at the best quality
yt-dlp "URL"- See what qualities are on offer
yt-dlp -F "URL"- Save just the audio as MP3
yt-dlp -x --audio-format mp3 "URL"
Keeping it current
Video sites change how their players work every few weeks, and yt-dlp ships fixes just as often. An old copy is the most common cause of sudden errors, so update first whenever something that used to work stops working. Use the line that matches how you installed it.
- Installed with winget
winget upgrade yt-dlp.yt-dlp- Installed as a single exe
yt-dlp -U- Installed with pip
pip install -U "yt-dlp[default]"
Common first-run problems
- “yt-dlp is not recognized” — the folder is not on your PATH, or the terminal was open before you installed. Open a new one.
- Two separate files, or a warning that FFmpeg was not found — install FFmpeg and make sure ffmpeg -version works in the same terminal.
- Only low resolutions on YouTube, or a warning about a JavaScript runtime — install Deno and update yt-dlp.
- “Sign in to confirm” messages — the video needs an account. Add --cookies-from-browser firefox to use your own signed-in session.
- HTTP Error 403 or “unable to extract” — update yt-dlp, then try again.
- The command stops at an & in the link — put the address in double quotes.
Or skip the terminal
If the command line is more than you want for saving the odd video, GetVideosLocally is the same engine with a Windows interface. yt-dlp and FFmpeg come bundled, the engine updates in the background, quality and format are menus, and every download is kept in a searchable history. It is free, open source and needs no account.
Either way, download only what you are allowed to save: your own uploads, public-domain and Creative Commons material, and content you have permission for.
FAQ
Is yt-dlp free and safe to install?
Yes. It is open source and free. The risk is fake copies, so install it with winget or download it only from the official yt-dlp releases page on GitHub.
Do I really need FFmpeg?
For anything above basic quality, yes. Most sites serve video and audio as separate streams, and FFmpeg is what joins them into one file and converts audio to MP3 or FLAC.
Does yt-dlp have a graphical interface?
Not on its own. Separate apps put a window on top of it; GetVideosLocally is one for Windows, with yt-dlp and FFmpeg built in.
Download GetVideosLocally for Windows. Free and open source.