What Is a .OGG File? (.ogg, .oga, .opus)
A .ogg file is audio stored in the open, royalty-free Ogg container, usually encoded with Vorbis or Opus. It is common in games, Linux software, Wikipedia media, web apps and voice messages. Ogg plays in Chrome, Firefox and Android natively; Apple devices often need VLC or a conversion to MP3 or M4A.
- Extension
- .ogg, .oga, .opus
- Full name
- Ogg (Vorbis or Opus audio)
- Type
- Audio file
- MIME type
- audio/ogg, application/ogg
- Developed by
- Xiph.Org Foundation
About OGG files
Ogg is a container, and the codec inside matters. Most .ogg music files use Vorbis, a lossy codec comparable to AAC. Newer files and voice messages often use Opus, which is excellent for both speech and music at low bitrates; those may carry the .opus extension. Ogg can also hold FLAC audio and, as .ogv, Theora video.
Game developers favour Ogg Vorbis because it is free of licensing fees and loops cleanly, so many game sound files and mods are .ogg. Wikipedia and Wikimedia Commons serve audio in Ogg formats for the same reason. Metadata is stored as Vorbis comments, which support tags and cover art.
Support on Windows and Android is good, and Chrome and Firefox play Ogg directly. Apple's support is limited: QuickTime Player and the Music app do not open Ogg Vorbis files, so VLC is the usual choice on Mac and iPhone. Converting to MP3 or AAC is easy but adds another round of lossy compression.
What OGG files are used for
- Game sound effects and music
- Audio on Wikipedia and Wikimedia Commons
- Voice messages in some chat apps (often Opus)
- Open-source and Linux software sounds
How to open a .ogg file
Windows
Media Player usually plays Ogg files using the preinstalled Web Media Extensions; VLC is the reliable fallback.
Mac
QuickTime Player and Music do not support Ogg Vorbis. Use VLC, IINA or drag the file into Chrome or Firefox.
Android
Ogg is natively supported, so most music players and Files by Google play it.
Online / any browser
Chrome, Firefox and Edge play Ogg files dropped into a tab.
How to convert a .ogg file
Audacity opens Ogg Vorbis files and exports MP3, WAV, FLAC or M4A via File > Export Audio.
VLC's Convert / Save option can turn Ogg into MP3 on any desktop platform.
For game modding, keep the original format; many games expect Ogg specifically and will ignore an MP3 with the same name.
Changing the extension in the file name does not convert the file. See how to change a file extension for when renaming is safe.
Naming and renaming OGG files
- Games often look up sounds by exact file name, so do not rename .ogg files inside a game folder unless a mod guide tells you to.
- For sound libraries, use descriptive, lowercase names with hyphens (door-creak-01.ogg) that work on case-sensitive Linux systems too.
- Exported voice messages often arrive as PTT- or AUD- timestamp names; File Renamer AI can suggest names based on what was said.
Renaming lots of .ogg files? Use the free online bulk renamer for patterns and numbering, or try File Renamer AI to name each file from what is inside it.
Related file types
A .mp3 file is a compressed audio file using MPEG-1 Audio Layer III, the lossy format that made digital music portable. It shrinks audio to roughly a tenth of CD size by discarding sounds the ear barely notices. MP3 plays on virtually every phone, computer, car stereo and browser.
A .flac file is audio compressed with the Free Lossless Audio Codec. It shrinks audio to about half to two-thirds of WAV size while keeping every bit of the original, so decoding gives back an exact copy. FLAC is the standard for archiving CDs and for high-resolution music downloads.
A .webm file is an open, royalty-free video format designed for the web. It is a restricted form of the Matroska container that holds VP8, VP9 or AV1 video with Vorbis or Opus audio. Browsers play WebM natively, and many screen recorders, GIF replacements and web downloads use it.
A .aac file is audio encoded with Advanced Audio Coding, the lossy codec designed to replace MP3. It sounds better than MP3 at the same bitrate and is the standard audio for YouTube, Apple Music, iPhones and most MP4 videos. A bare .aac file is a raw stream; AAC in a container is usually .m4a.
Frequently Asked Questions
How do I play an OGG file on a Mac or iPhone?
Use VLC, which is free on both, or play it in Chrome or Firefox on a Mac. Apple’s Music and QuickTime apps do not open Ogg Vorbis.
Is OGG better than MP3?
Ogg Vorbis and especially Opus generally sound better than MP3 at the same bitrate, but MP3 is supported by more devices.
What is a .opus file?
It is Ogg audio encoded with the Opus codec, popular for voice messages and streaming because it sounds good at low bitrates.