Pick the method that fits how technical you want to get

There are four real ways to get music off YouTube into a file you can keep, plus one route (Premium) that gives you offline listening but not an actual file. They trade off convenience, control, and how much setup you are willing to do. This guide walks through all of them honestly, including the parts the "top 10 tools" listicles leave out.

One thing that applies to every method, so we will say it once up front: you cannot pull more quality out of a YouTube track than YouTube stored in the first place. YouTube's audio streams top out around 128 to 256 kbps in the AAC/Opus range. That is the ceiling. A tool that promises "320 kbps HD" from a 128 kbps source is either padding the file with empty bits or lying. Converting a lossy YouTube track to FLAC or WAV makes a much bigger file, not a better-sounding one. Keep that in mind no matter which route you take.

And a quick legal note, covered in full in our piece on whether downloading music from YouTube is illegal: downloading breaks YouTube's terms, and copyrighted tracks are a copyright gray area. These methods are cleanest when you use them on Creative Commons music, public-domain audio, or your own uploads.

Free: the Audio Quality Cheat Sheet. 128 vs 320 vs FLAC, and exactly which format to pick for your phone, car, or DJ set, on one page you can keep. Instant download.

Get the free cheat sheet →

Converting? Do it privately. Ad-heavy converter sites can log your IP address. NordVPN hides your connection, keeps you safe on public Wi-Fi, and unlocks music and podcasts that are region-locked where you live.

Try NordVPN →

The methods at a glance

MethodBest forSetupCostQuality ceiling
Online converter (this site)One track, zero installNoneFreeSource-limited, up to 320 kbps container
yt-dlp (command line)Batches, archiving, controlModerateFreeBest available source stream
Desktop appRepeat use, a friendly windowInstallFree / paid tiersBest available source stream
YouTube Premium offlineListening in the app, legallyAppPaid256 kbps AAC, DRM-locked
Screen recordingLast resort, live audioSomeFreeRe-encoded, lossy again

Method 1: Online link converters (the fast way)

If you want one song and you do not want to install anything, an online converter is the least-friction option. You copy the YouTube URL, paste it into a web tool, pick a format, and download the file. No account, no software, works the same on Windows, Mac, a Chromebook, or a phone.

Here is the step-by-step with our own tool:

  1. On YouTube (or YouTube Music), open the track and copy its URL from the address bar or the Share button.
  2. Go to our YouTube Music to MP3 converter and paste the link.
  3. Choose your format and quality. MP3 at 256 or 320 kbps is the sensible default for music. If you want other formats, we also do YouTube to FLAC, YouTube to WAV, and YouTube to AAC.
  4. Download the file. It saves straight to your device.

Pros: nothing to install, works on any device, genuinely free, fine for one-off grabs. Cons: it is one track at a time unless you use a dedicated playlist downloader, it needs a connection each time, and, like every online tool, its output quality is capped by the source. Being clear about that ceiling is the whole reason we wrote it into this page.

What an online converter does not do, despite what some competitors imply, is "unlock" or "crack" anything. It reads the track's details, fetches a matching copy from an openly available source, and transcodes it. That is it. There is no secret way to conjure a lossless master out of a compressed stream.

Method 2: yt-dlp (the power-user standard)

If you download music from YouTube often, or you want whole channels and playlists, yt-dlp is the tool serious people use. It is a free, open-source command-line downloader, the actively maintained successor to youtube-dl, and it is what the archiving community on r/DataHoarder reaches for by default. It is not point-and-click, but it is the most capable and the most honest about quality, because you can tell it to grab the exact best audio stream YouTube has.

You need two things installed: yt-dlp itself and ffmpeg (yt-dlp uses ffmpeg to convert the audio). On the yt-dlp GitHub the recommended install is via pip or a package manager, and the docs are explicit that audio extraction "requires ffmpeg and ffprobe."

The basic command to grab a track and convert it to MP3:

yt-dlp -x --audio-format mp3 "VIDEO_URL"

Here -x (short for --extract-audio) strips out the audio, and --audio-format mp3 sets the output. A more complete command that sets quality and embeds tags and cover art:

yt-dlp -x --audio-format mp3 --audio-quality 0 --embed-metadata --embed-thumbnail "VIDEO_URL"

--audio-quality takes a value from 0 (best) to 10 (worst) for variable bitrate, or a fixed rate like 192K. --embed-metadata writes the title and artist into the file, and --embed-thumbnail uses the video thumbnail as cover art. To pull an entire playlist, just hand it a playlist URL instead of a single video.

Pros: total control, batch downloads, the genuine best-available audio, free, no ads, no dark patterns, cross-platform. Cons: it is a command line, so there is a learning curve; you have to install ffmpeg; and it occasionally needs an update when YouTube changes something on its end. For anyone comfortable in a terminal, it is the best tool on this list, full stop.

Method 3: Desktop apps (a friendly window over the same idea)

If you want repeat downloads but not a command line, a desktop app is the middle ground. These give you a normal window: paste a link, pick a format, click download. Several are widely used and worth naming honestly.

4K Video Downloader is one of the most popular. It handles individual tracks and playlists, extracts audio to MP3, M4A, or OGG, and has a clean interface. It is free for a capped number of items per day, with a paid license to lift the limit. MediaHuman YouTube to MP3 Converter is a free, audio-focused app that does one job (URL to MP3/M4A/OGG) and does it without much fuss. Both are essentially graphical front ends over the same download-and-transcode process yt-dlp does; they trade some of yt-dlp's raw flexibility for a button you can click.

Pros: no terminal, good for playlists and repeat use, downloads are saved locally so you are not re-uploading anything. Cons: you install software (be sure you get it from the official site, not a lookalike), free tiers often cap how much you can grab, and some bundle upsells. The quality ceiling is still the source stream.

Method 4: YouTube Premium offline (legal, but not a real file)

This is the route the "how to download YouTube music legally" articles push, and it deserves an honest description rather than a sales pitch.

With a YouTube Music Premium subscription you can download songs, videos, and podcasts for offline playback inside the app. YouTube's own support docs confirm two limits that matter: you need Premium, and you have to "reconnect to the internet at least once every 30 days to maintain your downloads." Those downloads are DRM-protected. They play only inside the YouTube Music app, on the device you downloaded them to. You cannot copy the file to a USB stick, drop it into a video project, burn it to a CD, or move it to an MP3 player, because there is no loose file to move.

So Premium is the fully legitimate, no-gray-area way to listen offline. But it is a license, not ownership. Stop paying, or go 30 days offline, and the music is gone. If what you want is a standalone MP3 you actually own and control, Premium is not that. This gap is exactly why standalone converters exist.

Method 5: Recording the audio (the last resort)

You can also just record the audio as it plays, using software that captures your computer's sound output (or a tool like Audacity with a loopback input). People reach for this when nothing else works, or to grab a live stream.

Be clear-eyed about it. Recording plays the compressed stream and then re-encodes it, so you are adding a second round of lossy compression on top of the first. The result is worse than the source, not equal to it. It is also slow (real-time, since you are literally recording playback) and fiddly to set up. Use it only when you have no better option.

Browser extensions: why we are skipping them

You will see plenty of "download" buttons and browser add-ons promising one-click YouTube-to-MP3. We are not recommending a specific one, and here is the blunt reason. This category has a long, ugly history of adware, injected trackers, and outright malware, and the stores that host them regularly pull ones that turn out to be sketchy. Because an extension runs inside your browser with access to what you do there, a bad one is a real privacy problem, not a minor annoyance. If an extension is doing anything an online converter or desktop app can do more safely, there is no reason to take on the extra risk. The Reddit threads on YouTube downloading say the same thing over and over: people who know the space steer newcomers toward yt-dlp or a reputable web tool and away from random extensions.

What most people should actually use

If you want the honest recommendation instead of a hedge:

Grab one song now and never think about it again? Use an online converter. It is the least effort and it is free.

Download music regularly, or archive playlists and channels, and you are okay with a terminal? Install yt-dlp. Nothing else gives you the same control or quality.

Want repeat downloads with a normal window and no command line? A desktop app like 4K Video Downloader or MediaHuman.

Just want to listen offline without any legal worry, and you do not need a portable file? YouTube Music Premium.

Whichever you pick, keep the quality ceiling in mind, download the things you have the right to (see the legality explainer), and do not pay for a tool that claims to do something impossible. When you are ready, our YouTube Music to MP3 converter is the quickest way to start, and the convert YouTube Music hub links every format and tool we offer.

Ready to grab a track? Paste a YouTube Music link and download a clean MP3, free, no install.

Convert YouTube Music to MP3 →

Frequently Asked Questions

What is the easiest way to download music from YouTube?

An online link converter. You copy the video URL, paste it into a web tool like our YouTube Music to MP3 converter, choose MP3, and download. There is nothing to install and it works on any device, which makes it the lowest-effort option for a single track.

What is the best free tool to rip music from YouTube?

For control and quality, yt-dlp is the best free option, which is why archivists on r/DataHoarder default to it. It needs the command line and ffmpeg installed. If you want something free without a terminal, a desktop app like MediaHuman or the free tier of 4K Video Downloader does the job.

What quality can I actually get?

Whatever YouTube stored, and no more. YouTube's audio tops out around 128 to 256 kbps (AAC or Opus). A converter can put that into a 320 kbps MP3 container, but it cannot add detail the source never had. Any tool advertising "HD lossless" audio from a YouTube video is overselling.

How do I download a whole playlist at once?

yt-dlp handles it natively: give it the playlist URL instead of a single video. Desktop apps like 4K Video Downloader also support playlists. Online, use a dedicated YouTube Music playlist downloader rather than pasting links one by one.

Can I download from YouTube Music with Premium and keep the files?

No. Premium offline downloads are DRM-locked, play only inside the YouTube Music app, and expire after 30 days offline. They are a license to listen, not files you own. For a standalone MP3 you can move around, you need a converter or downloader instead.

Is it safe to use browser extensions for this?

Often not. This category has a long track record of adware and malware, and app stores frequently remove offenders. An online converter or a reputable desktop app does the same job with far less risk to your browser and your data.

Sources