Tubeit

Paste a YouTube link and a folder. You get a .bat file that downloads the video at the best quality YouTube has, as an MKV.

You do the downloading

Tubeit doesn't download anything. It writes a small script; you run it on your own computer, and your computer fetches the video from YouTube. What you download, and what you do with it, is your responsibility.

YouTube's terms allow downloading only where YouTube itself offers it, or with permission from YouTube and the owner of the video. Use Tubeit for your own videos, for videos you have permission to copy, or where the law where you are allows it.

Make the .bat

In Explorer, Shift + right-click the folder and choose Copy as path, then paste it here. The folder is created if it doesn't exist.
Uploaded subtitles only (not YouTube's automatic captions), embedded as tracks in the MKV.
Where yt-dlp.exe, ffmpeg.exe, ffprobe.exe and deno.exe live (see the setup below). The .bat also looks for them on the PATH.
Show the .bat
Fill in the link and the folder.
Show the PowerShell command
Fill in the link and the folder.
For pasting into PowerShell instead of running the .bat. It needs all four tools in the tools folder and stops before downloading if one is missing.

One-time setup

  1. yt-dlp: download yt-dlp.exe (about 23 MB) and save it in the tools folder, C:\yt by default. Release page.
  2. FFmpeg: joins the best video and best audio into one MKV. Download ffmpeg-master-latest-win64-gpl.zip (about 190 MB, yt-dlp's own build), open its bin folder and copy ffmpeg.exe and ffprobe.exe into the tools folder. Release page.
  3. Deno: since November 2025, yt-dlp needs a JavaScript runtime to download from YouTube properly. Download deno-x86_64-pc-windows-msvc.zip (about 41 MB) and put deno.exe in the tools folder. Or install it with winget install --id=DenoLand.Deno. Why it's needed.
If yt-dlp or FFmpeg is already installed elsewhere and on the PATH, the .bat will find it there.

Or let PowerShell do all three. Paste this into PowerShell: it puts yt-dlp (if it isn't there already), FFmpeg and Deno into the tools folder above, then lists what's there. You should see deno.exe, ffmpeg.exe, ffprobe.exe and yt-dlp.exe.

Show the setup command

    

Running it

Double-click the .bat. A window shows the download progress and stays open at the end so you can read the result.

Your browser may ask whether to keep a .bat file, and Windows may warn that it came from the internet: choose Keep, then More info → Run anyway. To stop the warning for a file, right-click it, choose Properties and tick Unblock.

The file is named after the video title and its ID, e.g. Title [dQw4w9WgXcQ].mkv. "Best quality" means the highest resolution and frame rate on offer, which is often VP9 or AV1 video with Opus audio; MKV holds any of them without re-encoding.