# How to download subtitles with yt-dlp

Download subtitles with yt-dlp: subtitle-only downloads, auto subtitles, language selection, and fixing 'HTTP Error 429: Too Many Requests' on caption downloads with --sleep-subtitles.

Subtitle downloads are simple once you know the right flags. The main trap is forgetting whether you want subtitle files only, subtitles alongside the media, or auto-generated subtitles when manual captions do not exist.

<HostedAnswer>
Add `--write-subs --skip-download` to get only the subtitle files, and `--write-auto-subs` when a video has no manual captions. If subtitle requests start failing with 429s from a server while they work on your laptop, it's the server's IP (see below).
</HostedAnswer>

## Quick answer

If you only want subtitle files, start here.

```bash
yt-dlp --write-subs --sub-langs "en.*" --skip-download "URL"
```

## Auto subtitles

```bash
yt-dlp --write-auto-subs --sub-langs "en.*" --skip-download "URL"
```

Use this when the platform does not offer manual captions but does offer auto-generated subtitles.

## Download media and subtitles together

```bash
yt-dlp --write-subs --sub-langs "en.*" "URL"
```

Remove `--skip-download` if you want the video file and the subtitle files in the same run.

## What usually goes wrong

- subtitles do not exist for that video
- wrong language pattern was requested
- the user forgot `--skip-download` and got the full media too
- manual subtitles were expected, but only auto subtitles are available

## Practical recommendation

When subtitle availability is uncertain, test with subtitle-only download first. It is faster and makes it obvious whether the language and subtitle type are actually available.

## Do not assume subtitles exist

A subtitle command failing does not automatically mean yt-dlp is broken. A lot of videos simply do not have the subtitle track or language you expected.

## "HTTP Error 429" when downloading subtitles

If subtitle downloads fail with `Unable to download video subtitles: HTTP Error 429: Too Many Requests` — especially when you're pulling several languages, or looping over many videos — YouTube is rate-limiting its caption endpoint, separately from the video itself. Slow the subtitle requests down:

```bash
# sleep before each subtitle download
yt-dlp --write-auto-subs --sub-langs "en.*" --skip-download \
  --sleep-subtitles 5 "URL"

# or the built-in "sleep" preset (--sleep-subtitles 5 --sleep-requests 0.75)
yt-dlp -t sleep --write-subs --sub-langs "en.*" --skip-download "URL"
```

For a batch, request only the languages you actually need (a broad `--sub-langs all` multiplies the requests) and let the job take longer. If subtitles 429 only from a server or cloud box but work from your laptop, it's the IP, not the pacing — see [YouTube transcripts that fail on a server](/guides/youtube-transcripts-cloud-ip-blocking).

<DocCta variant="default" />

## Related guides

- [Use yt-dlp for YouTube](/guides/yt-dlp-for-youtube)
- [YouTube transcripts that fail on a server](/guides/youtube-transcripts-cloud-ip-blocking)
- [Browse commands](/guides/yt-dlp-commands)
- [Fix common yt-dlp errors](/guides/fix-yt-dlp-errors)
- [Download playlists](/guides/download-playlists)
- [Fix repeated lines in YouTube auto-subtitles](/guides/yt-dlp-auto-subtitles-duplicate-lines)