YouTubeDownloader is a Firefox extension that allows you to download YouTube videos and playlists in MP3 and MP4 formats. You can also select specific parts of a video and choose the resolution for MP4 files.
This repository represents the local component of the extension. It will not work unless you install the corresponding Firefox add-on.
Warning: The executable provided in the releases is flagged as a Trojan by Windows Defender because it's unsigned. As a result, init.bat runs a command to exclude it from Defender scans. Proceed means that you completely trust me; otherwise, download the source code to use it directly (may involve more steps to setup).
- Install FFmpeg (may take a bit):
winget install ffmpeg
- Download ytdl-win.zip and unzip it.
Do not executemain.exedirectly. - Run
init.batas Administrator.
- Install FFmpeg (may take a bit):
brew install ffmpeg
- Check your architecture:
uname -m
- If it prints
arm64, download ytdl-macos-arm64.zip. - If it prints
x86_64, download ytdl-macos-x86_64.zip.
- If it prints
- Unzip and run the setup script:
chmod +x init.sh ./init.sh
- Install FFmpeg (may take a bit):
sudo apt install ffmpeg
- Download ytdl-ubuntu.zip and unzip it.
- Run the setup script:
chmod +x init.sh ./init.sh
- Open a new tab and search
about:addons. - Find YouTubeDownloader in the list.
- Click Options (or Preferences) to change the settings.
Settings are persistent between download so you don't need to set them each time
- Navigate to the YouTube video or playlist you want to download.
- Click the extension icon in the Firefox toolbar to start the download.
- By default, files are saved in the extension directory, in a folder named output.
- The Timestamps box is empty by default, meaning the entire YouTube video will be downloaded.
- The format for the timestamps is HH:MM:SS.MS (ffmpeg format). For instance, formats like 1:15 or 10 are understood as 1 minute 15 seconds and 10 seconds respectively.
- iTunesSync allows you to automatically add songs to your itunes library. This options will only work on Windows and MacOS. Open Itunes before using it.