How to Download Youtube Videos for Free
How to Download Youtube Videos with Embedded Captions for Free
How to Download Youtube Videos with Embedded Captions for Free
Without going thru shady websites
For Dummies
For MacOS

THE GUIDE

~ Links open in a new tab so you can keep your place within this guide ~

Begin

First things first, youre gonna go to the yt-dlp download page. Yes, its on github but I'll show you exactly what to click and the link will take you to the exact spot you need to be at.

Open the Release Files section of https://github.com/yt-dlp/yt-dlp and find the file for Mac.

: Some of the time you will have to open or save to the actual Downloads folder on your computer, other times you will reference it through a command.
When you see Downloads used, you should open the actual folder.

Open Terminal

Terminal should be in your Applications in the Utilities folder, but if it isn't then just use Spotlight to find it.

1. Check for Homebrew. You probably don't have it but this is how I did it so you have to too.

If you see a version number (e.g, Homebrew 4.2.14), you can skip Install Hombrew and go to Step 3. If you get an error like command not found: brew, go to Step 2.

There might be a chance you already have tried installing Homebrew years ago in an attempt to do some Windows-only shit and then eventually gave up like I did because you didnt have a bitching guide like this one. Homebrew does a fuckton of stuff, its like a bootleg command-line app store..


Setting up Homebrew

2. Install Homebrew. → If you are asked to enter you Password and see a little key icon , just start typing it and press Enter.
You don't always get a flashing cursor in Terminal to indicate where and when you can type. Similarly when typing in commands you will have to navigate with your keyboard arrows instead of clicking where you want to make changes.
Tip: Just pretend Terminal doesnt have a mouse input (because it doesn't).


3. Check Homebrew

Install YT-DLP

4. Install yt-dlp using brew commands. 4a. Verify Installation

Test YT-DLP

5. Tell Terminal to go to your Downloads folder.
→ If you don't designate your 'Downloads' folder, then yt-dlp is going to save videos in the top-level folder of your hard drive (i.e., where the Applications, Library, System Users folders live).
If this happens, click on the name of your computer under 'Locations' in the left-sidebar of any Finder window to check

6. Test using a random video link! Replace your link inside the quotes below (or use the samples as-is).

Full Video

Audio-only

Go check your Downloads folder!

You can now drag your video to wherever you want!

If this is all you want to do -that is, download video and audio from youtube- then you're done! From now on, whenever you want to download a video, you will only have to enter two command lines into Terminal (Step 5, Step 6) and it will magically appear your Downloads folder!

Click here for a handy command-line sheet to download videos for free in perpetuity

But if you want to get into that hot shit and download foreign videos with English subtitles embedded, follow on to the next section.

You are welcome to stop here if you'd like and start a new Terminal session later for the instructions on adding captions to your videos. Or, if you want to get everything set up at once, you can continue to use the same Terminal session in the next step!.

Adding Captions

Install FFmpeg

7. Install FFmpeg in the same or new Terminal session
→ If you are continuing from the same session, type cd and press Enter to hop out of your Downloads folder (we will return to the Downloads folder in the next step). If starting new session, yr good 2 go. 7a. Verify FFmpeg Did it work? It should have.

Download a Video with Captions to Videos

8. Point back to your Downloads folder
8a. Enter embed caption command

To download a video as an .mp4 with English captions embedded:

To download a video as an .mp4 and get a copy of auto-generated captions (useful as a make-shift transcript):

To check and set captions for another language:

Once you get the hang of it you will be able to intuit how to mix-and-match commands

When your files are downloaded you can then move them out of the Downloads folder to anywhere you want.

Doing it again

Now that you have Homebrew, and installed yt-dlp and FFmpeg (which I always read as mpreg), you can download as many videos as you want and do a whole lot more- the latter of which im not equipped to teach. From now on, whenever you want to snag a video, here is what you will do:

1. Open Terminal

2. Designate the Downloads folder using cd ~/Downloads and pressing Enter.
Remember: We always want to tell Terminal to put stuff in the Downloads folder first. That way, things don't end up at the top of our Hard Drive. Which is another way to say, if you think you did everything right and don't see your file, check there.

3. Give one of the following commands and press Enter:

Videoyt-dlp -f mp4 "https://www.youtube.com/watch?v=iEMTWMWEXbY"
Audio Onlyyt-dlp -x --audio-format mp3 "https://www.youtube.com/watch?v=-4nSZ79fXO8"
Video w/ Embedded Subsyt-dlp -f mp4 --write-subs --sub-langs en --embed-subs "https://www.youtube.com/watch?v=VbXSjuk-7GU"

More Commands

Mix-and-match these with the above commands, by inserting them before the url, separated by a space.

--no-playlistDownload only the video, if the URL refers to a video and a playlist
--yes-playlistDownload the playlist, if the URL refers to a video and a playlist
--write-thumbnailDownload thumbnail image
--embed-thumbnailEmbed thumbnail in the video as cover art
--write-auto-subsWrite automatically generated subtitle file (when official subs arent available)
--live-from-startDownload livestreams from youtube and twitch

Go ahead and bookmark this page if you think you'll need it.
Alternatively, you can copy-paste the text below into a .txt file or note to use as a Quick Instructions guide:

Want more?

Check out the resources on the yt-dlp github page. Start with the Usage and Options section to browse commands. Here you can learn how to download a copy of the comments, video descriptions, and a whole lot more.
To see what else Homebrew can install, check out the Cask page.
Learn more about FFmpeg and its many commands, like video format conversion.

Essentially, you've just installed several extremely versatile products just by typing in a few commands, all for free! Who knew? While we did it just to bind subtitles to youtube videos, you can actually do a shitload with these three, together and separately. Not to overwhelm you, but yt-dlp is actually compatible with a THOUSAND+ websites.

Final Step

Congratulate yourself big boy! You did a thing today!

HOME