yt-dlp -o '%(title)s.%(ext)s' 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'

Category: Media & Conversion

yt-dlp -o '%(title)s.%(ext)s' 'https://www.youtube.com/watch?v=dQw4w9WgXcQ'

Save with the video title as filename

Names the output file with the video's title and extension. %(title)s and %(ext)s are output template fields, and hundreds exist, like %(id)s and %(uploader)s. Without -o, yt-dlp uses this pattern by default.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.