How to Convert YouTube to MP3 Legally
Learn the legal ways to get audio from YouTube videos. Covers YouTube Premium, the Audio Library, Creative Commons, Bandcamp, and what the courts have actually ruled.
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. Two federal district courts have treated YouTube's download protection as an access control under the DMCA, which is the federal law against circumventing technical measures, and the biggest converter sites have been sued into shutting down. The law is genuinely unsettled, and the appeal that would settle it has been sitting undecided since 2024.
There are real, legal ways to get audio from YouTube, or to find the same tracks somewhere else. Some are free. Some cost a few dollars. None involve sketchy websites covered in fake download buttons.
Use YouTube Premium for offline listening
YouTube Premium costs $15.99 a month in the US, up from $13.99 in April 2026, and lets you download videos and music for offline playback. Check the current figure before you sign up, because it has moved twice in three years. 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.
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. Google also states that these tracks will not be claimed by a rights holder through Content ID, which is the part that matters if the music is going behind a video you want to monetize.
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.
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 is a video whose uploader chose that license. YouTube does police it a little, since you can only mark a video CC BY if it is all content you are able to license, and a video carrying a Content ID claim cannot be marked CC BY at all. Treat it as a good signal rather than a guarantee, because somebody who mislabels a track they do not own cannot hand you rights they never had. 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.
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: On Bandcamp Fridays the platform waives its own revenue share, which normally leaves artists with 80 to 85% of the sale. Not quite everything reaches them even then, because Bandcamp says plainly that it cannot waive the payment processor fees. Eight of these were scheduled across 2026, so it is worth checking the next date if you are buying anyway.
Purchase tracks from Amazon or the iTunes Store
Both Amazon and Apple sell individual song downloads without DRM. Amazon Music sells MP3 files at 256 kbps variable bitrate. Individual songs usually land around a dollar and albums in the five to fifteen dollar range, though the exact prices move. Once you buy a track, you download it and own it outright. No subscription needed. On the Apple side you want the iTunes Store rather than Apple Music, and the difference is the whole point of this step. Apple's documentation says that every song the iTunes Store sells comes without DRM, as a 256 kbps AAC file Apple cannot revoke. Apple Music is the subscription, and its downloads stop playing when you stop paying, exactly like the YouTube Premium downloads in step 1. The store sits inside the Music app on desktop and in a separate iTunes Store app on iPhone. AAC is not technically MP3, but it plays on effectively everything made since the store dropped DRM in 2009. Pricing is similar to Amazon's. 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.
Understand the legal problem with converter sites
You will find hundreds of "YouTube to MP3" converter websites if you search for them. They are easy to use and free. They also put you on the wrong side of YouTube's terms, and on the legal theory two federal courts have now accepted, on the wrong side of the DMCA. 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. On 23 January 2026 a federal court in California let a DMCA circumvention claim go forward in Cordova v. Huneault, a fight between two YouTube channels over clips one had ripped from the other. The judge held that the channel owner had adequately pled that the rolling cipher effectively controls access under section 1201 of the DMCA, and that it makes no difference that the videos are public to watch. That was a ruling on a motion to dismiss, so it settles what can be argued rather than who wins, and nothing in it says fair use is unavailable as a defense to circumvention. This was not the first time the argument reached a court. In 2017, YouTube-MP3.org, the largest converter site at the time, was permanently shut down after settling with the RIAA. In 2022 a court in Connecticut threw out Yout.com's case at the pleading stage, holding the company had not shown that its service avoids circumventing YouTube's protections. The Second Circuit heard that appeal on 9 February 2024 and still had not ruled by April 2026, with the Electronic Frontier Foundation and GitHub backing Yout and the Copyright Alliance backing the RIAA. Until that decision lands, the central question here is formally open. 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 lost or settled every significant US case so far, and the one appeal that could change the picture is still undecided. 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 the iTunes Store is faster than hunting for a converter anyway. One caveat on all of the above. We are describing US law as it stood in September 2026, and this is information rather than legal advice. Other countries treat personal copying differently, and the Second Circuit ruling everyone is waiting on could shift where the line sits.
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 two federal district courts have now treated bypassing YouTube's technical protections as illegal circumvention under the DMCA, whether or not the audio is for personal, non-commercial use. Both of those decisions came at an early stage and one is on appeal, so the question is not finally settled, but the safe assumption is that it counts. 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. Courts in 2022 and 2026 have leaned the other way, treating YouTube's rolling cipher as a protection measure under the DMCA, though both of those decisions came at an early procedural stage and the 2022 one is still on appeal. 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. Matesanz settled in 2017, and the two sides jointly asked the court to enter judgment for the labels on every count, including DMCA circumvention. That makes it a consent judgment rather than a decision anyone fought to the end, so it says less about the law than the headlines suggested. He 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. That sidesteps the circumvention theory in the cases above, because you are not bypassing an access control. 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.