FormatDrop
How-To Guide

How to Convert MP3 to OGG

Converting MP3 to OGG is a lossy-to-lossy transcode — always some quality loss, though at high enough bitrates it's inaudible. The main reason to convert is format compatibility: game engines like Godot, web audio APIs, and Linux audio systems often prefer or require OGG. Use the highest practical quality setting to minimise transcoding damage.

Step-by-step instructions

  1. 1

    Convert with FFmpeg

    FFmpeg single file: `ffmpeg -i input.mp3 -c:a libvorbis -q:a 7 output.ogg`. At q7 (approximately 224 kbps), the OGG output should be indistinguishable from the MP3 source. Batch: `for f in *.mp3; do ffmpeg -i "$f" -c:a libvorbis -q:a 7 "${f%.mp3}.ogg"; done`. Use q6 or higher to minimise transcoding artefacts.

    Go to converter
  2. 2

    Convert with Audacity

    Open the MP3 in Audacity. Go to File → Export → Export as OGG Vorbis. Set quality to 7 or higher. Click Save. Audacity handles the conversion cleanly. This is the easiest approach if you don't want to use the command line.

  3. 3

    Set quality to minimise loss

    When transcoding MP3 to OGG, always use a quality setting at least as high as the MP3's equivalent. If the MP3 is 128 kbps, use OGG q4 (≈128 kbps) or higher. If the MP3 is 320 kbps, use OGG q7–q8. Using a lower OGG quality than the MP3's bitrate adds unnecessary quality loss to what's already a lossy-to-lossy conversion.

  4. 4

    Use the converted OGG

    The OGG file is now ready for Godot, Unity, web audio, or any OGG-compatible system. In Godot: drag into the FileSystem panel. In Unity: drag into the Project window. For HTML5: `<audio src='sound.ogg' type='audio/ogg'></audio>`. VLC plays OGG on all platforms.

Why convert MP3 to OGG?

Game engines, web audio, and Linux-based systems often require OGG format. When MP3 files need to work in these environments, converting to OGG is the necessary step — minimise quality loss by using a high quality setting.

Your files never leave your device

FormatDrop runs the conversion engine entirely inside your browser using WebAssembly. No file upload. No server. Nothing stored. You can verify this by opening DevTools → Network tab and watching: zero upload requests.

Frequently asked questions

Does MP3 to OGG lose quality?
Yes — converting from one lossy format to another always loses some quality. The amount of loss depends on the quality settings. At OGG q7 or q8, the loss from a 320 kbps MP3 is typically inaudible. At lower settings, artefacts from both compression stages can stack. Never transcode unnecessarily — keep original MP3s as masters.
Why convert MP3 to OGG instead of keeping MP3?
OGG is the preferred format for some game engines (Godot prefers OGG), royalty-free by nature, and slightly more efficient than MP3 at the same bitrate. If your target system requires OGG (many Linux games and apps), conversion is necessary. If MP3 works, there's no quality benefit to converting.
Can browsers play both MP3 and OGG?
All major browsers support MP3. OGG is supported by Chrome, Firefox, Edge, and Safari 14+. For widest compatibility, provide both formats: `<audio><source src='audio.ogg'><source src='audio.mp3'></audio>`. The browser uses the first supported format.
Convert MP3 to OGG Now — Free

No account. No upload. Works in any browser.