Tech & Digital 8 min read Easy 6 steps

How to Convert YouTube to MP3 Legally

Learn the legal ways to get audio from YouTube videos. Step-by-step guide covering YouTube Premium, Audio Library, Creative Commons, Bandcamp, and why converter sites are illegal.

Published · Last updated
Black wireless headphones beside a MacBook Pro on a wooden desk

We have all been there. You hear something on YouTube and want to save the audio. Maybe it is a song you keep replaying, a podcast episode for your commute, or background music for a video you are editing.

The first thing that comes up when you search for a solution is a free converter site. Paste the link, click a button, get an MP3. It feels harmless. But the legal ground under those tools has been collapsing for years. YouTube's terms of service prohibit third-party downloading. U.S. courts have ruled that bypassing YouTube's technical protections violates federal law. Major converter sites have been sued and shut down.

The good news is there are real, legal ways to get audio from YouTube or find the same tracks elsewhere. Some are free. Some cost a few dollars. None involve sketchy websites covered in fake download buttons.

1

Use YouTube Premium for offline listening

YouTube Premium costs $13.99 per month and lets you download videos and music for offline playback. Downloads work within the YouTube app on mobile and through Chrome, Edge, Firefox, and Opera on desktop. This is the closest thing to "converting YouTube to MP3" that YouTube actually allows. You can save entire playlists, albums, or individual videos and listen without an internet connection. The catch is that downloads are not MP3 files you can move around. They stay encrypted inside the app. You need to reconnect to the internet at least once every 29 days or your downloads expire. Cancel your subscription and the downloads disappear entirely. It is not a perfect solution, but it is the only method that works with copyrighted content directly on YouTube without breaking any rules.

Good to know: YouTube Music, included with Premium, lets you switch to audio-only mode. If you just want the music without the video, this saves battery and data on mobile.

2

Download free tracks from the YouTube Audio Library

If you need music or sound effects for a project, the YouTube Audio Library is completely free and completely legal. You do not even need a Premium subscription. Go to YouTube Studio and click "Audio Library" in the left menu, or go directly to youtube.com/audiolibrary. Browse thousands of royalty-free tracks and sound effects. When you find one you like, click the download button to get an MP3 file. Tracks come under two license types. The standard YouTube Audio Library license lets you use the music without crediting the artist. Tracks marked with a Creative Commons Attribution license require you to credit the artist in your video description. This is the only way to get an actual MP3 file directly from YouTube without any legal gray area.

Good to know: Filter by genre, mood, instrument, and duration to find exactly what you need. The library has thousands of tracks and gets updated regularly.

3

Search for Creative Commons content on YouTube

Some YouTube creators license their videos under Creative Commons Attribution (CC BY), which means you can legally reuse, redistribute, and adapt their content as long as you credit the original creator. To find CC BY videos, run a search on YouTube, click "Filters," and under "Features" select "Creative Commons." Every result will be licensed for reuse. When you use CC BY content, include the title of the work, the author's name, a link to the source, and a note that it is licensed under CC BY. You can add this in a video description, a text overlay, or a voiceover. Keep in mind that most YouTube videos use the standard YouTube license, not Creative Commons. The CC BY filter narrows results significantly. You will find more educational, ambient, and independent content than mainstream music.

4

Buy DRM-free MP3s from Bandcamp

If you want to actually own an MP3 of a specific song, Bandcamp is the best option. Artists sell directly to fans, and every download is 100% DRM-free. That means no app required, no expiration date, and no restrictions on how you use the file. You download it, you own it. Bandcamp offers MP3, FLAC, WAV, AAC, and other formats with every purchase. Many artists let you name your price, and some tracks are available for free. Indie, electronic, ambient, and hip-hop catalogs are especially deep, but you will find artists across every genre.

Good to know: Bandcamp Fridays, held periodically throughout the year, waive the platform's revenue share so artists get 100% of your purchase. It is the best day to buy if you want to support the creator directly.

5

Purchase tracks from Amazon Music or Apple Music

Both Amazon and Apple sell individual song downloads without DRM. Amazon Music sells MP3 files at 256 kbps variable bitrate. Songs typically cost $0.99 to $1.29 each, and albums range from around $5 to $15. Once you buy a track, you download it and own it outright. No subscription needed. Apple Music sells individual tracks as 256 kbps AAC files, also DRM-free. AAC is not technically MP3, but it plays on virtually every device and app made in the last 15 years. Pricing is similar. Both platforms let you download purchased music to any device. No app lock-in, no expiration, no recurring fees. If the song you heard on YouTube is from a known artist, there is a good chance you can buy the actual studio version for about a dollar.

6

Understand why converter sites are not legal

You will find hundreds of "YouTube to MP3" converter websites if you search for them. They are easy to use and free. They are also illegal under current U.S. law. YouTube's Terms of Service explicitly prohibit downloading content through third-party tools. But the legal issue goes deeper than a terms-of-service violation. YouTube uses a technology called a "rolling cipher" to control access to its video streams. In early 2026, a federal court ruled in Cordova v. Huneault that bypassing this cipher violates the DMCA, the federal law that prohibits circumventing technological protection measures. The court explicitly stated that fair use is not a defense. This was not the first ruling. In 2017, YouTube-MP3.org, the largest converter site at the time, was permanently shut down after settling with the RIAA. In 2022, Yout.com lost a similar case. That ruling is currently on appeal, with the Electronic Frontier Foundation and GitHub filing briefs arguing the lower court went too far. Beyond the legal issues, converter sites are often loaded with malware, misleading download buttons, and aggressive pop-ups. Many harvest user data or bundle unwanted software with downloads.

Heads up: Using a converter site does not just violate YouTube's terms of service. Under recent court rulings, it potentially violates federal copyright law. The fact that a video is publicly viewable does not make it legal to download through unauthorized tools.

The honest answer is that there is no free, legal, one-click way to rip any YouTube video into an MP3. The converter sites that promise exactly that have been on the losing side of every major court case in the last decade. But you are not out of options. YouTube Premium handles offline listening for copyrighted music. The Audio Library gives you actual MP3 downloads of royalty-free tracks. Bandcamp sells DRM-free files directly from artists. And if you just want a specific song, buying it for a dollar from Amazon or Apple is faster than hunting for a converter anyway.

Questions we get asked about this

Answers from experience, not a textbook.

In most cases, yes. YouTube's Terms of Service prohibit downloading content through unauthorized tools. And under the DMCA, U.S. courts have ruled that bypassing YouTube's technical protections to download videos constitutes illegal circumvention, regardless of whether you plan to use the audio for personal, non-commercial purposes. The legal exceptions are content you have explicit permission to download, Creative Commons licensed videos, and tracks from the YouTube Audio Library.

These are open-source command-line tools that can download YouTube videos. In 2020, the RIAA filed a DMCA takedown against youtube-dl on GitHub. The Electronic Frontier Foundation argued that the tool does not violate the DMCA because YouTube's streams are not encrypted in the traditional sense, and GitHub reinstated the repository. However, this was not a court ruling. It was a DMCA takedown dispute resolved through GitHub's internal review. Subsequent court decisions in 2022 and 2026 have moved in the opposite direction, finding that YouTube's rolling cipher does qualify as a protection measure under the DMCA. The tools remain available on GitHub, but using them to download copyrighted content carries legal risk.

YouTube-MP3.org was the world's largest YouTube-to-MP3 converter site, operated by Philip Matesanz. In 2016, the RIAA sued on behalf of major record labels. The court ruled in favor of the labels on all counts, including DMCA circumvention. Matesanz settled in 2017, was permanently banned from operating any stream-ripping service, and had to transfer the domain to the RIAA. The site has been offline ever since.

Screen recording captures the audio output of your device rather than downloading from YouTube's servers. This avoids the DMCA circumvention issue because you are not bypassing any access controls. However, recording copyrighted audio still raises copyright infringement concerns under separate provisions of copyright law. The audio itself is still protected, and making an unauthorized copy is not automatically legal just because you used a different capture method. For royalty-free or Creative Commons content, screen recording is a perfectly fine option.

If a creator explicitly states that their content is royalty-free or licenses it under Creative Commons, you have permission to use the audio. But you still need to follow the specific license terms. Creative Commons Attribution requires you to credit the creator. And "royalty-free" does not always mean "free to download by any means." Check the video description for license details and download links. Many royalty-free music creators provide direct downloads or upload to platforms like Bandcamp where you can get the files legally.

Like this?

We write one of these every week.

Subscribe for one useful thing a week. Read it over coffee, skip the rest.