Is yt-dlp Safe to Use?
Is yt-dlp safe? Yes, from its official sources. Where to download it, how to spot lookalike sites, how to check the file hash, and what cookies expose.
Safe, if it is the real one
yt-dlp is open-source software. Its code is public on GitHub, where anyone can read it, and the project’s own code is released under the Unlicense. It is the engine inside a large share of today’s download tools, including the app this site is about. The program itself is not the risk.
The risks sit around it, and there are three. The first is getting a copy that is not really yt-dlp. The second is what you hand over when you give any downloader your browser cookies. The third is add-ons and builds from people other than the project. Each has a simple rule, and this page goes through them in turn.
The only official sources
The project lives at github.com/yt-dlp/yt-dlp. Releases are published on that repository’s Releases page, and for Windows the file is yt-dlp.exe. That page is the origin; everything else is a route to the same files.
Two routes are documented by the project and safe to use. winget, the package manager built into Windows, installs it under the ID yt-dlp.yt-dlp. pip, Python’s package manager, installs the package named yt-dlp from PyPI. The wiki also lists Scoop and Chocolatey, and is frank that those are third-party packages which may lag behind.
The project’s documentation names no download website of its own; its home is the GitHub repository. If a page offers a yt-dlp installer, a setup wizard or a “yt-dlp Pro”, it did not come from the project.
- Install with winget, pinned to the winget source
winget install --source winget --id yt-dlp.yt-dlp- Install with pip
py -m pip install -U "yt-dlp[default]"- See where the copy you are running lives
where.exe yt-dlp
Lookalike sites and repacks
Search for a popular free tool and you will find sites that borrow its name. Some only wrap the real program in adverts. Others bundle something extra with it. I am not going to list addresses, because they change; the signs are more useful.
- The address is not github.com/yt-dlp/yt-dlp. A similar name on another domain, or a different GitHub account, is a different publisher.
- The download is an installer or a zip with a password. The standard Windows release is a single exe that you run directly; there is no installer.
- The page asks for payment, an account or an email address. yt-dlp has none of those.
- The file is called something other than yt-dlp.exe, or is far larger or smaller than the one on the Releases page.
- A video description or forum post links to a file-sharing host instead of the repository.
Antivirus warnings on the exe
People do report antivirus programs flagging yt-dlp.exe. I can tell you why that is plausible, but note that the project’s documentation does not discuss it, so what follows is my advice and not theirs.
The Windows exe is built with PyInstaller, which packs the Python runtime and the program into one self-extracting file. That packaging is used by plenty of legitimate software, and by some malware too, so pattern-based scanners can be suspicious of it. A brand-new release that few PCs have seen yet draws more suspicion still.
None of that means a warning should be clicked away. Treat it as a prompt to verify. If the file’s hash matches the one the project published, it is the file the project released. If it does not match, delete it. And if you would sooner avoid the packed exe altogether, the pip install runs the same code as ordinary Python files.
Check the file’s hash
Every release includes a file named SHA2-256SUMS, listing the SHA-256 hash of each download. A hash is a fingerprint: change one byte of the exe and it comes out different. Windows can compute it with a built-in command. Compare the result with the yt-dlp.exe line in SHA2-256SUMS; the letters and digits must be identical, though upper and lower case do not matter.
The project also signs that list. SHA2-256SUMS.sig is a GPG signature, and the README gives the two commands to check it: import the project’s public key, then verify the signature. This proves the list of hashes itself came from the maintainers. It needs GnuPG installed, and it is the step for people who want certainty and not just reassurance.
The built-in updater does part of this for you. When yt-dlp -U downloads a new exe, it checks the file against the release’s published hash before replacing itself.
- Compute the hash in PowerShell
Get-FileHash .\yt-dlp.exe -Algorithm SHA256- The same in Command Prompt
certutil -hashfile yt-dlp.exe SHA256- Verify the signed list, as the README documents
curl.exe -L https://github.com/yt-dlp/yt-dlp/raw/master/public.key | gpg --import gpg --verify SHA2-256SUMS.sig SHA2-256SUMS
What cookies expose
Some videos are only available to a signed-in viewer, and yt-dlp can use your browser’s session to fetch them: --cookies-from-browser reads the cookies straight from Firefox, Chrome and others. Be clear about what a cookie is. It is the proof of being signed in. Anyone who holds your cookies for a site can act as you there without knowing your password.
yt-dlp reads them on your own PC, which is fine. The exposure comes from what happens next. If you export cookies to a text file, the project’s FAQ warns that the file contains your cookies for all sites, not just the one in the URL, and tells you to keep it out of the wrong hands. Do not post it, attach it to a bug report or leave it in a shared folder.
Browser extensions that export cookies deserve the same care. The FAQ names one, “Get cookies.txt” — not the one with LOCALLY in its name — as reported malware that was removed from the Chrome Web Store, and recommends uninstalling it.
There is also a risk to the account itself. The wiki warns that using an account with yt-dlp can get it banned, temporarily or permanently, and suggests doing so only when necessary. Use cookies for content that needs your account, and for nothing else.
Updates and plugins
Keep yt-dlp current, and update it the way you installed it. Old versions are not dangerous in themselves, but they break, and a broken tool is what sends people searching for “fixed” builds on sites they should not trust.
The updater can also pull builds from other repositories with --update-to. The README is explicit that no verification is done for binaries from a different repository, so only use that with a source you would trust with your PC. Plugins are similar: yt-dlp loads them without any checks, and the README says to use them at your own risk and only if you trust the code.
How the app handles it
GetVideosLocally is the Windows app I built on top of yt-dlp. It bundles yt-dlp and FFmpeg, so there is no separate download to get wrong, and it updates the engine in the background. The app is free and open source under the MIT licence, with its code at github.com/FCGLITCHES/GetVideosLocally.
The same rule applies to it as to yt-dlp: get it from the official places, which are getvideoslocally.com and that GitHub repository, and nowhere else. If you add browser cookies in its Settings for sign-in-only videos, add them only from your own browser and only where you have permission. And with either tool, 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 a virus?
No. It is an open-source program whose code is public on GitHub. A copy downloaded from somewhere else may be a different matter, which is why the source and the file hash are worth checking.
Where is the official yt-dlp download?
The Releases page of github.com/yt-dlp/yt-dlp. On Windows you can also install it with winget using the ID yt-dlp.yt-dlp, or with pip as the package yt-dlp.
Why does my antivirus flag yt-dlp.exe?
Most likely because of how it is packaged: one self-extracting file built with PyInstaller, often very recently released. Do not ignore the warning; compare the file’s SHA-256 hash with the SHA2-256SUMS file published with the release.
Is it safe to give yt-dlp my cookies?
Reading them from your browser on your own PC is how the feature is meant to work. The risks are an exported cookies file falling into other hands, and the account being restricted for automated use. Use cookies only when a video needs your sign-in.
Does yt-dlp cost money?
No. It is free and has no paid version, account or licence key. Any site selling one is not the project.
Download GetVideosLocally for Windows. Free and open source.