Saving videos offline: a practical guide

Seven services, one honest answer for each. Written for use on your own phone and computer.

Every fact here was checked against the official pages listed at the bottom on 16 November 2026. Apps and sites change often. If something here does not match what you see, trust the app.

The short answer

ServiceBest routeOfficial route
YouTubeyt-dlp on your own deviceYouTube Premium offline download (phone app, or Chrome, Edge, Firefox or Opera on a computer)
Instagramyt-dlp on your own device. Often needs your browser sign-in.Download option on public reels, unless the creator turned it off. Save your own stories and reels.
X (Twitter)yt-dlp on your own deviceX Premium subscribers: “Download video” on eligible posts
Reddityt-dlp on your own device. Sometimes needs sign-in.None found
NetflixThe Netflix app onlyDownload button in the Android, iPhone, iPad, Amazon Fire tablet and Chromebook apps
JioHotstarThe JioHotstar app onlyDownload arrow in the iOS and Android app, on a phone or tablet
Amazon Prime VideoThe Prime Video app onlyDownload in the Fire tablet, iOS, Android, macOS and Windows 10/11 apps

yt-dlp is free, open-source software that runs on your own device. It is the tool this page recommends for the first four services. The last three services protect their video with DRM, so the only route covered here is each service’s own app.

Why your own device works and a cloud server does not

YouTube and Instagram treat a request from a cloud server’s address as suspect, but treat a request from a home or mobile connection like a normal viewer. yt-dlp maintainers say this about YouTube in the project’s issue tracker: YouTube “blocked anonymous access from many datacenter IPs”.

I found no official page that explains the same thing for Instagram. Your test failed on both, so the cause looks the same. Running yt-dlp on your own phone or computer sends the request from your own internet connection, which is the address these sites accept.

Install yt-dlp, ffmpeg and a JavaScript runtime

You need three things.

You are a developer, so you may already have Node.js 22 or newer. Run node --version. If it shows 22 or higher, you can skip Deno and use the Node line shown under each system below.

Linux

This uses the release file from yt-dlp. It needs Python 3.11 or newer. Ubuntu’s own yt-dlp package is not the one the project documents, so use the release file.

mkdir -p ~/.local/bin
curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o ~/.local/bin/yt-dlp
chmod a+rx ~/.local/bin/yt-dlp

If you have no Python, download the standalone file yt-dlp_linux (64-bit Intel/AMD, glibc 2.17 or newer) from the releases page instead.

Install ffmpeg. This is the Ubuntu and Debian command, from the official packages FFmpeg’s download page lists.

sudo apt install ffmpeg

Install a JavaScript runtime. Pick one.

# Option A: Deno, using Deno's own install script
curl -fsSL https://deno.land/install.sh | sh

# Option B: use Node.js 22 or newer that you already have
mkdir -p ~/.config/yt-dlp
echo '--js-runtimes node' >> ~/.config/yt-dlp/config

Deno’s documentation says it does not publish an official apt repository, so use the script. Open a new terminal afterward, then check:

yt-dlp --version
ffmpeg -version
deno --version

Windows

Open PowerShell and run these three lines. They use the commands from the yt-dlp wiki, Deno’s documentation and the winget catalogue.

winget install --source winget --id yt-dlp.yt-dlp
winget install Gyan.FFmpeg
winget install DenoLand.Deno

Close PowerShell and open it again so the new programs are found. Then check:

yt-dlp --version
ffmpeg -version
deno --version

If you prefer to download by hand, the file to get is yt-dlp.exe from the releases page. yt-dlp also publishes its own ffmpeg builds at github.com/yt-dlp/FFmpeg-Builds.

macOS

You need Homebrew. Homebrew’s yt-dlp package lists Deno as a dependency, so it should install Deno for you.

brew install yt-dlp ffmpeg
yt-dlp --version
ffmpeg -version
deno --version

If deno --version says “command not found”, run brew install deno.

Android

The documented route is Termux, a terminal app. The Termux project says to get it from F-Droid or from its GitHub releases. Its Google Play build is marked experimental, with missing functions and bugs. Then run these lines inside Termux. They follow the yt-dlp wiki’s Termux steps, plus ffmpeg and Node.js from the Termux package list.

termux-setup-storage
pkg update && pkg upgrade
pkg install python python-pip ffmpeg nodejs
pip install -U "yt-dlp[default]"
mkdir -p ~/.config/yt-dlp
echo '--js-runtimes node' >> ~/.config/yt-dlp/config

termux-setup-storage asks for permission to use your phone’s storage. Afterward, ls ~/storage shows the folders you can save into. To save into your phone’s downloads folder, add -P ~/storage/downloads to the commands below (check the folder name with ls first).

If you do not want a terminal, see Easier apps.

Commands for common jobs

Replace URL with the link, and keep the quotes around it. Quotes stop your shell from breaking links that contain & or ?. These work the same on Linux, macOS, Windows and Termux. Tap or click a block to select all of it.

Best quality

yt-dlp "URL"

This picks the best video and audio and joins them with ffmpeg. The file may come out as .webm or .mkv.

Best quality as an mp4 that plays anywhere

yt-dlp -t mp4 "URL"

-t mp4 is a built-in preset. It makes an mp4 and prefers H.264 video and AAC audio, which most phones and TVs play. It puts the codec first, so it can pick a lower resolution than the very best stream.

Cap the quality at 1080p

yt-dlp -S "res:1080,vcodec:h264,acodec:aac" --merge-output-format mp4 "URL"

This asks for the best video up to 1080 pixels high, and prefers H.264 and AAC within that. Use res:720 for 720p. To see every format a link offers, run yt-dlp -F "URL".

Audio only, as mp3

yt-dlp -t mp3 "URL"

This needs ffmpeg and ffprobe. The longer form is yt-dlp -x --audio-format mp3 "URL".

A whole playlist

yt-dlp --yes-playlist -o "%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s" "PLAYLIST_URL"

This puts the files in a folder named after the playlist, numbered in order. If a link points to one video inside a playlist and you want only that video, use --no-playlist.

To make long jobs restartable, add --download-archive archive.txt. yt-dlp then skips anything already listed in that file. To go gently on the site, add -t sleep, a preset that waits between requests. YouTube’s “try again later” error comes from asking too fast; the yt-dlp wiki suggests a 5 to 10 second delay between downloads.

Subtitles

yt-dlp -t mp4 --write-subs --write-auto-subs --sub-langs "en.*" --embed-subs "URL"

--write-subs saves uploaded subtitles. --write-auto-subs adds automatic captions. --sub-langs "en.*" picks every English variant. --embed-subs puts them inside the file, which works for mp4, mkv and webm. To get separate .srt files instead, drop --embed-subs and add --convert-subs srt.

Instagram, X and Reddit

Use the same commands with a post, reel or tweet link. Single posts, reels and stories are the normal case. yt-dlp’s supported-sites list marks Instagram user profile downloads as “Currently broken”, so do not expect to save a whole profile in one go.

Using your browser’s sign-in

Some posts are visible only to a signed-in person. yt-dlp can read the sign-in cookies your browser already holds, so it looks like you. Add this to any command above:

yt-dlp --cookies-from-browser firefox "URL"

Replace firefox with your browser: brave, chrome, chromium, edge, opera, safari, vivaldi or whale. To pick a browser profile, write BROWSER:PROFILE. You must be signed in to the site in that browser first.

Read this before using it.

When you need it

YouTube is different

The yt-dlp wiki says not to use --cookies-from-browser for YouTube. YouTube rotates cookies on any tab that stays open, so the browser’s cookies stop working quickly. The wiki’s method is to export a cookie file from a private window. In short:

  1. Open a new private or incognito window and sign in to YouTube.
  2. In that same tab, open youtube.com/robots.txt. Keep it the only private tab.
  3. Export the youtube.com cookies with a cookie-export extension. The FAQ names “Get cookies.txt LOCALLY” for Chrome and “cookies.txt” for Firefox. It warns that the older “Get cookies.txt” (without LOCALLY) was reported as malware, so avoid it.
  4. Close the private window. Then run:
yt-dlp --cookies youtube-cookies.txt "URL"

The wiki also suggests a throwaway account where you can. Treat the file as a password and delete it when done.

When a site stops working

Sites change their code often, and yt-dlp changes to keep up. In almost every case the fix is a newer yt-dlp. Update first, then try again.

# release-file installs (Linux, Windows, macOS)
yt-dlp -U

# the yt-dlp README recommends the nightly channel for regular users
yt-dlp --update-to nightly

If you installed another way, update the same way:

# pip, and Termux on Android
python3 -m pip install -U "yt-dlp[default]"
# in Termux, use:  pip install -U "yt-dlp[default]"

# Homebrew (macOS)
brew upgrade yt-dlp

# winget (Windows)
winget upgrade --source winget --id yt-dlp.yt-dlp

If YouTube still fails after an update, check these in order:

  1. Is a JavaScript runtime installed? Run deno --version (or node --version if you use Node).
  2. Is it new enough? Deno 2.3.0 or later, Node 22.0.0 or later.
  3. Did you set --js-runtimes node if you use Node? Only Deno is on by default.
  4. Are you on a cloud server or a VPN? See above. Try your home connection.
  5. Did you see 429, or “try again later”? You asked too fast. Wait, and add -t sleep.

Easier apps

These apps wrap yt-dlp or do similar work. I checked each project’s own page and its recent activity on 16 November 2026. Download them only from the places the project itself names.

Android

Windows, macOS and Linux

I could not confirm from these projects’ pages how each handles YouTube’s JavaScript requirement. If YouTube fails in an app, update the app first. The command-line route above is the one yt-dlp itself documents.

Official routes: YouTube, Instagram, X, Reddit

These are the services’ own download features. They are the safest choice when they cover what you want. They work only inside the service’s own app or site.

YouTube Premium offline downloads

Instagram

X (Twitter)

Reddit

I found no Reddit help page about downloading a video file. Reddit has a Save feature, which keeps a post in your account. I did not find any page saying it keeps the video file offline. Use yt-dlp for Reddit videos you are allowed to keep.

Netflix, JioHotstar and Amazon Prime Video

These three services protect their streams with DRM. This page covers only each service’s own offline feature in its own app. It does not cover anything else, because that breaks the services’ terms and, in many places, the law.

Downloaded titles stay inside the app, expire, and are tied to your account. That is how the official feature works.

Netflix

JioHotstar

Amazon Prime Video

What is fair to download

YouTube. YouTube’s Terms of Service say you may not “access, reproduce, download” content except as the service expressly authorizes, or with YouTube’s written permission. Downloading from YouTube with a third-party tool is therefore against YouTube’s terms of service. That is true even though yt-dlp itself is legitimate open-source software. The risk is to your account, and the terms say that is a breach. Use the official Premium download when it covers you.

I did not check the terms of Instagram, X or Reddit. Read them before you save anything you do not own.

What I could not confirm