Skip to content

Download YouTube video to mp3

  • by

We already covered how-to download complete videos in this post. Now we are going to focus on downloading only the audio stream from a YouTube video. Again we are using youtube-dl for this which is available on this github page.

Once downloaded browse to the folder and start a command prompt. Check this post if you want to know how. Then type the following command

youtube-dl.exe -x --audioformat mp3

The -x is short for –extract-audio which indicates you only want the audio stream. The –audioformat lets you choose in which format you want the audio file. There are several formats available:”aac”, “flac”, “mp3”, “m4a”, “opus”, “vorbis”, or “wav.

It also possible to download the metadata. Then add the option –add-metadata to the command.

For a full list off available commands and parameters check the github page. Let me know in the commands if you want more information.


Leave a Reply

Your email address will not be published. Required fields are marked *