TubeGrab: Download YouTube Videos & MP3 in Termux (4K/8K) — Free Open-Source Tool 2026
🎬 TubeGrab — The Ultimate
YouTube Downloader for Termux
Download any YouTube video in 4K/8K or extract crystal-clear MP3 at 320kbps — directly on your Android phone with zero hassle.
⭐ View on GitHub → Get TubeGrab Free📋 Table of Contents
🤔 What is TubeGrab?
TubeGrab is a free, open-source Bash script built specifically for Termux on Android that lets you download YouTube videos and MP3 audio in any quality — all from your phone's terminal, no root required.
Created by HYDRA-TERMUX and powered by the battle-tested yt-dlp engine under the hood, TubeGrab wraps everything in a beautiful, colorful, interactive menu so even beginners can use it without typing complex commands.
Whether you want to save a 4K music video for offline watching, rip a podcast to MP3, or grab a lecture at 1080p, TubeGrab has you covered — all in one script.
💡 Pro Tip: TubeGrab uses yt-dlp, the community-maintained successor to youtube-dl, meaning it stays updated and works even when YouTube changes its systems.
✨ Key Features
All Video Qualities
Best Auto, 4K Ultra HD, 2K QHD, 1080p FHD, 720p HD, 480p, 360p, and Custom Format mode.
MP3 Audio Download
Extract audio in 320, 256, 192, 128, or 96 kbps — perfect for music, podcasts, and lectures.
One-Command Install
A single curl command installs everything automatically including Python, FFmpeg, and yt-dlp.
Beautiful Terminal UI
Colorful gradient banner, easy numbered menu, and real-time download progress bar.
Auto-Updater
Built-in yt-dlp updater keeps your download engine fresh so it never breaks.
Organized File Storage
Files saved neatly to /sdcard/TubeGrab/Video/ and /sdcard/TubeGrab/MP3/ for easy access.
MIT Licensed
100% free and open-source. Fork it, modify it, share it — completely legal under the MIT license.
No Root Required
Works on any Android 5.0+ device with Termux installed. No root, no jailbreak needed.
📋 Requirements
Before installing TubeGrab, make sure you have the following:
Android Device (5.0+)
Any Android smartphone or tablet running Android 5.0 Lollipop or higher will work.
Termux App
Install Termux from F-Droid (recommended) or GitHub Releases. Avoid the Play Store version as it's outdated.
Storage Permission
Run termux-setup-storage in Termux and tap "Allow" when prompted.
Internet Connection
A stable Wi-Fi or mobile data connection. Wi-Fi is recommended for 4K/8K downloads.
🚀 Installation — 4 Different Methods
✅ Method 1: Quick Install (RECOMMENDED — One Command)
This is the easiest and fastest way. Just open Termux and paste this single command:
bash <(curl -fsSL https://raw.githubusercontent.com/HYDRA-TERMUX/tubegrab/main/setup.sh)
This one-liner automatically: updates Termux packages, installs Python, FFmpeg, and yt-dlp, downloads TubeGrab, sets up storage permissions, and creates organized download folders. You're ready to go in minutes!
🔧 Method 2: Git Clone
pkg install git -y
git clone https://github.com/HYDRA-TERMUX/tubegrab.git
cd tubegrab
chmod +x youtube-downloader.sh
./youtube-downloader.sh
🛠 Method 3: Manual Installation
pkg update && pkg upgrade -y
pkg install python ffmpeg -y
pip install yt-dlp
curl -O https://raw.githubusercontent.com/HYDRA-TERMUX/tubegrab/main/youtube-downloader.sh
chmod +x youtube-downloader.sh
./youtube-downloader.sh
📥 Method 4: Direct Script Download
curl -fsSL https://raw.githubusercontent.com/HYDRA-TERMUX/tubegrab/main/install.sh | bash
💡 How to Use TubeGrab
Once installed, run TubeGrab anytime with:
./youtube-downloader.sh
You'll see a colorful menu with these options:
🎥 Download a Video
Select option [1] — Video Download
Paste the YouTube video URL
Choose your quality (e.g., 1 for Best / 4K)
Wait for download — file saved to /sdcard/TubeGrab/Video/
🎵 Download MP3 Audio
Select option [2] — MP3 Download
Paste the YouTube video URL
Choose your audio bitrate (e.g., 1 for 320 kbps)
MP3 saved to /sdcard/TubeGrab/MP3/
⚙️ Other Menu Options
- 🔵 [3] Check / Install dependencies
- 🟡 [4] Update yt-dlp to the latest version
- 🔴 [5] Exit TubeGrab
📊 Complete Quality Reference
🎬 Video Quality Options
| Option | Quality | Resolution | Best For |
|---|---|---|---|
| 1 | Best (Auto) | Up to 8K/4K | Maximum possible quality |
| 2 | 4K Ultra HD | 2160p | Large screens, future-proof |
| 3 | 2K Quad HD | 1440p | High-end phones |
| 4 | 1080p Full HD | 1080p | Most devices — sweet spot |
| 5 | 720p HD | 720p | Average phones, save data |
| 6 | 480p SD | 480p | Low storage devices |
| 7 | 360p Low | 360p | Minimal data usage |
| 8 | Custom Format | Any | Advanced users |
🎵 MP3 Audio Quality Options
| Option | Bitrate | Quality | Best For |
|---|---|---|---|
| 1 | 320 kbps | Best | Audiophiles, music lovers |
| 2 | 256 kbps | High | High quality, smaller file |
| 3 | 192 kbps | Medium | General listening |
| 4 | 128 kbps | Standard | Podcasts, voice audio |
| 5 | 96 kbps | Low | Minimal data, voice only |
🛠️ Troubleshooting
yt-dlp not found
pip install yt-dlpffmpeg not found (videos won't merge)
pkg install ffmpeg -yPermission denied error
chmod +x youtube-downloader.shStorage permission issues
termux-setup-storageDownloads failing / yt-dlp outdated
pip install --upgrade yt-dlpScript crashes or freezes
pkg update && pkg upgrade -y
pip install --upgrade yt-dlp⚠️ Important: Always install Termux from F-Droid or GitHub, NOT the Google Play Store. The Play Store version is outdated and may not support all features.
❓ Frequently Asked Questions
Where are my downloaded files saved?
Videos are saved to /sdcard/TubeGrab/Video/ and MP3s to /sdcard/TubeGrab/MP3/. You can access them with any file manager app.
Is TubeGrab free? Any hidden charges?
Yes, TubeGrab is completely free and open-source under the MIT license. No ads, no subscriptions, no hidden fees.
Do I need to root my Android phone?
No! TubeGrab works perfectly on any non-rooted Android device (5.0+) with Termux installed.
Can TubeGrab download playlists?
Currently TubeGrab supports single video downloads. For playlists, paste each URL individually. Playlist support may be added in future updates.
How do I update TubeGrab?
Navigate to the TubeGrab folder and run: cd tubegrab && git pull && chmod +x youtube-downloader.sh
Is downloading YouTube videos legal?
TubeGrab is a tool for personal use. Always respect YouTube's Terms of Service and copyright laws. Only download videos you own, have permission to download, or that are in the public domain.
Why is 4K download slower than 1080p?
Higher quality files are significantly larger. A 4K video can be 4–6x the file size of 1080p. Use Wi-Fi for 4K downloads and ensure you have enough storage space.
🚀 Ready to Download?
Get TubeGrab now — it's free, open-source, and installs in under 60 seconds.
⭐ Star & Download on GitHubSupport the project by giving it a ⭐ star on GitHub — it helps more people find this tool!
Comments
Post a Comment