A simple, modern desktop application to download YouTube videos and convert them to MP3 audio files. No technical knowledge required!
- Download YouTube Videos - Save any YouTube video to your computer
- Convert to MP3 - Extract audio from videos and save as MP3 files
- Choose Quality - Select video quality (1080p, 720p, 480p, etc.)
- Easy to Use - Beautiful graphical interface - just paste a link and click download!
- Works Offline - Once downloaded, watch/listen without internet
- Dark Mode - Switch between light and dark themes
If you just want to download videos without any setup:
- Download the latest release (look for
YouTube Downloader.exe) - Double-click the
.exefile to run it - That's it! No installation needed - just paste a YouTube URL and click download
💡 Note: If you don't have a pre-built executable yet, see "Building Your Own Executable" below.
Option A: Use Pre-Built Executable (Easiest)
- Download
YouTube Downloader.exefrom the releases - Double-click to run - no setup needed!
Option B: Build Your Own Executable
- Follow the "Building Your Own Executable" section below
- Takes 5-10 minutes, but you'll have your own copy
Option C: Run from Source (For Developers)
- Requires Python installed
- See "Running from Source" section below
-
Open the application (double-click the
.exefile) -
Paste a YouTube URL
- Go to YouTube and copy the video URL
- Paste it into the "YouTube URL" box
-
Choose what to download:
- 📹 Video - Download the full video file
- 🎵 Audio (MP3) - Extract just the audio as an MP3 file
-
Select quality (for videos only):
- Best - Highest available quality (recommended)
- 1080p, 720p, 480p, etc. - Specific quality
- Worst - Smallest file size
-
Choose where to save:
- Click "Browse" to pick a folder
- Or leave it as default (saves to
downloadsfolder)
-
Enable browser cookies (recommended):
- ✅ Keep "Use browser cookies" checked
- Select your browser (Chrome, Firefox, Edge, etc.)
- This helps bypass YouTube's bot detection
-
Click "⬇️ Download"
- Watch the progress bar
- See status updates in the log area
- Your file will be saved when complete!
- Clean Design - Easy to understand, no clutter
- Dark Mode - Click the moon/sun icon (top-right) to switch themes
- Real-time Progress - See exactly what's happening during download
- What it does: Uses your browser's login cookies to access YouTube
- Why you need it: YouTube sometimes blocks downloads - cookies make it work!
- How to use:
- Make sure you're logged into YouTube in your browser
- Select your browser from the dropdown
- Keep the checkbox checked (it's on by default)
- Video Quality: Choose from best quality down to 240p
- Audio Only: Extract audio and convert to MP3 (192kbps)
- Playlists: Automatically detects and downloads entire playlists
If you want to build the application yourself (takes about 5-10 minutes):
- Windows 10 or 11
- Python 3.7 or newer (Download here)
- When installing Python, check "Add Python to PATH"
-
Download this project
- Click the green "Code" button → "Download ZIP"
- Extract the ZIP file to a folder
-
Open Command Prompt or PowerShell
- Press
Windows Key + R - Type
cmdand press Enter - Navigate to the project folder:
(Replace with your actual folder path)
cd "C:\path\to\Youtube downloader"
- Press
-
Install build tools
pip install -r requirements_build.txt
This installs PyInstaller and yt-dlp
-
Build the executable
- Simple method: Double-click
build_exe.bat - Or manually: Run the command in the "Manual Build" section below
- Simple method: Double-click
-
Find your executable
- Look in the
distfolder - You'll find
YouTube Downloader.exe - This file can be moved anywhere and run on any Windows PC!
- Look in the
Simple Build (Recommended for beginners):
- Double-click
build_exe.bat - Creates:
dist\YouTube Downloader.exe(~25-35 MB) - Includes everything needed
Optimized Build (Smaller file):
- Double-click
build_exe_advanced.bat - Creates:
dist\YouTube Downloader.exe(~20-30 MB) - Same features, smaller size
Manual Build:
pip install pyinstaller
pyinstaller --onefile --windowed --name "YouTube Downloader" --add-data "ffmpeg_bin;ffmpeg_bin" youtube_downloader_gui.py💡 Note: FFmpeg is automatically downloaded during the build process. This enables MP3 audio downloads without any extra setup!
If you have Python installed and want to run the code directly:
-
Install Python dependencies:
pip install -r requirements.txt
-
Run the application:
python youtube_downloader_gui.py
-
For audio downloads, install FFmpeg:
- Download from: https://www.gyan.dev/ffmpeg/builds/
- Extract
ffmpeg.exeandffprobe.exeto affmpeg_binfolder - Or run
python download_ffmpeg.pyto download automatically
- ✅ Make sure "Use browser cookies" is checked
- ✅ Select the browser you use for YouTube (Chrome, Firefox, Edge, etc.)
- ✅ Make sure you're logged into YouTube in that browser
- ✅ Try closing and reopening the application
- If using the executable: FFmpeg should be included automatically
- If running from source: Install FFmpeg (see "Running from Source" above)
- Check the log area for specific error messages
- This is normal! Download speed depends on:
- Your internet connection
- Video quality (higher quality = larger files = longer download)
- YouTube's servers
- Default location:
downloadsfolder in the same directory as the application - You can change this by clicking "Browse" and selecting a different folder
- Yes! Just paste a playlist URL instead of a single video URL
- The app will automatically detect it's a playlist and download all videos
- The app downloads videos in their original format (usually MP4)
- Audio is converted to MP3 format
- Currently designed for Windows
- Mac/Linux users can run from source (see "Running from Source" section)
- Building executables for Mac/Linux requires different tools
- Downloads: Saved to
downloadsfolder by default (in the same folder as the app) - Executable:
dist\YouTube Downloader.exe(after building) - Source Code:
youtube_downloader_gui.py
- Use Browser Cookies - Always keep this enabled to avoid errors
- Stay Logged In - Make sure you're logged into YouTube in your browser
- Choose Quality Wisely - Higher quality = larger files
- Check Your Internet - Downloads require a stable connection
- Be Patient - Large videos or playlists take time
- Make sure you have Windows 10 or 11
- Try running as administrator (right-click → Run as administrator)
- Check if your antivirus is blocking it
- Check your internet connection
- Make sure the YouTube URL is valid
- Enable browser cookies (see FAQ above)
- Try a different video to see if it's video-specific
- Make sure Python is installed and added to PATH
- Try running:
pip install --upgrade pip - Make sure you have enough disk space (builds require ~500MB temporarily)
For End Users (Using Executable):
- ✅ Windows 10 or 11
- ✅ Nothing else! Everything is included
For Building:
- ✅ Windows 10 or 11
- ✅ Python 3.7 or newer
- ✅ Internet connection (to download dependencies and FFmpeg)
For Running from Source:
- ✅ Python 3.7 or newer
- ✅ yt-dlp library (installed via
pip install -r requirements.txt) - ✅ FFmpeg (optional, for audio - can be downloaded automatically)
This project uses yt-dlp which is licensed under the Unlicense. See the yt-dlp repository for details.
- Built with yt-dlp - the best YouTube downloader
- Uses FFmpeg for audio conversion
- GUI built with Python's Tkinter
- Check the FAQ section above
- Look at the error messages in the log area
- Make sure you're using the latest version
- Check that your browser cookies are enabled
Enjoy downloading! 🎉