OGG (Ogg Vorbis)
The free, open-source audio format that sounds great without a patent or a fee.
| Full name | Ogg Vorbis |
| Extension | .ogg |
| MIME type | audio/ogg |
| Developer | Xiph.Org Foundation (created by Chris Montgomery) |
| Released | 2000 |
| Type | Lossy audio compression |
| Compression | Lossy (Vorbis codec) |
| Patent status | Patent-free, fully open standard |
What is a OGG file?
OGG is an open, patent-free audio container format developed by the Xiph.Org Foundation. It most commonly holds audio encoded with the Vorbis codec, which is why the combination is called Ogg Vorbis. The format was designed as a free alternative to MP3 and AAC at a time when those formats carried patent restrictions.
An OGG file is a container that wraps compressed audio data along with metadata like song title and artist name. The audio inside is encoded using the Vorbis codec, a lossy algorithm that removes sound details the human ear is unlikely to notice. At equivalent bitrates, Vorbis typically produces better audio quality than MP3. The format supports multiple audio channels, making it suitable for stereo and surround sound alike.
History
Chris Montgomery, known online as Monty, began work on the project in the mid-1990s. The Ogg container format was formally separated as its own reference implementation on September 2, 2000, coinciding with the first stable release of the Vorbis codec. Montgomery later founded the Xiph.Org Foundation, which continues to maintain Ogg and related open multimedia standards.
How it works
An OGG file is divided into pages, each up to 65,536 bytes. Every page starts with a capture pattern (the bytes OggS) that lets decoders find their position in a stream even after a network dropout or partial file. Pages are grouped into logical bitstreams, each identified by a serial number, so a single OGG file can carry multiple audio tracks or streams simultaneously. Metadata is stored in comment headers using a simple key=value format.
What it is used for
- Streaming audio on websites and web apps where patent-free formats are preferred
- Game audio assets, since engines like Godot and Unity natively support OGG
- Podcasts and audiobooks distributed on open platforms
- Archiving music collections with free, open tooling and no license concerns
How to open it
Most modern media players open OGG files without any extra software, including VLC, Winamp, foobar2000, and the default players on Linux and Android. Web browsers like Firefox and Chrome play OGG audio natively through the HTML audio element.
Pros and cons
Strengths
- Patent-free and open source with no licensing fees for creators or developers
- Better audio quality than MP3 at the same bitrate, especially at lower bitrates
- Supports streaming and can recover playback after network interruptions
- Widely supported in game engines, browsers, and Linux desktop environments
Trade-offs
- Apple devices (iPhone, iPad, Mac) do not support OGG natively in Safari or iOS
- Less universal than MP3, which works everywhere without any compatibility concerns
- Some older car stereos, smart TVs, and consumer electronics do not recognize the format
- Lossy compression means audio quality still degrades compared to lossless formats like FLAC
Convert OGG files
Free, in your browser, no signup. Start at the OGG converter, or jump straight to a popular conversion below.
From OGG
Curious how fast and how small? See our measured conversion benchmarks.
OGG FAQ
Is OGG the same as Ogg Vorbis?
Almost always, yes. OGG is the container format and Vorbis is the audio codec inside it. When people say OGG they usually mean an OGG file carrying Vorbis audio. The OGG container can technically hold other codecs like Opus or FLAC, but those files typically use different extensions like .opus or .oga.
Is OGG better quality than MP3?
At the same bitrate, Vorbis generally produces better audio quality than MP3, particularly at lower bitrates around 128 kbps. At high bitrates both formats sound nearly identical to most listeners. The difference is more audible on complex audio like orchestral music.
Can I play OGG files on an iPhone or iPad?
Not natively. Apple's Safari browser and iOS do not include a Vorbis decoder. You need a third-party app like VLC for iOS to play OGG files on Apple devices. If broad compatibility matters, converting to MP3 or AAC is the practical choice.
Does OGG use any patents?
No. The Ogg container and the Vorbis codec were designed specifically to be patent-free. The Xiph.Org Foundation publishes them as open standards. This is why game developers, open-source projects, and web developers often prefer OGG over MP3 or AAC.