Sometimes you don't need the video, just the sound. A podcast that only lives on YouTube. A lecture you'd rather hear on your commute. A beat you want to sample in your music software.

YouTube doesn't make that easy. Background play sits behind Premium, and Premium downloads only play inside the YouTube app. So you go looking for a converter and land on a page with five "Download" buttons, most of them ads.

The good news: you can download audio from YouTube in a few clicks once you pick the right tool. We tested four ways to do it, from a desktop app to a free command-line tool, and checked each one for audio quality, speed and safety. Here's what we found.

TL;DR

  • Fastest way: paste the video link into a desktop downloader like SnapDownloader, choose MP3 or M4A, and download. It's paid, with a free trial, and runs on Windows and Mac.
  • Free option: yt-dlp does the same job from the command line, if you're comfortable typing commands.
  • Can't download it? Record the audio as it plays with Audacity. It's slower, but it works almost anywhere.
  • Skip most online converters. Pop-up ads, fake buttons and length limits make them the riskiest option.
  • Which format: M4A usually keeps YouTube's original audio without compressing it again. MP3 is the safe bet if it has to play on everything.

What you actually get when you download YouTube audio

Before you pick a method, it helps to know one thing: YouTube's audio is already compressed. Every video streams its sound as a separate, lossy audio track, usually AAC or Opus at around 128 to 160 kbps. That's decent. On earbuds or laptop speakers, most people won't notice anything missing. But it isn't lossless, and nothing you do afterwards can make it lossless.

Here's why that matters. When a tool saves YouTube audio in another format, one of two things happens:

  • It keeps the original audio and just saves it as a file. You get exactly what you heard on YouTube.
  • It re-encodes it into a new format. That's a second round of compression on top of the first. For MP3 the loss is small, but it's real.

So which format should you choose?

  • M4A: often the closest to YouTube's original, since YouTube already streams AAC. It plays on iPhone, Mac and most music players and editing apps. About 1 MB per minute.
  • MP3: plays on pretty much everything, from old car stereos to cheap MP3 players. Expect a slight extra quality loss from re-encoding. About 1.5 MB per minute at 192 kbps.
  • WAV: uncompressed. It won't sound better than the YouTube original, but it won't lose anything more either, and every audio and video editor opens it. The files are huge: roughly 10 MB per minute.
  • FLAC: like WAV, but compressed without any loss, so the files are smaller (often around half the size). Again, no better than the source.

Our take: pick M4A if you just want to listen, MP3 if it has to play on an older device, and WAV if you're dropping it into editing software. Skip FLAC unless your app specifically asks for it. You'd get bigger files with no difference you can hear.

How we tested

We took one video and ran it through all four methods on the same computer and the same internet connection.

For each method, we looked at:

  • Audio quality: does the file keep YouTube's original audio, or re-encode it? We checked the format and bitrate of every file using MediaInfo.
  • Speed: how long it takes from pasting the link to having a file you can play.
  • Ease of use: how many steps it takes, and whether someone non-technical could do it without a tutorial.
  • Safety: pop-ups, redirects, fake download buttons, bundled extra software, or anything our antivirus flagged.
  • Cost: free, free with limits, or paid.
  • Extras: playlists, batch downloads, trimming, and which devices it runs on.

We also went through each tool's documentation and current pricing page, so the details below are up to date at the time of writing.

One more thing. SnapDownloader is our product, so we held it to the same checklist as everything else. Where it falls short, we'll say so.

The 4 ways to download YouTube audio at a glance

Method

Best for

SnapDownloader

Most people who want it done in a few clicks

yt-dlp

People comfortable with a command line

Audacity (recording)

Audio no downloader can grab

Online converters

One quick file on a borrowed computer

Method 1: Extract audio from YouTube with SnapDownloader

Use this if you download audio more than once in a while, you want to pick the format yourself, or you need a whole playlist without babysitting it. It's the method with the fewest steps, and there's nothing to type.

1. Download SnapDownloader for Windows or Mac and install it.

Try SnapDownloader for Free

2. Copy the YouTube link: Use the address bar, or click Share under the video and then Copy.

3. Paste the link into SnapDownloader.

4. Choose Audio as the output type, then pick a format: MP3, M4A, WAV or FLAC.

5. Click Download.

Download audio from a whole playlist

Paste the playlist link instead of a single video's link. SnapDownloader lists every video in it, so you can untick the ones you don't want, pick one audio format for all of them, and start the download.

It's the same idea we cover in our guide to converting a YouTube playlist to MP3.

Save just part of a video

Only need the first five minutes of a podcast, or one song from a two-hour live set? Use the trim option before downloading and set a start and end time. You get a smaller file and skip the editing later. More on this in how to cut YouTube videos.

Download several videos at once

Use bulk download to paste in several links at once and convert them all to the same audio format in one go. It's handy when you're building a playlist for a road trip or a workout.

Method 2: Rip YouTube audio for free with yt-dlp

Use this if you're comfortable typing commands and want something free. yt-dlp is the open-source tool a lot of online downloaders are built on. It's powerful, it's actively maintained, and it costs nothing.

But there's no window and no buttons. Just a terminal.

1. Install yt-dlp and FFmpeg (yt-dlp needs FFmpeg to convert audio).

  • On a Mac with Homebrew, run brew install yt-dlp ffmpeg.
  • On Windows, download both from their official pages: yt-dlp on GitHub and FFmpeg.

2. Open Terminal (Mac) or Command Prompt (Windows).

3. Run one of these, swapping in your video's link:

To save an MP3:

yt-dlp -x --audio-format mp3 --audio-quality 0 "VIDEO_LINK"

To keep YouTube's original AAC audio as an M4A, with no re-encoding:

yt-dlp -f "bestaudio[ext=m4a]" "VIDEO_LINK"

To grab only part of a video (here, 1:30 to 2:45):

yt-dlp -x --audio-format mp3 --download-sections "*1:30-2:45" "VIDEO_LINK"

Paste a playlist link instead of a video link, and yt-dlp works through the whole playlist.

The catch: YouTube changes things often, and yt-dlp has to keep up. When downloads suddenly fail, update it first (yt-dlp -U, or brew upgrade yt-dlp on a Mac). And if a typo in a command makes you nervous, this isn't the method for you.

Method 3: Record audio from YouTube with Audacity

Use this if nothing else works. Instead of downloading the file, you record your computer's sound while the video plays. It's the old-school way, and it's slow. But it works on almost anything you can hear.

1. Download Audacity. It's free for Windows, Mac and Linux.

2. Set it up to record your computer's sound:

  • Windows: in the toolbar, set the audio host to Windows WASAPI and choose your speakers or headphones marked (loopback) as the recording device.
  • Mac: macOS doesn't let apps record system sound directly. Install a free virtual audio driver like BlackHole, send your Mac's output to it, and pick it as Audacity's recording device.
  • Mute notifications and close anything else that makes noise.
  • Click Record in Audacity, then play the YouTube video.
  • When it ends, click Stop, trim the silence at both ends, and go to File > Export Audio to save it as MP3, WAV or another format.

Method 4: Online YouTube audio converters

Use this if you need one file, once, on a computer where you can't install anything.

Online converters are everywhere, and the process is about as simple as it gets. However, many are filled with ads and popups, some of which can be malicious, so stay cautious when using online downloaders.

1. Copy the YouTube video's link.

2. Paste it into ytmp3.gg.

3. Pick MP3 and click Convert.

That last step is where things go wrong. Let's be honest, most of these sites make their money from ads, and the ads are designed to look like the real download button.

Click the wrong one and you'll get a pop-up, a redirect to a sketchy page, or a prompt to "allow notifications" that fills your screen with spam for weeks.

If you do use one:

  • Run an ad blocker.
  • Never click Allow on a notification prompt.
  • Never install anything the site suggests. You should get an audio file, not an .exe or a browser extension.

The catch: besides the ads, most converters only offer MP3 at a fixed bitrate, cap video length, and change domains every few months when they get blocked.

We've tested a couple of the popular ones in detail: see is Y2Mate safe? and is YTMP3 safe?

So which method should you actually pick?

There's no single winner. It comes down to how often you do this and how much fiddling you're willing to put up with.

  • If you download audio regularly, or need playlists: SnapDownloader. A few clicks, your choice of format, no ads.
  • If you're comfortable in a terminal and want it free: yt-dlp. It's the most flexible option on this list.
  • If the audio comes from somewhere no downloader supports: record it with Audacity, and budget the time it takes.
  • If you need one file, once, on a computer you can't install anything on: an online converter, with an ad blocker on and your guard up.
  • If you're on an iPhone or Android: download on a computer first, then move the file to your phone. More on that in the FAQ below.

Whatever you pick, the format matters as much as the tool. When in doubt, M4A to listen, MP3 for older devices, WAV for editing.

Frequently asked questions

How do I extract audio from a YouTube video?

Copy the video's link, paste it into a downloader like SnapDownloader or yt-dlp, choose an audio format, and download. The tool saves only the sound, so you never have to download the full video first.

Can I download just the audio, without the video?

Yes. YouTube stores the audio as a separate track, so downloaders can grab only that part. The file is much smaller and downloads faster than the full video.

What's the best audio format for YouTube downloads?

M4A for everyday listening, since it's usually closest to YouTube's original. MP3 if it needs to play on older devices, and WAV if you're editing. For a deeper dive into MP3 tools, see our list of the best YouTube to audio converters.

Can I download YouTube audio on an iPhone or Android?

Not with SnapDownloader, which runs on Windows and Mac only. Download the file on your computer, then move it to your phone with AirDrop, the Files app, a cable or cloud storage. YouTube Premium and YouTube Music downloads only play inside their own apps, so you can't use them as audio files.

Is it legal to download audio from YouTube?

YouTube's terms only allow downloads through the features YouTube itself provides, and copyright rules vary by country. Stick to your own uploads, audio you have the owner's permission to use, or content licensed for reuse, like Creative Commons or royalty-free music. This isn't legal advice.

Does YouTube Music have lossless audio?

Not at the time of writing. Premium subscribers can choose a higher-quality stream, but it's still compressed. So converting YouTube audio to WAV or FLAC won't make it lossless either.

Get the audio, skip the hassle

If you grab audio from YouTube more than once in a while, a desktop downloader saves you a lot of clicking, and a lot of dodging fake buttons. SnapDownloader saves YouTube audio as MP3, M4A, WAV or FLAC, handles whole playlists, and lets you trim before you download. Want MP3 specifically? Our guide to converting YouTube videos to MP3 goes deeper.

Try SnapDownloader for Free