---
type: note
tags: [yt-dlp, convert, audio, mp3, github]
created: 2026-02-07T23:48:01.034+00:00
updated: 2026-04-06T11:07:10.05109+00:00
---# yt ~ Download a video, extract its audio, and convert it to MP3.

**URL:** [https://github.com/yt-dlp/yt-dlp](https://github.com/yt-dlp/yt-dlp)

yt | Download a video, extract its audio, and convert it to MP3. | ~yt-dlp yt -x --audio-format mp3 VIDEO_URL && ffmpeg -i "VIDEO_FILE.mp4" -vn -acodec copy "AUDIO_FILE.aac"

yt | Download a YouTube video and convert it to MP3. | ~yt-dlp yt -x --audio-format mp3 VIDEO_URL


---
**Keywords:** yt-dlp, convert, audio, mp3, github
