How to download a Twitch VOD and its chat before it expires
Twitch past broadcasts don't stay up forever, and the chat replay goes with them. Here's how long you have, and how to save both the video and the chat.
How long Twitch keeps a VOD
Past broadcasts are only saved if the streamer has turned on Store past broadcasts, and even then they expire:
| Account | Past broadcasts kept for |
|---|---|
| Partners, Turbo and Prime users | 60 days |
| Affiliates | 14 days |
| Everyone else | 7 days |
Highlights and uploads stay up indefinitely but share a 100-hour storage limit. If a stream was broadcast in 2K or in vertical format, that extra version expires after 7 days even on a Partner channel.
For clippers, this means a small streamer's VOD can be gone within a week. If you're working through a backlog, download first and clip later.
Option 1: TwitchDownloader (video and chat)
TwitchDownloader is free and open source. It has a Windows app and a command-line version for Windows, macOS and Linux. It downloads VODs, clips and chat, and it can render the chat into a video you can overlay on your edit.
In the Windows app, paste the VOD link into the VOD download tab, choose a quality, set a start and end time if you only want part of it, and download. Chat download is a separate tab: save it as JSON, which keeps every message with its timestamp, badges and emotes.
The command-line version does the same in three commands:
TwitchDownloaderCLI videodownload --id 2291234567 -o vod.mp4
TwitchDownloaderCLI chatdownload --id 2291234567 -o chat.json -E
TwitchDownloaderCLI chatrender -i chat.json -h 1080 -w 422 -o chat.mp4
The ID is the number at the end of the VOD link (twitch.tv/videos/2291234567). -E embeds the emote images in the JSON so the chat render still works after the VOD is gone.
Option 2: yt-dlp (video only)
If you already use yt-dlp, it handles Twitch VODs too, including partial downloads:
yt-dlp "https://www.twitch.tv/videos/2291234567"
yt-dlp --download-sections "*2:14:00-2:17:00" "https://www.twitch.tv/videos/2291234567"
It doesn't save the chat, so pair it with TwitchDownloader's chat download if you need both.
Why the chat file matters
For a clipper, the chat replay is often more valuable than the video. Every message has a timestamp, so you can see exactly when chat exploded, without watching six hours of stream. A wall of KEKW, OMEGALUL or NO WAY five seconds after something happens is the most reliable sign of a clip-worthy moment. We wrote up how to find the best moments from chat, with a short script that does it from the JSON file.
Subscriber-only VODs
Some channels limit VODs to subscribers. Downloading those needs your own logged-in, subscribed account; TwitchDownloader supports this with an OAuth token from your account. Keep that token private, since it gives access to your account.