Search "youtube to mp3" and you land on converter sites drowning in pop-ups, fake download buttons, and inflated quality promises. You don't need any of them. The cleanest, highest-quality way to turn a YouTube video into an MP3 runs entirely on your own machine — no middleman, no ads, no upload. Here's exactly how, plus an honest look at what "320kbps" really means.
The quick answer
yt-dlp -x --audio-format mp3 --audio-quality 0 --embed-thumbnail --embed-metadata "VIDEO_URL"Want no command line? Paste the link into Cobalt (cobalt.tools) for a clean one-off, or use a maintained desktop app. Skip the ad-heavy "youtube mp3" websites entirely.
Method 1 — yt-dlp + ffmpeg (best quality and control)
yt-dlp is a free, open-source command-line tool, and ffmpeg is the converter it hands the audio to. Together they run locally — nothing is uploaded to a third party — and they produce the most faithful MP3 you can get from a given video. Install both first (ffmpeg is required for the conversion).
yt-dlp -x --audio-format mp3 --audio-quality 0 --embed-thumbnail --embed-metadata "VIDEO_URL"What each part does:
-x— extract the audio only (no video).--audio-format mp3— convert the extracted audio to MP3 via ffmpeg.--audio-quality 0— best quality;0is the top setting, not a bitrate cap.--embed-thumbnail— embed the video thumbnail as cover art.--embed-metadata— write title/artist tags into the file.
Because a huge community maintains yt-dlp, it keeps working when YouTube changes things. The only catch is that it's terminal-only — if that's a dealbreaker, see the no-command-line options below.
The "320kbps MP3" myth — read this before you trust a converter
Almost every converter site dangles "320kbps MP3" as if it were a quality guarantee. It isn't. YouTube streams audio as Opus at roughly 128–160 kbps. That is the source — the most information the video actually contains.
That's exactly why the yt-dlp command above uses --audio-quality 0 rather than forcing 320: it tells ffmpeg to encode at the best faithful quality for the actual source, instead of inflating the number to look impressive. The honest result is a clean MP3 that matches what YouTube gave you — no more, no less.
No command line? Two clean options
If a terminal isn't for you, you still don't need the ad-filled converter sites.
- Cobalt (cobalt.tools) — open source and genuinely ad-free. Paste a supported link, choose audio, and it extracts a clean MP3/M4A. Perfect for a one-off with nothing to install.
- A maintained desktop app — for regular use with a GUI, tagging, and batch downloads, a well-kept app that wraps yt-dlp gives you the same engine with buttons. Ours (Clipmoth) is one such option; more on that below.
Whichever you pick, the rule holds: avoid the anonymous "youtube to mp3" websites plastered with ads. They're where bundled malware, fake buttons, and hidden trackers live.
The methods compared — honestly
| Method | Type | Best for | Watch out for | Price |
|---|---|---|---|---|
| yt-dlp + ffmpeg | Local, open source | Best faithful quality, tags, control | Terminal only; needs ffmpeg installed | Free |
| Cobalt | Online, open source | A clean one-off, no install | No batch or library features | Free |
| Clipmoth — our tool | Extension + Windows app | A yt-dlp engine with buttons, MP3 + tagging | Windows-only desktop for now | Free tier · $9.99 lifetime |
| "youtube to mp3" sites | Online | Honestly, nothing we'd recommend | Ads, fake buttons, malware, fake "320kbps" | "Free" |
One disclosure: Clipmoth is our own product, so weigh that as you read. Our honest take doesn't change: for the best possible quality and control, yt-dlp + ffmpeg; for a clean one-off, Cobalt. If you'd rather click than type commands, that's exactly the gap our app (and other maintained GUIs) fills.
Frequently asked questions
Is a "320kbps" YouTube MP3 real?
Not in the way converter sites imply. YouTube's audio source is Opus at roughly 128–160 kbps, so a "320kbps MP3" can't contain more quality than that — the extra bitrate is padding around the same audio. Use yt-dlp with --audio-quality 0 for the best faithful output instead of chasing a fake number.
How do I get the best possible audio quality?
Use the local yt-dlp + ffmpeg workflow with --audio-quality 0. It encodes at the best faithful quality for the actual source rather than inflating the bitrate. No online converter will beat a clean local extraction.
Are the "youtube to mp3" websites safe?
Many aren't. The ad-heavy converter sites are known for pop-ups, fake download buttons, bundled malware, and hidden trackers. If you want to avoid a terminal, use Cobalt or a maintained desktop app instead.
Is it legal to convert YouTube to MP3?
It depends on the content and your jurisdiction. Your own uploads and Creative Commons material are generally fine; converting someone else's copyrighted track without permission may break the law and YouTube's terms. When in doubt, don't.
Want the yt-dlp engine without the terminal?
Clipmoth wraps the yt-dlp engine in a simple app — a browser extension (live on Chrome) and a Windows app — with one-click MP3 extraction, cover art, and metadata tagging. One $9.99 lifetime key covers both. No ads, nothing uploaded.
Add Clipmoth to Chrome See Premium