TubeGrab — A Free Open-Source Termux Tool by HYDRA TERMUX (2026)
TubeGrab — Download YouTube Videos & MP3 in Termux (4K/8K) Free 2026
// 01 — 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, with no root required. If you have been looking for a reliable YouTube downloader for Termux in 2026, TubeGrab is the cleanest solution available.
Created by HYDRA-TERMUX and powered by the battle-tested yt-dlp engine under the hood, TubeGrab wraps everything in a colorful, interactive menu so even complete beginners can use it without memorizing complex commands. Whether you want to save a 4K music video, rip a podcast to MP3, or grab a lecture at 1080p — TubeGrab handles it all in one script.
// 02 — Key Features of TubeGrab
TubeGrab is not just a simple wrapper around yt-dlp. It adds a full interactive experience on top, making it the most user-friendly YouTube downloader for Termux available today. Here is what you get out of the box:
🎥 All Video Quality Options
From Best Auto (up to 8K) all the way down to 360p, TubeGrab supports every resolution including 4K Ultra HD (2160p), 2K QHD (1440p), 1080p FHD, 720p HD, 480p, and a custom format mode for advanced users who know exactly what they want.
🎵 MP3 Audio Extraction
Extract high-quality audio at 320, 256, 192, 128, or 96 kbps. Perfect for saving music, podcasts, lectures, and any other audio content directly from YouTube to your Android device's storage.
⚡ One-Command Install
A single curl command installs everything automatically — Python, FFmpeg, yt-dlp, and TubeGrab itself. No manual dependency hunting, no confusion. You go from zero to downloading in under two minutes.
🎨 Beautiful Terminal UI
A colorful gradient banner, clean numbered menu, and real-time download progress bar make TubeGrab feel polished compared to running raw yt-dlp commands. It is designed to be approachable even for Termux beginners.
🔄 Built-in Auto-Updater
TubeGrab includes a built-in yt-dlp updater option right in the menu. One tap keeps your download engine fresh so downloads never break after a YouTube update.
📁 Organized File Storage
Files are saved cleanly to /sdcard/TubeGrab/Video/ for videos and /sdcard/TubeGrab/MP3/ for audio. No hunting through random folders — your downloads are always where you expect them.
// 03 — Requirements
Before installing TubeGrab, make sure you have these four things ready:
Android Device (5.0+)
Any Android smartphone or tablet running Android 5.0 Lollipop or higher will work perfectly.
Termux App (F-Droid version)
Install Termux from F-Droid or GitHub Releases. Avoid the Play Store version — it is outdated and missing key functionality.
Storage Permission
Run termux-setup-storage in Termux and tap "Allow" when prompted. This lets TubeGrab save files to your SD card.
Internet Connection
A stable Wi-Fi or mobile data connection. Wi-Fi is strongly recommended for 4K and 8K downloads due to large file sizes.
// 04 — Installation — 4 Different Methods
TubeGrab gives you four ways to install it depending on your preference. Method 1 is recommended for almost everyone.
✅ Method 1 — Quick Install (Recommended)
This is the easiest and fastest way. Open Termux and paste this single command. It handles everything automatically:
bash <(curl -fsSL https://raw.githubusercontent.com/HYDRA-TERMUX/tubegrab/main/setup.sh)
This one-liner will automatically: update your Termux packages, install Python, FFmpeg and yt-dlp, download TubeGrab, set up storage permissions, and create your organized download folders. You are ready to download in minutes.
🔧 Method 2 — Git Clone
If you prefer to clone the repository manually so you can easily pull updates later:
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
Prefer to install each dependency yourself for full control? Here are the manual steps:
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
The fastest one-liner alternative to Method 1:
curl -fsSL https://raw.githubusercontent.com/HYDRA-TERMUX/tubegrab/main/install.sh | bash
// 05 — How to Use TubeGrab
Once installed, launch TubeGrab anytime from your Termux session with:
./youtube-downloader.sh
You will be greeted by a colorful menu. Here is how to use each option:
🎥 Downloading a Video
Select option [1] — Video Download
Press 1 and Enter from the main menu.
Paste the YouTube URL
Copy the video URL from YouTube and long-press to paste it into Termux.
Choose Your Quality
Select a number from the quality menu. Option 1 picks the best available quality automatically.
Wait for the Download
A progress bar will show the download. Your file is saved to /sdcard/TubeGrab/Video/ when done.
🎵 Downloading MP3 Audio
Select option [2] — MP3 Download
Press 2 and Enter from the main menu.
Paste the YouTube URL
Paste any YouTube video URL — TubeGrab will extract just the audio.
Choose Your Bitrate
Select 1 for 320 kbps (best quality) down to 5 for 96 kbps (smallest file size).
MP3 Saved to Storage
Find your audio file at /sdcard/TubeGrab/MP3/ — accessible from any file manager.
// 06 — 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 |
// 07 — Troubleshooting Common Errors
yt-dlp: command not found
yt-dlp was not installed or pip failed silently. Fix it with:
pip install yt-dlp
ffmpeg: command not found
Without FFmpeg, high-quality videos (4K/8K) cannot be merged from separate audio and video streams. Install it:
pkg install ffmpeg -y
Permission denied
The script file lost its execute permission. Fix it:
chmod +x youtube-downloader.sh
Storage access denied / can't save to /sdcard/
Termux does not have storage permission. Grant it and restart Termux:
termux-setup-storage
Downloads failing or returning errors
Your yt-dlp version is likely outdated. YouTube changes its systems frequently. Update it:
pip install --upgrade yt-dlp
Script crashes or freezes randomly
Outdated Termux packages or a broken yt-dlp install. Run a full refresh:
pkg update && pkg upgrade -y
pip install --upgrade yt-dlp
// FAQ
/sdcard/TubeGrab/Video/ and MP3s to /sdcard/TubeGrab/MP3/. Open any file manager app on your Android device to find them instantly.cd tubegrab && git pull && chmod +x youtube-downloader.sh// 08 — Conclusion
TubeGrab is the most complete and beginner-friendly YouTube downloader for Termux available in 2026. It brings together the power of yt-dlp, FFmpeg, and a clean interactive menu into a single Bash script that installs in one command and works without root on any Android device.
Whether you need 4K video downloads, high-quality MP3 extraction, or just a reliable offline tool for your favorite YouTube content, TubeGrab covers every use case. The built-in updater means it will keep working long-term, and the organized folder structure keeps your downloads clean and easy to find.
If you found this guide helpful, drop a star on the GitHub repo — it genuinely helps more people discover the tool. And check out hydratermux.blogspot.com for more Termux tutorials, tools, and Android Linux guides published regularly by Rixon Xavier.
⭐ Star & Download TubeGrab on GitHub →