PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

How to Download YouTube Videos

There are dozens of different ways to download YouTube videos so you can view them offline. Here are a few of the easiest and most effective methods

 & Eric Griffith Senior Editor, Features
 & David Paiz-Torres Editorial Intern
Our Experts
LOOK INSIDE PC LABS HOW WE TEST
65 EXPERTS
43 YEARS
41,500+ REVIEWS
(Credit: Shutterstock/sdx15)

There are billions of hours of video on YouTube, literally. And that's hardly the most astounding statistic about the site, which has been the go-to destination for uploading and watching videos online since 2005. That said, sometimes you really want or need to have one of those videos on your computer or phone. But when the topic of downloading YouTube videos comes up, a question arises: Is it legal?

On the copyright front, as long as you're downloading a video for your own personal offline use, you're probably OK. It's more black and white according to Google's terms of service for YouTube, which read: "You are not allowed to...access, reproduce, download, distribute, transmit, broadcast, display, sell, license, alter, modify or otherwise use any part of the Service or any Content except: (a) as expressly authorized by the Service; or (b) with prior written permission from YouTube and, if applicable, the respective rights holders."

Watching YouTube videos offline through unofficial channels takes money from Google and video creators. There's a reason YouTube runs ads: People make a living this way.

Obviously, stealing videos from YouTube is a big no-no. If you want to share a video, YouTube and most other video sites make it easy, from embedding to emailing to sharing via social networks. You simply do not need to download a video most of the time.

But you have your reasons. If you must download a YouTube video—absolutely need to, just for yourself, and not for dissemination, and not to be a jerk—here's how.


Note: This story is updated frequently, as the tools involved change regularly. Some of those changes are not always pleasant, such as software so full of "extras" that it gets flagged as malware by antivirus tools. The same goes for the helper websites—a change in a site's ad network can also create issues with malware.

To prevent this from becoming a laundry list of programs and sites that can download YouTube videos, we came up with a few rules for inclusion. Services must:

  • Work with the top three video sites: YouTube, Facebook, and Vimeo.
  • Download entire playlists or channels in a batch (on YouTube), at least with a paid version.
  • Output to MP3 for audio (or offer companion software that does so).
  • Have an interface that doesn't suck.
  • Not collect your personal data beyond your email address.
  • Not contain malware. If there's even a whiff of it, even a PUP, it's out.

The programs, services, and sites in this story are all free of spam and virus problems as of this writing, but let the buyer beware. (Especially if you're not really buying.)


YouTube Premium Downloads

Now available for subscribers of YouTube Premium, the paid version of YouTube that allows you to watch without ads, are video downloads—kind of. There's one limitation with quality: All the video you download is limited to 1080p quality or lower. No 4K.

(Credit: PCMag/YouTube)

The biggest issue is this feature doesn't really download a video that you can save on your computer forever. It is more like the download feature found on mobile apps for Netflix and Hulu, which makes a streaming video available to watch later using your local storage via the app's interface only. This won't allow you to, say, watch a video using different software, such as the VLC Media Player or Plex.

Access the download by going to the YouTube hamburger menu and selecting Downloads to view the list of what you've grabbed. The page says "Downloads remain available as long as your device has an active internet connection at least once every 30 days." This probably isn't exactly what you are looking for. In which case, read on for tools that are a better fit.


Desktop Software

Third-party software will give you the most control over downloading online videos. Typically, you paste the URL for the YouTube video you want into the program, and it downloads the highest-quality version it can find. For videos in 1080p high-definition format, that's usually an MP4 file. For anything higher in quality—4K or 8K—the file format is typically MKV or WEBM.

MKV or WEBM extensions indicate the file is a Matroska, or a container—the file can hold a number of different kinds of media, from the video to stills to subtitles; the video could utilize any number of codecs. The foolproof way to play them all is to use the VLC Media Player, which supports just about every codec imaginable.

VLC was once our favorite free way to download YouTube videos, but all recent attempts have failed, so we pulled it in favor of the usual YouTube downloaders. We also pulled 5KPlayer, as attempts to re-download it caused antivirus errors. Plus, it is now under the Digiarty Software umbrella, along with another program below, VideoProc.

As for the downloaders, here are the best options:


4K Video Downloader Plus

Free, or $15 for one year of personal use; $25 for a lifetime license; Windows, macOS, Ubuntu Linux

(Credit: 4K Video Downloader)

Multi-lingual 4K Video Downloader Plus (4KVD) is frequently updated and features clear download links on the program's website; no ad traps here. The software does what it advertises using a simple interface: It grabs high-quality videos up to 8K and downloads to plenty of formats. Simply copy a YouTube URL and click the Paste Link button. 4KVD will even collect subtitles, entire playlists, and all the videos in a channel you subscribe to. The sites supported are limited to the big names, including YouTube, Vimeo, Facebook, and a few others, but that should cover most of what you need. The free version does display a large banner advertisement to keep the lights; it is limited to 30 downloads a day.

When I tried 4KVD, I had to switch from MP4 to MKV format to get my test video to download in 4K. 4KVD snagged a three-minute, 229.7MB file for a movie trailer in about one minute and 20 seconds. I made the same switch when downloading an Ultra High Definition (8K) playlist.

When you enable the Smart Mode and its presets, 4KVD can perform one-click downloads to your favorite format. If you want to download more than 30 videos per day or subscribe to YouTube channels to instantly download the latest, you'll need the paid version. Playback of the resulting MKV files via VLC Media Player is flawless.

The program can extract audio to MP3 format, so you don't need the 4K YouTube to MP3 companion software. But if that's your thing, it's $10 per year or $15 for a lifetime.


VideoProc Converter

Free with limited use, or $25.95 for one year/three PCs; $45.95 lifetime for one PC; $57.95 family on three to five PCs; Windows, macOS

(Credit: VideoProc)

The powerful VideoProc from Digiarty comes in an editor edition, as well as this Converter, which provides editing and effects and, of course, handles a lot of downloading. It supports 4K downloads from over a thousand websites, including TikTok. With hardware acceleration, it promises some speed. Thankfully, Digiarty frequently offers price discounts.

To use it, let the software detect your hardware to see what will help with acceleration (if anything). Click the Downloader button, click Add video to place as many URLs as you want to batch, and then click Download Now. Or grab a whole YouTube playlist or live stream.

VideoProc grabbed a 697MB test 4K video to WEBM format in about two minutes and 15 seconds, which isn't bad. The trial version of VideoProc Converter, which limits conversions to five minutes, doesn't appear to restrict downloads.


FlixGrab

Free (donation-ware); Windows

(Credit: FlixGrab)

FlixGrab offers several different programs, many with overlapping features. The straight download works with YouTube and several other sites. It also offers a Free YouTube Downloader that is specific to YouTube yet has the same easy-to-use interface.

The subscription prices for an upgrade have disappeared. The site now has a donation page where it says "for now, our applications are totally free." If you can donate a little via PayPal or credit card, the developers will be thankful.


Helper Websites

Do you want to avoid installing software? Video download helper sites are meant to do the download work for you. They do one basic thing: You give them a YouTube URL (or another video site, if supported), they parse it, give you a choice of what size download you want, and provide a link to said download. The sites work on any platform, sometimes even on mobile devices. You don't have to install anything on your PC. It can take a lot longer to get a download, depending on the size and quality of the video you want, but you can't beat the convenience.

The problem is that you can't trust them. Hundreds of these sites exist—it seems anyone with a modicum of coding ability has set one up. Such sites can easily go from useful to suspicious, especially when they get popular and the proprietor sells out to make cash off your visits.

Since this story was first published, all the helper sites we recommended have been removed because they've added sexually explicit ads, no longer work, or switched to pushing a download utility only. One went out of business to avoid getting sued.

However, we now have one site and only one we will recommend, thanks to our friends at LifeHacker, who call it "the best tool for downloading videos from basically anywhere online." It's called Cobalt.

(Credit: )

Its no-frills interface belies a lot of power (you can change many settings and should do so before you first download). It'll download just audio if you want MP3s. For video, it supports 8K on down. It will even do something called "remuxing," (yes, with a "u") in which it changes a video file that may be damaged by putting it into a new file container, potentially repairing it. Cobalt is operated by one developer who has made the site free of trackers, analytics, and ads. It's open source, so others can take the code and host it themselves. And it's all free—though donations are appreciated. Here's hoping it will stand the test of time.


Browser Extensions

A browser extension can save you a step. But you'll run into some issues with downloading videos from YouTube, especially if you're using Chrome as your primary browser.

The Chrome Web Store—where you get Chrome browser extensions—is controlled by YouTube's owner, Alphabet/Google. Even an extension created ostensibly for this purpose isn't going to allow YouTube direct downloads because of Chrome Store restrictions. In general, with Chrome extensions, the download of any RTMP protocol video (a protected video) or streaming video isn't possible. You can use them on other sites with video—just not YouTube.

Want to get around this? Get an extension that does not come from the Google Web Store. Some of the programs and helper sites offer an extension component and will spell out how to install without the assistance the Chrome Web Store usually provides. Here are a couple:


YouTube Video Downloader

Free; Brave, Chrome, Firefox, Opera, Edge, Safari, Vivaldi

(Credit: Addoncrop)

YouTube Video Downloader from Addoncrop is available for multiple browsers but not via the usual "stores" that provide extensions. Thankfully, it has excellent side-load capabilities via user scripts or third-party extensions such as Foxified (which allows Chrome/Edge users access to Firefox extensions). It puts a button below whichever video you're playing on YouTube, even an embedded YouTube clip, making the video easy to grab. Up to 8K video is supported. You can also convert audio from the video to an MP3, and it will even help you take video screenshots.


Video DownloadHelper

Free; Firefox, Chrome, Edge

Video DownloadHelper supports a huge number of sites—even those for adults. You'll know a video is downloadable if the icon for the extension animates when you're on the web page. Video DownloadHelper for Chrome has stopped working with YouTube in order to get placement in the Chrome Web Store. Get around that by using the Video DownloadHelper extension on Firefox or Edge instead.


Mobile Video Downloader Apps

Downloading from YouTube using an Android app from the Google Play Store is a challenge, given that Google has a grip on the site (even if it seldom seems to check for malware); it offers the paid YouTube Premium service mentioned above to facilitate offline viewing.

(Credit: PCMag)

That said, with Android it's possible to install apps without going through Google. For example, InsTube – Free Video and Music Downloader for Android can be found at InsTube's website. Download the APK (Android application package) file to sideload on an Android device. Find it in your device's downloads and click to install. (You may have to go into your security settings and enable "Unknown sources.") 

You'd think there would be no such restriction on iPhones and iPads, since Apple and Google aren't the best of pals. But with the iOS apps I've tried, not only would they not download from YouTube, they're also typically not available for long. One of those apps said "Downloading from YouTube is prohibited due to its Terms of Service." Apple is ensuring that app makers play by the rules—even Google's rules.

Chances are, the minute you find an iOS app that can download YouTube videos, it will be "fixed" or banned. The only real option is to jailbreak your iPhone and use sideloaded apps that download what you want.

There are workarounds. One is to subscribe to YouTube Premium (above), which lets you download videos on your iPhone or iPad to watch later, like Netflix and Hulu. But it doesn't allow you the freedom to edit a clip.

Another is to use a free iOS file manager app, such as Documents by Readdle. Use the Safari mobile browser to visit a YouTube video, and utilize the Share option to find Copy Link. Go back to Documents, and use the built-in browser in the app to surf to a video download helper site (you know, the kind we warned you about above).

Paste the link into the form (hold your finger down on it until you get the "Paste" menu to pop up). The site will give you the links to download, and you can save the file to Documents. Hold and drag up the file until you're back on the main screen, then drag it to the Photos folder. You'll need to give Documents permission to access Photos. You can then access the video, as you would any video taken on the phone or tablet, in the Photos app.

Another workaround: Go back to a desktop PC or laptop, and try AnyTrans ($39.99 for a single computer for one year, Windows or macOS; $59.99 for a lifetime plan). It's a desktop file manager for iOS devices with an integrated downloader supporting 900 sites, including YouTube and Facebook. It will transfer the videos to the iPhone over a cable, like in the days of iTunes. Even if you don't pay for AnyTrans, the download option remains and is free forever.


Use Python for Safe Video Downloads 

Are you a programmer? Consider this far more complex way to download YouTube videos using a Python script. This process includes several steps and will require you to install a few things, but after doing so, you'll be able to safely download videos from nearly 2,000 websites.

To make this happen, you’ll need to use yt-dlp: a powerful, free-to-use Python library that downloads videos at the highest resolution available by default. 

This guide focuses on downloading videos from YouTube, but the steps may also work on other sites without additional steps—if you’re curious, simply enter the link to the video to check.

Example of sites other than YouTube that work
(David Paiz-Torres)

The first step is to install Visual Studio Code, which can be done by visiting this page; it's available for Windows, macOS, and Linux.

Once you’ve got VSC, you’ll install Python. There are a few different ways to do so, but for the simplest route possible, download Anaconda, a virtual environment distribution that includes Python and the most commonly used Python packages. 

After installing both Anaconda and VSC, launch VSC and find the extensions button on the left side. Then install the Python and Jupyter extensions.

(David Paiz-Torres/Microsoft/Visual Studio Code)

This will allow you to write Python code in VSC. To keep things simple, we suggest writing your code in a Jupyter notebook, which will allow you to separate your lines of code into individual cells, making it easier to go back to and adjust in the future if you aren’t familiar with coding.

(David Paiz-Torres/Microsoft/Visual Studio Code)

To open a new Jupyter notebook, create a new file (name it whatever you want) and use the file extension .ipynb. Your file should look something like this: demo.ipynb. Be sure to save this file in a folder you can easily access in case you need to recycle the code in the future to download additional videos. 

Finally, here are the steps to download videos using Python: 

  1. Install the yt-dlp library. To do so, open your Jupyter notebook and enter !pip install yt-dlp
  2. To execute your code, press Shift+Enter simultaneously (on Windows) or Command+Return (on Mac).
  3. After executing the previous cell, hover over the middle of the cell on the bottom side and select "code." This will give you the option to create a new cell in order to stay organized.
  4. In your new cell, write the following: import os print(os.cwd()). This will give you the folder directory where you can find your video after it's downloaded.
  5. To change the directory the file goes to, swap out print(os.cwd()) with os.chdir(‘/enter/your/new/directory’)
  6. Finally, to download a video you have the link to, you will need to enter the following command: !yt-dlp followed by the URL of the video you want to download.

About Our Experts

Eric Griffith

Eric Griffith

Senior Editor, Features

My Experience

I've been writing about computers, the internet, and technology professionally since 1992, more than half of that time with PCMag. I arrived at the end of the print era of PC Magazine as a senior writer. I served for a time as managing editor of business coverage before settling back into the features team for the last decade and a half. I write features on all tech topics, plus I handle several special projects, including the Readers' Choice and Business Choice surveys and yearly coverage of the Best ISPs and Best Gaming ISPs, Best Products of the Year, and Best Brands (plus the Best Brands for Tech Support, Longevity, and Reliability).

I started in tech publishing right out of college, writing and editing stories about hardware and development tools. I migrated to software and hardware coverage for families, and I spent several years exclusively writing about the then-burgeoning technology called Wi-Fi. I was on the founding staff of several magazines, including Windows Sources, FamilyPC, and Access Internet Magazine. All of which are now defunct, and it's not my fault. I have freelanced for publications as diverse as Sony Style, Playboy.com, and Flux. I got my degree at Ithaca College in, of all things, television/radio. But I minored in writing so I'd have a future.

In my long-lost free time, I wrote some novels, a couple of which are not just on my hard drive: BETA TEST ("an unusually lighthearted apocalyptic tale," according to Publishers' Weekly) and a YA book called KALI: THE GHOSTING OF SEPULCHER BAY. Go get them on Kindle.

I work from my home in Ithaca, NY, and did it long before pandemics made it cool.

The Technology I Use

My first computer was a Laser 128, an Apple II-compatible clone with an integrated keyboard, matched with an eye-straining monochrome green monitor. I used it to type papers in college for other people for money...until I discovered the Mac SE in the college computer room. That changed my life. My first cellphone was a Samsung Uproar—the silver one with the built-in MP3 player from the Napster days (the pre-iPod era).

I use an iPhone 15 Pro hourly and an iPad Air infrequently (but I'm always in the market for a cheap Android tablet). I have a PlayStation 5 just to play Spider-Man, and several Windows machines, including a work-issued Lenovo ThinkPad. I talk to Alexa and Siri all day long. I do the majority of my computing on a 15-inch LG Gram laptop attached to a Thunderbolt hub to run a multi-monitor setup—I overdid it on the power needed to simply work from home.

I'm most at home in Microsoft Word after decades of writing there. More and more, I turn to services like Google Docs, using tools like Grammarly. I use Google's Chrome browser due to an addiction to several extensions I think I can't live without, but probably could. I use Excel extensively on data-intensive stories, but for chart creation, we've switched over entirely to using Infogram for interactive features that are hard to find elsewhere. I do a lot of graphics work for my stories, but limit myself to the free and amazing Paint.NET software to edit images.

I'm a firm evangelist for using the cloud for backup and syncing of files; I'm primarily using Dropbox, which has never failed me, but I also have redundant setups on Microsoft OneDrive, plus extra picture backups on Amazon Photos and iCloud. Why take chances? For entertainment, mine is a streaming-only household—my kid has never seen network TV and barely been exposed to commercials, thanks to Roku and Amazon Music. The house is peppered with smart speakers from Amazon for instant gratification and control of smart home devices like multiple Wyze cameras and Nest Protect smoke detectors. I've got accounts on all the major social networks, to my horror. I have a robot vacuum for each floor of the house. I want a 3D printer, but not sure what I'd use it for.

Read full bio

David Paiz-Torres

David Paiz-Torres

Editorial Intern

My Experience

Prior to interning with PCMag, I attended the Craig Newmark Graduate School of Journalism for two semesters and will graduate in December, 2024. During my time at the J-school I gained a lot of experience filing Freedom of Information Act requests. Prior to starting my internship with PCMag, I filed over a dozen Freedom of Information Law requests across New York State. I’m also a big fan of interactive news stories with neat visualizations.

Before attending J-School, I was a student at SUNY Old Westbury where I was a contributor to the school newspaper and a safety aid for the University Police Department. As an intern with PCMag, I cover tech news, write feature stories, and carefully craft how-to guides and reviews of consumer electronics.

My Areas of Interest

I have many interests and areas of knowledge, but I don’t consider myself an expert in most things. I pay close attention to national politics and international affairs, and recently began following New York City politics. 

When I have free time, you can usually find me gaming, watching a documentary, enjoying a cup of coffee, or going on a long walk. I grew up playing video games on consoles, but I got my first gaming PC in 2020 and have never looked back. My favorite PC-exclusive games are FiveM, Arma Reforger, and Squad—but these days, I mainly play Arma Reforger.

The Technology I Use

Most days you can find me jumping back and forth between my MacBook Pro and my desktop PC, an Alienware Aurora R10. Under the hood, it has 32GB of RAM, a Ryzen 7 3800x CPU, and an AMD Radeon RX 5700 XT graphics card. I originally wanted to have a computer built, but my brother and I both got our PCs in 2020 and therefore had to split the computer budget between us, so we compromised and I got the prebuilt PC.

Read full bio