Windows 11/10 · Requires FFmpeg · Copy-paste commands
Download YouTube audio as MP3 with embedded artwork and tags. Works for single videos, playlists, and channels. Requires FFmpeg for conversion.
Recommended command
This one command handles everything: converts to MP3, embeds cover art and ID3 tags.
yt-dlp -x --audio-format mp3 --audio-quality 0 --embed-thumbnail --embed-metadata "VIDEO_URL"
What each flag does
-x — extract audio only--audio-format mp3 — convert to MP3--audio-quality 0 — highest VBR quality--embed-thumbnail — embed cover art--embed-metadata — embed ID3 tagsRequirements
ffmpeg.exe must be in the same folder as yt-dlp.exe--audio-quality 0 for the best possible output from what's available.
More options
Copy and paste into PowerShell. Replace the URL with your video or playlist link.
yt-dlp -x --audio-format mp3 --audio-quality 192K --embed-thumbnail --embed-metadata "VIDEO_URL"
yt-dlp -f ba -x --audio-format best "VIDEO_URL"
yt-dlp -x --audio-format mp3 --audio-quality 0 --embed-thumbnail --embed-metadata --yes-playlist -o "%(playlist_index)02d-%(title)s.%(ext)s" "PLAYLIST_URL"
yt-dlp -a links.txt -x --audio-format mp3 --audio-quality 0 --embed-thumbnail --embed-metadata
yt-dlp -x --audio-format mp3 --audio-quality 0 -o "C:/Music/%(artist,channel)s/%(title)s.%(ext)s" "VIDEO_URL"
Tips
%(title)s — video title%(artist)s — artist (if available)%(channel)s — channel name%(playlist_index)02d — zero-padded track number%(ext)s — file extension (mp3)Add this to any command to skip files you've already converted — useful for large playlists:
--download-archive downloaded.txt
Creates a log file and skips entries on re-runs.
FAQ
-f ba -x --audio-format best to keep the original Opus stream without re-encoding.--embed-thumbnail --embed-metadata in the command. Without FFmpeg, yt-dlp cannot write artwork or ID3 tags. See the FFmpeg setup guide.--yes-playlist if yt-dlp asks to confirm, and use -o "%(playlist_index)02d-%(title)s.%(ext)s" for numbered, sorted filenames.-o "C:/Music/%(title)s.%(ext)s" to control the output path. Forward slashes work on Windows.links.txt) with one URL per line, then run yt-dlp -a links.txt -x --audio-format mp3 --audio-quality 0.