OptiVorbis

Easily optimize and repair Ogg Vorbis files within your web browser!

Lossless Ogg Vorbis file size reduction in your browser

OptiVorbis reduces the size of Ogg Vorbis files while keeping the encoded audio sample data intact, ensuring that they will sound the same. The savings range from minor to substantial, depending on the software that generated the file and the sound characteristics.

Try it out for yourself: it's like getting more disk space for free!

Moreover, thanks to the power of WebAssembly and web workers, the optimization code runs entirely in your web browser, so you don't need to be online, and service usage limits or confidentiality concerns do not apply.

Automatic repairs

Another OptiVorbis perk is that it can automatically repair some kinds of Ogg Vorbis file corruption. A side effect of these repairs is that the decoded audio samples may be negligibly different, but, in turn, they will be more consistent across decoders and devices.

If you have some quirky file that exhibits odd seek behavior, causes warnings or problems, or works better with some programs than others, OptiVorbis may help.

State of the art techniques

In a nutshell, OptiVorbis corrects non-optimalities of the current Ogg Vorbis encoder implementations, replacing codec header data, framing data, and encoded audio packet codewords with functionally equivalent but more space-efficient representations.

You can think of it as OptiPNG or pngcrush for Ogg Vorbis files, although these projects are not related to OptiVorbis in any way.

Developer and power-user friendly

OptiVorbis is an open-source software library written in Rust, a modern language that emphasizes performance and code safety.

This website is only a simple, user-friendly frontend: any developer may use OptiVorbis in their libraries and applications to optimize Ogg Vorbis files. Correspondingly, the OptiVorbis project welcomes contributions and improvements.

Are you a power user but not a developer? We got you covered: the OptiVorbis project also distributes an official CLI application you can run in an automated fashion to batch optimize Ogg Vorbis files, with more advanced options, at native speed.

Get the CLI and contribute

Begin building a better app