.ogg

Sample OGG files download

OGG is a free, open-source audio container format. It uses Vorbis compression to achieve excellent quality at low bitrates.

No sample files available for this format yet.

Advertisement
Technical guide

Everything you need to know about OGG

OGG (Ogg Vorbis, .ogg) is Xiph.org's open-source lossy audio format, designed in 1993 as a patent-free alternative to MP3. Vorbis is the audio codec; Ogg is the container. The combination delivers slightly better quality than MP3 at the same bitrate, while being completely free of licensing fees.

How it works under the hood

  • Vorbis codec. Uses MDCT (Modified Discrete Cosine Transform), the same mathematical foundation as MP3 and AAC, but with different psychoacoustic models. Better than MP3 below 128 kbps.
  • Variable bitrate by default. Vorbis was designed for VBR from day one - it allocates bits where the audio is complex and saves bits where it's simple.
  • Comments header. Ogg/Vorbis stores metadata in a 'Vorbis comment' header - a flat list of `KEY=value` pairs. Cleaner than ID3, but each player decides how to interpret keys.
  • Streamable. Ogg pages are designed for network delivery - any subsequence of pages forms a valid stream from that point onward.

Where you'll actually use it

  • Game audio (Unity, Unreal, Godot all support OGG natively)
  • Open-source projects requiring zero patent burden
  • Web audio for modern browsers (Chrome, Firefox - Safari excluded)
  • Spotify's preferred internal format for streaming

How it compares to alternatives

OGG vs MP3: OGG sounds better at low bitrates (under 128 kbps); MP3 has wider device support. OGG vs Opus: Opus is Xiph's modern successor - significantly better at every bitrate, especially below 96 kbps.

Things that will trip you up

  • Safari and iOS don't natively play OGG - serve MP3 fallback for Apple devices
  • OGG album art uses the Vorbis comment 'METADATA_BLOCK_PICTURE' field - more complex than ID3v2's APIC frame
  • Some media servers don't recognize .ogg as audio - use .oga extension for audio-only Ogg files
Test it yourself: VLC, Audacity, `oggenc` and `oggdec` from vorbis-tools. `mediainfo` for full track details.

Format details

MIME Types

  • audio/ogg

License

CC0 1.0 (Public Domain)

Free for personal and commercial use, no attribution required.

Read full license