gizmobench
BrowseDaily

OGG to MP3 Converter

Open an OGG file, confirm its codec and choose an MP3 bitrate. The browser decodes and re-encodes the audio locally, then gives you a download.

Open an OGG file

· or drop one anywhere on the stage

Never uploadedNo accountUp to 50 MBUp to 10 minutes
From
To
Bitrate
Sample rate
Channels
Download

Ready. Choose an OGG file, or drop one on the stage.

The Ogg is checked for Vorbis or Opus first, because a browser may decode one and not the other. The output is a constant bitrate MP3 at the bitrate you choose, which is a lossy encode of what came in.

  • What the bytes sayread from the first bytes of the file, never from its extension
    Open a file and its container is identified before anything is decoded.
  • Output sizeexact arithmetic for PCM, an estimate for MP3
    Open a file to size the output.
  • Decoderasked of this browser before a conversion starts
    A codec with no decoder here is named up front, not halfway through.

The From control is a mode, not a guess: the first bytes of the file are read and checked against it, so a file that was renamed is refused with what it actually is. A bare AAC opens in M4A mode, a FLAC in WAV mode, and a MOV or WebM video in MP4 mode. An MP4 has its audio tracks listed before anything is extracted and its video is never decoded. Changing the sample rate resamples by linear interpolation, and changing the channel count averages a stereo pair down or copies a mono channel to both sides.

Two open source parts do the heavy lifting. Containers are parsed and audio is decoded by Mediabunny 1.55.7 under the MPL-2.0 (licence text, the exact package, source). MP3 encoding is lamejs 1.2.7 under the LGPL-3.0 (licence text, the exact package, corresponding source). Both are bundled unmodified at those versions and loaded from this page, never from another service.

Common questions

How do I convert OGG to MP3?
Leave From on OGG and To on MP3, press Open audio or drop the file on the stage, choose a bitrate, press Convert and then Download. If this browser cannot decode the codec inside the Ogg, the page says so before anything starts.
Can it convert both Vorbis and Opus OGG files?
Yes, when this browser can decode the codec inside. The Ogg is checked for Vorbis or Opus before anything starts, and the page asks the browser whether it can decode that particular track; if the answer is no, it names the codec and stops before converting.
Is conversion local?
Yes. The OGG and the resulting MP3 remain in this browser.

Files are decoded and re-encoded in your browser, so nothing is uploaded. Converting cannot restore detail a lossy file already lost, and an MP3 output is a lossy encode of its own. Which formats can be decoded depends on your browser, and this page checks the file's actual bytes and its codec before starting rather than trusting the extension.