About Audio to Opus Converter
Opus gives small files that still sound good: clear speech at 32 kbps, music that holds up at 96 to 128 kbps. Drop in audio, or a video whose soundtrack you want, choose a bit rate and channels, and download an .opus file that phones and current players open, or a WebM file for a web page.
Your browser decodes the file and its own Opus encoder does the encoding, in this page, so nothing is uploaded. That encoder is part of WebCodecs, which not every browser has: if yours lacks it, the page says so before you start.
How it works
- An uncompressed WAV is read directly; any other file is decoded by the browser, so the formats that work are the ones your browser can play.
- Audio at 48 kHz is encoded as it is; any other rate, such as 44.1 kHz or the 16 kHz of many voice recorders, is first resampled to 48 kHz with a band-limited filter. The line under each file says which will happen.
- The browser’s own Opus encoder (WebCodecs) runs in a background worker, in 20 ms frames, at the bit rate you chose. Quad, 5.1 and 7.1 are mixed down to stereo with the centre kept, scaled so the mix stays within full scale; other layouts of more than two channels keep their front left and right.
- For .opus the Ogg pages are written by this page, with the encoder’s start-up delay recorded so players skip it and the end position set so playback stops exactly where your audio does. WebM is written with a standard muxer.
Questions
Should I choose .opus or WebM?
Choose .opus (Opus in an Ogg file) for players, phones, messaging apps and audio libraries: it is what they expect of an Opus file. Choose WebM for an audio element on a web page. The WebM file written here does not mark where the audio ends, so it may play a few hundredths of a second longer than the original.
Which bit rate should I use?
For speech, 24 to 48 kbps: 32 kbps is clear for a voice note or a lecture. For music, 96 kbps is good for most listening and 128 kbps leaves little to hear; higher rates suit an archive copy. The rate counts both channels together, and mono needs about half as much as stereo.
Why does it say my browser cannot encode Opus?
The encoding is done by the browser’s WebCodecs audio encoder, and not every browser has one with Opus. The page asks the browser before you start and says so if it is missing. Updating the browser, or trying another current one, may give you one.
Is my audio resampled?
Only if it is not at 48 kHz already. Opus plays everything back at 48 kHz, so any other rate, such as the 44.1 kHz of CD audio, is resampled to 48 kHz first, which you would not hear. Opus can also take 8 to 24 kHz audio directly, but not every browser’s encoder then records its start-up delay correctly, so the tool always encodes at 48 kHz.
Is there a length limit?
Decoded audio takes far more memory than the file, so the tool takes up to about 23 minutes of stereo or 46 minutes of mono, and files up to 512 MB. Surround recordings reach the limit sooner, because every channel is held before it is mixed down: about 7 minutes of 5.1 and 5 of 7.1 at 48 kHz. So do recordings above 48 kHz, which are held at their own rate first: about 11 minutes of stereo at 96 kHz. Longer recordings are refused with a message.
Will converting an MP3 to Opus make it sound better?
No. Opus is a lossy format too, so it re-encodes what the MP3 decodes to and cannot restore what the MP3 discarded. Convert from the best original you have, such as WAV or FLAC, when you can.
Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.