YT-DLP Command Generator

Enter a URL for download commands, or leave empty for utility/info commands only

Command Options
Select options to build your yt-dlp command

Print this help text and exit

Print program version and exit

Update this program to the latest stable version

Do not check for updates (default)

Upgrade/downgrade to a specific version. CHANNEL can be a repository as well. CHANNEL and TAG default to "stable" and "latest" respectively if omitted. Supported channels: stable, nightly, master. See "UPDATE" for details.

Example: nightly@2023.03.02

Ignore download and postprocessing errors. The download will be considered successful even if the postprocessing fails.

Incompatible with: Abort on error (Alias: --no-ignore-errors)

Continue with next video on download errors; e.g. to skip unavailable videos in a playlist (default)

Incompatible with: Abort on error (Alias: --no-ignore-errors)

Abort downloading of further videos if an error occurs

Incompatible with: Ignore errors (-i), Continue on error (default)

Display the current user-agent and exit

List all supported extractors and exit

Output descriptions of all supported extractors and exit

Extractor names to use separated by commas. You can also use regexes, "all", "default" and "end" (end URL matching); e.g. --ies "holodex.*,end,youtube". Prefix the name with a "-" to exclude it. Use --list-extractors for a list of extractor names.

Example: holodex.*,end,youtube

Use this prefix for unqualified URLs. E.g. "gvsearch2:python" downloads two videos from google videos for the search term "python". Use "auto", "auto_warning", "error", or "fixup_error" (default).

Example: ytsearch

Don't load any more configuration files except those given to --config-locations. For backward compatibility, if this option is found inside the system configuration file, the user configuration is not loaded.

Do not load any custom configuration files (default). When given inside a configuration file, ignore all previous --config-locations defined in the current file.

Location of the main configuration file; either the path to the config or its containing directory ("-" for stdin). Can be used multiple times and inside other configuration files.

Example: ~/.config/yt-dlp/config

Path to an additional directory to search for plugins. This option can be used multiple times to add multiple directories. Use "default" to search the default plugin directories (default).

Example: ./my_plugins

Clear plugin directories to search, including defaults and those provided by previous --plugin-dirs.

Do not extract a playlist's URL result entries; some entry metadata may be missing and downloading may be bypassed.

Incompatible with: Extract playlist videos (default)

Fully extract the videos of a playlist (default).

Incompatible with: Do not extract playlist videos (metadata only)

Download livestreams from the start. Currently experimental and only supported for YouTube and Twitch.

Incompatible with: Download livestreams from current time (default)

Download livestreams from the current time (default).

Incompatible with: Download livestreams from start

Wait for scheduled streams to become available. Pass the minimum number of seconds (or range) to wait between retries.

Example: 60-300

Incompatible with: Do not wait for scheduled streams (default)

Do not wait for scheduled streams (default).

Incompatible with: Wait for scheduled streams

Mark videos watched (even with --simulate).

Incompatible with: Do not mark as watched (default)

Do not mark videos watched (default).

Incompatible with: Mark videos as watched

Do not emit color codes in output. Better to use --color never.

Whether to emit color codes in output, optionally prefixed by the STREAM (stdout or stderr). Can be "always", "auto" (default), "never", or "no_color". Use "auto-tty" or "no_color-tty" for TTY-only decision. Can be used multiple times.

Example: stderr:always

Options that can help keep compatibility with youtube-dl or youtube-dlc configurations by reverting some of the changes made in yt-dlp. See "Differences in default behavior" for details.

Example: youtube-dl

Create aliases for an option string. Arguments are parsed according to Python string formatting. E.g. --alias get-audio,-X "-S aext:{0},abr -x --audio-format {0}". This option can be used multiple times.

Example: get-audio,-X "-S aext:{0},abr -x --audio-format {0}"

Applies a predefined set of options. E.g. --preset-alias mp3. Available presets: mp3, aac, mp4, mkv, sleep. This option can be used multiple times.

Force extraction to use the generic extractor

Local Settings
Configure paths for yt-dlp, FFmpeg, and downloads.

Configuration Tips

yt-dlp Path: Default is system yt-dlp

FFmpeg Path: Leave blank for system default

Specify full paths if not in system PATH

• Manually enter the absolute path to the executable or directory

Generated Command

Command will appear here
Quick Templates
Command Summary
No commands selected

About YT-DLP

YT-DLP is a command-line program to download videos from YouTube and many other sites. It's a fork of youtube-dl with additional features and fixes.

I created this command generator because I often forget the exact syntax for various download options. This tool helps me (and hopefully you) quickly generate the right command for any download scenario.

Whether you're downloading videos, extracting audio, or grabbing entire playlists, this tool will help you generate the correct command without having to remember all the options.

Key Features of YT-DLP

  • Download videos from YouTube and 1000+ other sites
  • Extract audio in various formats (MP3, M4A, etc.)
  • Download entire playlists or channels
  • Select specific video quality and format
  • Download with subtitles and metadata
  • Faster downloads compared to youtube-dl
  • Regular updates and active maintenance