Open Source · v1.1.1 · MIT License

Y2CLI Downloader

Download YouTube videos and audio offline — no browser, no ads, no limits. A Y2Mate-style tool that runs entirely on your machine with ffmpeg built in.

Share this

Use y2cli — y2cli.tresorbana.com

pip install y2cli

01

Install the package

Requires Python 3.10+. ffmpeg is bundled — no separate installation needed.

pip install y2cli
02

Run interactively

Paste a URL. Use arrow keys to pick a format. Press Enter to download.

# Interactive — prompts for URL and format y2cli # Or pass the URL directly y2cli "https://www.youtube.com/watch?v=VIDEO_ID"
03

Direct download (no prompts)

Skip the picker by specifying a format ID directly.

y2cli "https://..." --format mp3 y2cli "https://..." --format mp4_720 y2cli "https://..." --format mp4_1080 --output "D:\Videos"
04

Start the local server

Required for the browser extension and VS Code extension to communicate with the CLI.

y2cli --serve # Runs on http://127.0.0.1:7272 # On Windows, auto-starts at login via Startup folder

Available formats depend on the video. The interactive picker only shows what's actually available.

Format ID Description Extension
mp3Audio only, 192kbps.mp3
mp4_1080Video + Audio, Full HD.mp4
mp4_720Video + Audio, HD.mp4
mp4_480Video + Audio, SD.mp4
mp4_360Video + Audio, Low.mp4

Coming Soon
Instagram & TikTok

Download Reels and TikTok videos with the same one-command simplicity.

Instagram Reels
TikTok Videos