How to Convert Audio to MP3 on Linux (Ubuntu) — Free, No Software

To convert audio to MP3 on Linux, open our free converter in your browser, pick your file, choose a bitrate, and download the MP3 — no software to install, no account, and your file never leaves your computer. If you prefer the terminal, one FFmpeg command does the same job, and if you want buttons instead of commands, SoundConverter is the friendly point-and-click option. This guide covers all three, so you can pick the one that fits how you work.

The short answer

The fastest way to convert audio to MP3 on Linux is in your browser: open the MP3 converter, drop in your file, pick a quality, and download the MP3. It works on Ubuntu, Fedora, Debian, Linux Mint and any other distribution, because the conversion runs in the browser, not in the operating system — nothing to install, nothing to compile, and no difference between distributions.

If you convert files every day, or you have a whole folder to convert at once, FFmpeg is the better tool. It is free, it is in Ubuntu’s repositories, and a single command converts one file or a hundred. SoundConverter sits in the middle: a simple app with buttons, good for batch jobs when you would rather not type commands.

More guides: convert MP4 to MP3 on Windows, convert MP4 to MP3 on Mac, convert audio to MP3 on Chromebook, and convert audio to MP3 on iPhone and Android with no app.

Method 1 — Convert in your browser (no install, fastest)

This is the method to use when you have one file, or a few files, and you just want the MP3 now.

Step 1. Open the free MP3 converter in your browser — Firefox or Chrome on Linux both work.

Step 2. Drop your file into the box, or press Select File and choose it. WAV, M4A, FLAC, OGG, MP4, MOV, WEBM and most other formats work.

Step 3. Pick your MP3 quality. 192 kbps is the sweet spot for music on phones and earbuds; 320 kbps is the highest standard MP3 quality; 128 kbps keeps files small and sounds fine for voice and podcasts.

Step 4. Press Convert, then Download MP3.

Everything happens inside your browser, so your file is never uploaded to any server — useful when the recording is private, and fast even on a slow connection because nothing is sent anywhere. The same tool also works as an audio converter for files that are already audio, like a WAV recording or an M4A voice memo from a phone.

Method 2 — Convert with FFmpeg (terminal, most control)

FFmpeg is the standard command-line tool for audio and video on Linux. It is free and open source, and it handles almost every format you will ever meet. If you are comfortable with a terminal, this is the most powerful way to convert audio to MP3 on Linux.

Install it on Ubuntu, Debian or Linux Mint:

sudo apt update && sudo apt install ffmpeg

Fedora, RHEL and Rocky Linux do not ship FFmpeg in their default repositories, so enable the free RPM Fusion repository first, then install ffmpeg the same way. On Arch Linux, install it with pacman.

Convert one audio file to MP3:

ffmpeg -i input.wav -c:a libmp3lame -b:a 192k output.mp3

Here is what each part means: -i input.wav is your source file; -c:a libmp3lame picks the LAME MP3 encoder, the standard encoder for MP3; -b:a 192k sets the bitrate to 192 kbps; output.mp3 is the file you get. Change the bitrate to 320k for music you care about, or 128k for voice recordings.

Pull the audio out of a video file:

ffmpeg -i video.mp4 -vn -c:a libmp3lame -q:a 2 audio.mp3

The -vn flag drops the video stream, and -q:a 2 picks variable-bitrate quality level 2 — around 190 kbps on average, and a good default. The quality scale runs from 0 (best) to 9 (smallest); 2 is the sweet spot most people use.

Convert a whole folder at once:

for f in *.wav; do ffmpeg -i "$f" -c:a libmp3lame -b:a 192k "${f%.wav}.mp3"; done

Run that in the folder with your files, and every WAV becomes an MP3 with the same name. Change *.wav to *.flac or *.m4a to convert those instead.

Check what is inside a file first:

ffprobe -hide_banner input.mp4

FFprobe comes with FFmpeg. It shows the audio stream, its codec and its bitrate — handy when a file refuses to convert and you want to know why before trying again.

Method 3 — Convert with SoundConverter (point-and-click app)

SoundConverter is a small, free GNOME app built for exactly this job: drop files in, pick a format, press Convert. It is the best choice on Ubuntu if you want batch conversion without the terminal.

Install it:

sudo apt install soundconverter

Use it:

Step 1. Open SoundConverter from your applications menu.

Step 2. Drag your files into its window, or use Add File to pick them. You can add a whole folder at once.

Step 3. Click the gear icon and set the output format to MP3, then choose your quality. Higher quality means a larger file.

Step 4. Press Convert. SoundConverter converts the files one after another and saves the MP3s in the same folder as the originals (or a folder you choose in the settings).

SoundConverter uses GStreamer under the hood. If MP3 does not appear in the format list, install the extra GStreamer plugins from your distribution’s repositories and restart the app — the MP3 encoder lives in one of those plugin packages.

The four ways compared

MethodInstall needed?Best forYour filesCost
Browser converter (this site)None — works in Firefox or ChromeOne file, or a few files, right nowNever leave your computerFree, unlimited
FFmpeg (terminal)Yes — one apt commandWhole folders, scripts, exact quality controlStay on your computerFree, open source
SoundConverter (app)Yes — one apt commandBatch jobs with buttons, no commandsStay on your computerFree, open source
Upload-based online toolsNoneA file when nothing else is at handUploaded to a server, deleted laterFree tier with limits

The real difference is where your file goes. The browser converter, FFmpeg and SoundConverter all keep your file on your own computer. Upload-based tools send it to a server first — fine for a public clip, but not the right choice for a private recording. If you want to understand what the bitrate numbers actually mean, our MP3 bitrate guide explains 128 vs 192 vs 320 kbps in plain language.

Will converting to MP3 improve the quality?

No — and this is the rule most guides bury. Converting a file to MP3 can never add quality that was not in the original. A 96 kbps voice recording converted at 320 kbps is still a 96 kbps recording, just in a bigger file. MP3 is a lossy format: it throws away a small amount of audio data to make the file smaller, and every re-encode throws away a little more.

So pick your bitrate to match the source, not to exceed it. If the original is a CD-quality WAV or FLAC, 320 kbps keeps almost everything. If the original is a phone recording or a low-bitrate stream, 128 or 192 kbps is plenty, and going higher only wastes space. Converting MP3 to WAV does not improve quality either — the same rule applies in the other direction. When in doubt, 192 kbps is the safe middle ground for music, and 128 kbps is enough for speech.

What people convert audio to MP3 on Linux for

Music that has to play everywhere. A FLAC collection sounds great on a Linux desktop, but many car stereos, older phones and portable players only accept MP3. Converting a copy to MP3 keeps the original FLAC safe at home while the MP3 plays anywhere.

Voice recordings and lectures. A WAV recording from a microphone or a meeting is huge; the same recording as a 128 kbps MP3 is a fraction of the size and still perfectly clear. Our file size guide shows exactly how big an MP3 is at each bitrate, so you can plan before you convert.

Video audio, minus the video. A lecture, a podcast or a song saved as MP4 becomes a small MP3 you can listen to on a walk. FFmpeg’s -vn flag does this in one command, and the browser converter does the same thing with no commands at all.

Phone files that will not play. An M4A voice memo from an iPhone or a recording from an Android phone sometimes refuses to play on a Linux media player. Convert it to MP3 and it plays everywhere — the same fix our M4A to MP3 guide covers for every device.

When a file will not convert

“Command not found” when you type ffmpeg. FFmpeg is not installed yet, or it is not in your PATH. Run the install command for your distribution again and check with ffmpeg -version.

The file has no audio stream. A silent video, or a video with the audio track stripped out, has nothing to extract. Check with ffprobe first — if it lists only a video stream, there is no audio to convert.

MP3 is missing from SoundConverter’s format list. The GStreamer MP3 plugin is not installed. Install the extra GStreamer plugins from your distribution’s repositories, restart SoundConverter, and MP3 should appear.

The output sounds worse than the original. You picked a bitrate lower than the source, or you converted an already-compressed file a second time. Re-convert from the original file at 192 or 320 kbps instead of converting the converted file again.

Permission denied. The file lives in a folder your user cannot write to, or the output folder is read-only. Move the file to your home folder and convert it there.

The browser converter will not take the file. Check the size — files up to 200 MB work. If the file is a format your browser cannot play, convert it with FFmpeg first; FFmpeg accepts formats browsers do not.

Frequently Asked Questions

Can I convert audio to MP3 on Linux without installing anything?

Yes. Open the free MP3 converter in Firefox or Chrome on your Linux computer, drop in your file, pick a bitrate, and download the MP3. Nothing is installed, no account is needed, and the file never leaves your computer.

What is the best MP3 bitrate on Linux?

192 kbps is the best all-round choice for music — good sound at a reasonable file size. Use 320 kbps for music you care about, and 128 kbps for voice recordings, podcasts and lectures, where it keeps files small with perfectly clear speech.

How do I convert MP4 to MP3 on Ubuntu?

In the browser, open the MP3 converter, drop in the MP4, and download the MP3. In the terminal, run ffmpeg -i video.mp4 -vn -c:a libmp3lame -q:a 2 audio.mp3. Both give you the audio track as an MP3; the browser needs no install, FFmpeg is better for many files at once.

Is FFmpeg free on Linux?

Yes. FFmpeg is free and open source. On Ubuntu, Debian and Linux Mint it is one command: sudo apt update && sudo apt install ffmpeg. Fedora and RHEL need the RPM Fusion repository enabled first, because FFmpeg is not in their default repositories.

Can I convert a whole folder of files to MP3 at once?

Yes. With FFmpeg, a one-line loop converts every file in a folder — for example, all WAV files to 192 kbps MP3. SoundConverter does the same thing with buttons: drag the folder in and press Convert. The browser converter handles files one at a time, so it is better for a few files than for a hundred.

Does converting to MP3 upload my file anywhere?

Not with the methods in this guide. The browser converter runs entirely in your browser, and FFmpeg and SoundConverter run on your own computer, so your file never leaves your device. Upload-based online tools are different — they send your file to a server first, so use them only for files you do not mind sharing.

1 thought on “How to Convert Audio to MP3 on Linux (Ubuntu) — Free, No Software”

  1. Pingback: Convert OGG to MP3 Free – No Software, No Upload

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top