type youtube-dl type youtube-dl -- audio-format mp3 code example Example: youtube-dl mp3 only youtube-dl -x --audio-format mp3 <youtube-link>