# Best yt-dlp commands for video, audio, playlists, and subtitles

A practical yt-dlp command reference for downloading video, audio, playlists, subtitles, and more without getting lost in flags.

Most people do not need a giant wall of flags. They need a short list of commands that solve common yt-dlp tasks reliably. The point of this page is practical coverage, not trying to turn the docs into a brain dump.

## How to use this page

Start with the command closest to your actual task. If it works, stop there. If you need more control, follow the linked deeper guide instead of stacking random flags from different tutorials.

## Download the best available quality

```bash
yt-dlp "URL"
```

Default yt-dlp behavior is already strong. Start simple before forcing formats you may not need.

## Download audio only and convert to MP3

```bash
yt-dlp -x --audio-format mp3 "URL"
```

Requires ffmpeg. If conversion fails, check ffmpeg before touching anything else.

## Download a playlist

```bash
yt-dlp "PLAYLIST_URL"
```

Fine for a first pass. Add output templates if you want cleaner filenames and folders.

## List available formats

```bash
yt-dlp -F "URL"
```

Do this before choosing a specific format. Guessing format IDs is one of the easiest ways to waste time.

## Download subtitles only

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

Useful when you need caption files without downloading the actual media.

## Use a custom output filename

```bash
yt-dlp -o "%(title)s.%(ext)s" "URL"
```

This matters a lot once you start downloading more than one file at a time. See the output template guide for folders, numbering, and date formatting.

## Cap the resolution (e.g. 1080p)

```bash
yt-dlp -S "res:1080" "URL"
```

\-S sorts formats by preference and picks the best that fits. This grabs the highest quality up to 1080p instead of pulling a 4K file you did not want.

## Download only part of a video

```bash
yt-dlp --download-sections "*00:01:00-00:02:00" "URL"
```

Grabs just the 1:00-2:00 clip. Needs ffmpeg. Use \*HH:MM:SS-HH:MM:SS, or \*START-inf to go to the end.

## Resume an interrupted download

```bash
yt-dlp -c "URL"
```

\-c (--continue) picks up a partial file where it stopped instead of starting over. yt-dlp resumes by default, but -c makes it explicit in scripts.

## Limit download speed

```bash
yt-dlp -r 2M "URL"
```

Caps the rate at 2 MB/s. Useful on a shared connection, and it makes your traffic look less like a scraper hammering the server.

## Embed thumbnail and metadata

```bash
yt-dlp --embed-thumbnail --embed-metadata "URL"
```

Writes the cover art and title/uploader/date into the file itself, so it looks right in a media library instead of a bare filename.

## Use your browser's cookies

```bash
yt-dlp --cookies-from-browser chrome "URL"
```

Pulls cookies straight from your logged-in browser for members-only or age-gated videos. Swap chrome for firefox, edge, brave, etc.

## Update yt-dlp

```bash
yt-dlp -U
```

Sites change constantly and old builds break first. If a download suddenly fails, update before debugging anything else.

## The biggest command mistake

People often combine a bunch of flags before confirming the simple version works. That usually makes debugging harder, not smarter. Get the base command working first, then add the minimum extra flag you actually need.

<DocCta variant="default" />

## Related guides

- [Understand format selection](/guides/yt-dlp-format-selection)
- [Save your defaults in a config file](/guides/yt-dlp-config-file)
- [Download part of a video](/guides/yt-dlp-download-sections)
- [Embed thumbnails and metadata](/guides/yt-dlp-embed-thumbnail-metadata)
- [Download playlists](/guides/download-playlists)
- [Download subtitles](/guides/download-subtitles)
- [Use output templates](/guides/yt-dlp-output-template)
- [Extract audio as MP3](/guides/extract-audio-mp3)