What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.

For a local audio file, use yt-dlp with FFmpeg on a video you own or are authorized to save. The basic command is yt-dlp -x --audio-format mp3 "YOUTUBE_URL". YouTube Premium downloads are for offline playback inside YouTube; they are not MP3 files you can export to another app. Before downloading, check both your rights to the material and YouTube’s Terms of Service.

First, choose the right kind of download

“Extracting audio” can mean a few different things: downloading a video’s media, saving only its audio track, converting that audio into a format such as MP3, or recording playback from your computer. For a local file, yt-dlp can select or download the audio and FFmpeg can extract or convert it. Recording playback is usually less convenient and may reduce quality.

What you need Best fit What to expect
Listen offline without managing files YouTube Premium offline mode, where available Playback stays within YouTube; it is not an exportable audio file.
Audio from a video you uploaded Download the video through YouTube Studio, then extract its audio locally YouTube provides an official creator download route, with some restrictions.
An authorized local audio file yt-dlp plus FFmpeg More control over format, filenames and sections, but requires setup.
A graphical workflow A reputable desktop application with a current yt-dlp/FFmpeg backend Check the vendor, update cadence and bundled software before installing.

YouTube’s app does not generally provide a “download MP3” feature. Premium offline downloads are app-bound rather than ordinary files for Finder, File Explorer, an SD card or an editor. See YouTube’s offline-download help.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check permissions before saving or reusing audio

Only download material you own, have permission to use, or are otherwise legally authorized to save. A personal copy does not by itself grant permission to repost, sell, remix, publicly perform or distribute the audio. Copyright rules vary by country and by the material involved; fair use and similar exceptions are fact-specific, not blanket permission. YouTube’s terms and copyright law are separate considerations, and satisfying one does not necessarily satisfy the other.

#1 Best Overall
Focusrite Scarlett Solo 3rd Gen USB-C Audio Interface
  • Pro performance with great pre-amps - Achieve a brighter recording thanks to the high performing mic pre-amps of the Scarlett 3rd Gen. A switchable Air mode will add extra clarity to your acoustic instruments when recording with your Solo 3rd Gen
  • Get the perfect guitar and vocal take with - With two high-headroom instrument inputs to plug in your guitar or bass so that they shine through. Capture your voice and instruments without any unwanted clipping or distortion thanks to our Gain Halos
  • Studio quality recording for your music & podcasts - Achieve pro sounding recordings with Scarlett 3rd Gen’s high-performance converters enabling you to record and mix at up to 24-bit/192kHz. Your recordings will retain all of their sonic qualities
  • Low-noise for crystal clear listening - 2 low-noise balanced outputs provide clean audio playback with 3rd Gen. Hear all the nuances of your tracks or music from Spotify, Apple & Amazon Music. Plug-in headphones for private listening in high-fidelity
  • Everything in the box: Includes Pro Tools Intro+, Ableton Live Lite, Cubase LE, and Hitmaker Expansion: a suite of essential effects, powerful software instruments, and easy-to-use mastering tools

If the video is yours, YouTube Studio is a supported starting point: YouTube explains how to download your uploaded videos. Downloads are subject to limitations, including certain strikes, removals and licensed audio, and a limit of five downloads per video in a 24-hour period. Once you have the authorized video file, use FFmpeg or an audio editor to extract its soundtrack.

Use yt-dlp and FFmpeg for a local audio file

yt-dlp is a free, open-source command-line downloader. FFmpeg provides the tools yt-dlp needs for audio extraction and conversion; yt-dlp’s audio-extraction options require both ffmpeg and ffprobe. Install yt-dlp from its official installation guide and FFmpeg from the official FFmpeg project or a reputable build linked there. Make sure the executables are on your system’s PATH, or put them somewhere yt-dlp can find them.

Windows

  1. Get yt-dlp from its official releases.
  2. Install FFmpeg and ensure both ffmpeg.exe and ffprobe.exe are available. You can place them in the same folder as yt-dlp.exe or add their folder to PATH.
  3. Open PowerShell or Command Prompt in that folder and run:
     .yt-dlp.exe -x --audio-format mp3 "YOUTUBE_URL"
  4. Look for the finished file in the current folder. In PowerShell, the . prefix (written as . in the command above) runs an executable from the current directory.

Use this clean command without any leading space inside the code block if copying: .yt-dlp.exe -x --audio-format mp3 "YOUTUBE_URL".

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

macOS and Linux

One installation route documented by yt-dlp is Python’s package installer:

python3 -m pip install -U yt-dlp

Then run:

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

Install FFmpeg and FFprobe using a suitable package or build for your system. A standalone yt-dlp binary is another option; the official installation guide covers the available approaches. Avoid assuming you need sudo: a user-writable installation location may be preferable.

Rank #2
Focusrite Scarlett Solo 4th Gen USB-C Audio Interface
  • The new generation of the songwriter's interface: Plug in your mic and guitar and let Scarlett Solo 4th Gen bring big studio sound to wherever you make music
  • Studio-quality sound: With a huge 120dB dynamic range, the newest generation of Scarlett uses the same converters as Focusrite’s flagship interfaces, found in the world's biggest studios
  • Find your signature sound: Scarlett 4th Gen's improved Air mode lifts vocals and guitars to the front of the mix, adding musical presence and rich harmonic drive to your recordings
  • All you need to record, mix and master your music: Includes industry-leading recording software and a full collection of record-making plugins
  • Everything in the box: Includes Pro Tools Intro+, Ableton Live Lite, Cubase LE, and Hitmaker Expansion: a suite of essential effects, powerful software instruments, and easy-to-use mastering tools

Replace YOUTUBE_URL with the video’s URL, including the quotation marks. The quotes help prevent shell characters in a URL from being interpreted as part of the command.

Choose a format without creating unnecessary quality loss

To save the best audio stream available without converting it to another format, use:

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
yt-dlp -f bestaudio "YOUTUBE_URL"

The result might be M4A, WebM/Opus or another container, depending on what that particular video offers. If your player or editor accepts it, keeping that stream avoids an extra lossy conversion. To request a converted format instead, use one of these:

yt-dlp -x --audio-format mp3  "YOUTUBE_URL"
yt-dlp -x --audio-format m4a  "YOUTUBE_URL"
yt-dlp -x --audio-format opus "YOUTUBE_URL"
yt-dlp -x --audio-format wav  "YOUTUBE_URL"
yt-dlp -x --audio-format flac "YOUTUBE_URL"
Format Useful for Trade-off
M4A/AAC Many phones, players and editing apps Compatibility is broad, but AAC is lossy.
Opus Efficient files and compatible modern players Support is less universal than MP3.
MP3 Older players, car stereos and broad compatibility Conversion can add another lossy generation.
FLAC Workflows that prefer a lossless container Large files; it cannot restore details absent from the source.
WAV Some editing or uncompressed workflows Very large files; it does not improve the source quality.
Vorbis Specific compatible workflows Less commonly chosen than Opus or MP3.

“Lossless” describes the resulting FLAC or WAV file, not the YouTube source. If the available stream was already encoded with losses, converting it to a lossless container does not recover discarded information. MP3 is often a compatibility choice, not automatically the highest-quality option.

Inspect formats and select the audio you want

Available streams differ by video and can change. List what yt-dlp currently sees with:

Rank #3
PIYONE Audio Interface, 2X2 24-bit/192kHz Interface for High-Fidelity, Studio Quality PC/Mac/iOS Recording, XLR/TRS Combo Input, Monitor Mix/Loopback Function, One-Cable Setup(Alloy Red)
  • PIYONE Plug-and-Play USB C Audio Interface. Experience seamless connectivity with this class-compliant audio interface for Mac and PC. The modern audio interface USB C port handles both high-speed data transfer and bus power, eliminating bulky external power supplies. No drivers are required—simply plug into your laptop and start creating with this portable xlr audio interface.
  • Studio-Grade 24-bit/192kHz Fidelity. Capture every nuance with professional resolution and a wide dynamic range. This 2 channel audio interface features high-performance converters that ensure crystal-clear, low-noise recordings. Whether you need an audio interface for PC or mobile, the Q28 delivers the high-fidelity sound required for professional music production.
  • Elegant Design with Illuminated Control. Enhance your interface for recording music with signature fixed LED light rings on each gain knob. This premium aesthetic ensures easy visibility in dimly lit studios while adding a modern, professional look to your setup. It’s the perfect blend of style and function for your home recording audio interface.
  • Versatile 2 Channel XLR USB Interface. Connect any source with maximum flexibility via two combo jacks. This 2 input audio interface is perfect for recording vocals with a condenser mic or using the Hi-Z input as a guitar interface for PC. With integrated 48V phantom power supply audio interface capabilities, it provides clean, ample gain for even the most demanding microphones.
  • Zero-Latency Monitoring & 3.5mm Connectivity. This home recording audio interface is built for performance. The Direct Monitor feature allows for silent, zero-latency tracking, while the built-in 3.5mm headphone jack ensures compatibility with standard headsets without needing adapters. Powerful, portable, and ready to perform, it’s the ultimate xlr interface for laptop users and mobile creators.
yt-dlp -F "YOUTUBE_URL"

Some videos offer separate audio and video streams, particularly at higher quality; processing or merging streams is one reason FFmpeg is needed. To choose a specific listed format, use yt-dlp -f FORMAT_ID "YOUTUBE_URL". Do not copy a format ID from an old guide: IDs vary by video. If there are multiple audio tracks, check the listed language or track details and verify the downloaded result rather than assuming the first one is right.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Set filenames, add metadata or download a section

Use a title-based filename instead of the default naming if you prefer:

yt-dlp -x --audio-format mp3 
  -o "%(title)s.%(ext)s" 
  "YOUTUBE_URL"

For a shorter, more predictable name that also avoids unusually long titles:

yt-dlp -x --audio-format mp3 
  -o "%(id)s - %(title).100s.%(ext)s" 
  "YOUTUBE_URL"

Metadata and a thumbnail can be embedded where the source information, output format and FFmpeg support allow:

yt-dlp -x --audio-format mp3 
  --embed-metadata 
  --embed-thumbnail 
  "YOUTUBE_URL"

To request a segment from a longer video, for example from 5:00 to 8:30, try:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Rank #4
Focusrite Scarlett 2i2 4th Gen USB-C Audio Interface
  • The new generation of the artist's interface: Connect your mic to Scarlett's 4th Gen mic pres. Plug in your guitar. Fire up the included software. Start making your first big hit
  • Studio-quality sound: With a huge 120dB dynamic range, the newest generation of Scarlett uses the same converters as Focusrite’s flagship interfaces, found in the world's biggest studios
  • Never lose a great take: Scarlett 4th Gen's Auto Gain sets the perfect level for your mic or guitar, and Clip Safe prevents clipping, so you can focus on the music
  • Find your signature sound: Air mode lifts vocals and guitars to the front of the mix, adding musical presence and rich harmonic drive to your recordings
  • With Scarlett 4th Gen, you have all you need to record, mix and master your music: Includes industry-leading recording software and a full collection of record-making plugins
yt-dlp -x --audio-format mp3 
  --download-sections "*00:05:00-00:08:30" 
  "YOUTUBE_URL"

Section downloading depends on FFmpeg and the current extractor and source format. Stream seeking may start at a nearby keyframe or segment boundary, so the cut may not be frame-perfect. If the boundary matters, download the authorized source first and trim it in an editor.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

When a command fails

“FFmpeg not found” or extraction fails

Check that both FFmpeg and FFprobe are installed and discoverable. In a new terminal, run:

ffmpeg -version
ffprobe -version

If either command is not recognized, install the missing executable or correct PATH. On Windows, placing both executables alongside yt-dlp is another option. Restart the terminal after changing environment variables.

“Video unavailable” or a bot/sign-in prompt

The video may be private, removed, age- or region-restricted, members-only, or otherwise unavailable; alternatively, YouTube may have changed its delivery system or yt-dlp may be outdated. First test that the URL works in your browser, then update yt-dlp:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
yt-dlp -U

For a Python installation, update it with:

python3 -m pip install -U yt-dlp

Avoid rapid batch requests. Some videos may require access or tokens that are not available to every client. Only use cookies for content you are authorized to access, and understand that giving a downloader account cookies can create account-security risks. Do not use these steps to bypass payment, access controls or geographic restrictions; consult yt-dlp’s current extractor notes if the problem persists.

Best Value
USB C Audio Interface for Recording Music, Streaming, Podcasting, Silver
  • ✔️[High-fidelity sound quality, accurate sampling] The Synido 2x2 audio interface uses a high-quality independent audio chip to reduce recording latency, support 24-bit depth and 48kHz sampling rate, and ensure every detail is restored. Whether it is recording or live broadcasting, it can provide a clear and natural sound quality experience
  • ✔️[Three monitoring modes, easy to switch] The audio interface provides three monitoring modes to meet different needs. In Stereo mode, independent left and right channels present the original input (such as a microphone or instrument), which is suitable for accurate recording. Mix mode can mix input audio and computer audio in real-time, which is suitable for live broadcast or recording, and is easy to adjust instantly. USB mode only monitors computer audio, which is suitable for post-editing or audio processing. Whether it is recording, live broadcast, or post-production, the three modes can be easily switched to make audio creation more efficient and professional
  • ✔️[User-friendly design] The audio interface is intuitively designed, and equipped with three independent control areas, and the XLR interface supports 6.35mm and XLR microphones, which are compatible with various devices. The green, orange, and red LED lights display the volume level, helping you to grasp the volume status at any time and avoid distortion. Supports easy switching between Line In and instrument input, adapts to different devices, reduces interference and distortion, and does not need to adjust gain frequently, improving efficiency
  • ✔️[Professional 48V phantom power] Synido audio interface is equipped with 48V phantom power switch and supports 48V dynamic microphone with excellent noise reduction performance, provides a highly sensitive recording experience, accurately picks up sound, and effectively reduces noise interference, ensuring clear and stable sound quality output
  • ✔️[Lightweight and portable, plug and play, create at any time] The USB audio interface weighs only 300g and measures 14 x 11.5x 4.5 cm. It is compact and portable and can be taken anywhere anytime. Equipped with a 3.5mm to 6.35mm adapter and a USB-C to USB-A data cable, you can easily use it by directly connecting to your mobile phone or computer

Only low-quality formats appear

Run yt-dlp -F "YOUTUBE_URL" and choose only from the formats actually listed. The video may have limited encodings, or the extractor may not currently expose every stream. There is no guarantee that every video has a high-quality audio option.

The output is WebM, Opus or another unfamiliar type

The extension identifies the container or encoding; it is not by itself evidence of poor quality. Try a compatible player, or request MP3 conversion if you specifically need MP3. Do not rename an extension to pretend it is another format—convert the file instead.

The audio is silent or the wrong track

Inspect the available formats and track details with -F, then test the original downloaded stream in another player. A video may contain multiple language tracks or a largely silent section; a conversion problem is another possibility.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The filename causes an error

Special characters, reserved Windows names, very long titles or path-length limits can interfere. Use a short template such as %(id)s - %(title).100s.%(ext)s, and save to a folder with a short path.

An older guide’s command stopped working

YouTube’s delivery behavior and yt-dlp’s extractor requirements can change. Update yt-dlp, use -F to inspect the formats available now, and check the current official documentation rather than relying on old format IDs or copied workarounds. yt-dlp does not guarantee that every video will remain extractable.

Should you use an online converter?

Unknown converter sites are not the safest default. They may rely on intrusive advertising or misleading buttons, and their privacy, file handling, reliability and compliance can vary. Submitting a video URL to a service also shares that information with the service. If you need a GUI, choose a reputable desktop application from its official vendor, and check whether it uses a maintained yt-dlp/FFmpeg backend. For editing an authorized local file, an audio editor such as Audacity can trim or export audio, but it is not a substitute for obtaining the source file lawfully.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.