Convert MP3 to OGG in your browser
Opus in an Ogg container, for game engines, free-format archives and the web. Your MP3 is already lossy, so pick a bitrate that leaves the second pass room.
Sample audio: Prelude in C major, BWV 846 (J.S. Bach), performed by Kimiko Ishizaka. Dedicated to the public domain (CC0). See sample-audio-LICENCE.txt for details.
or browse your device. Everything is processed on this device
No MP3 to hand?
If nothing in your chain actually requires an Ogg, lowering the bitrate of the file you already have avoids a second lossy generation entirely.
Compress MP3 insteadHow to convert MP3 to OGG
One track, an album or a folder of sound effects. Nothing is uploaded, so a batch is limited by your machine rather than by an upload cap.
128 is the safe default coming from an MP3. Drop to 96 for music where size matters, or 64 with mono on for speech, which is where Opus pulls furthest ahead.
An .ogg holding Opus, which browsers, Godot, Unity, Firefox, VLC and the free-format archives all accept. Keep the MP3 if it is your only copy.
Why convert to OGG when MP3 plays everywhere?
Ogg is a container and Opus is the codec this page writes into it. The reasons people want one are almost never about playback on a phone, where MP3 is fine: they are about a game engine that expects Ogg for streaming music, a browser build targeting file size, or a project such as Wikimedia that requires a patent-free format for uploads. In those places the MP3 is the file that does not fit, which is the same argument the conversions on this site usually make in the opposite direction.
What you gain is efficiency. Opus at 96 kbps is competitive with MP3 at 160 and better than it below 96, which is why the bitrate you choose here should not simply copy the number your MP3 reports. Choosing 128 for a 128 kbps source gives the encoder room to carry what survived the first pass; choosing 64 for the same file would throw away audio the MP3 still had.
What you do not gain is quality. This is a second lossy encode over audio that has already had detail removed, and the Opus encoder cannot see what the MP3 encoder took. If the original recording still exists as a WAV or a FLAC, encode Opus from that instead and skip a generation. If the MP3 is all you have, converting is still reasonable: it just cannot be an improvement.
MP3 to OGG FAQ
Is the output Opus or Vorbis?
Opus, inside an Ogg container. Vorbis is the older codec that .ogg files used to hold, and Opus beats it at every bitrate, particularly for speech. Anything that plays an Ogg Vorbis file today almost certainly plays Opus as well.
What bitrate should I choose?
128 for music from a normal MP3, which is what the page arrives at. Because Opus is more efficient than MP3, that is a comfortable setting rather than a cautious one. For speech, 64 with mono turned on is genuinely good and a fraction of the size.
Will the OGG sound better than the MP3?
No. The MP3 encoder discarded audio permanently and nothing can recover it. Opus will hold on to what is left in fewer bytes than a second MP3 pass would, which is worth having, but the ceiling is the MP3 you started with.
Why might the conversion fail in my browser?
Opus encoding needs a WebCodecs audio encoder in the browser itself. Most current browsers provide one; if yours does not, the tool tells you the encode failed rather than sending your file to a server to do it. The MP3 and WAV conversions on this site have a WebAssembly encoder behind them and do not depend on it.
Do the tags carry over?
Yes, unless you turn on "Strip tags and cover art", which is off by default here. ID3 tags become Vorbis comments, so artist, album and track number survive the trip and your library still recognises the file.
Should I rename it to .opus?
Only if the software you are feeding it to insists. The file is Opus audio in an Ogg container either way, and .ogg is the extension game engines and most tooling expect. Renaming changes nothing about the bytes.
Are my MP3 files uploaded to convert them?
No. The MP3 is decoded and the OGG is written by your own browser, in this tab. There is no upload endpoint in the site for a file to go to, which you can check in your network tools: convert something and watch that no request carries it. Disconnect from the network after the page loads and it still works.
Related
Same format joins the queue. Anything else re-routes to its own tool.