.OGG

OGG File

Ogg Vorbis Audio File
Ask a question
QUICK ANSWER

An OGG file is compressed audio using the Vorbis codec inside an Ogg container, both made by the Xiph.Org Foundation as free, patent-unencumbered alternatives to MP3. VLC media player opens it on any platform; foobar2000 and MediaMonkey work on Windows. When a device rejects it (iPhone, car stereo), convert OGG to MP3 with VLC, Audacity, or ffmpeg.

Developer: Xiph.Org Foundation Category: Audio Files Open standard MIME: audio/ogg
OPENS ON Windows macOS Linux Android iOS Web
Related: .OPUS · .M3U · .M3U8 · .WFP

On this page

19k+ extensions indexed
Last reviewed Sep 11, 2026

Not sure what your file is?

Drop any file into our identifier - we read just the first bytes to name the format.

Identify a file

What is the OGG file format?

.ogg files refer to both audio and multimedia container files, meaning they can include compressed audio, video or text data (for example: subtitles) and metadata. This changed in 2007, when the Xiph.Org Foundation - creator of the container format - decided to create separate file extensions for specific types of multimedia. Other extensions in the Ogg family include .ogv for video, .oga for dedicated audio, .ogx for multiplexed streams, .spx for Speex speech audio, and .opus - the modern successor to the Vorbis codec.

Since 2007, the .ogg extension should be used only for audio files encoded with the Vorbis codec.

A file in the .ogg format stores audio data in a compressed form using the Vorbis lossy codec. .ogg files have common features with .mp3 files: both use psychoacoustic compression to reduce file size. However, Vorbis can deliver better perceived quality while maintaining the same file size, and unlike MP3 it is fully open and patent-free. .ogg files also contain metadata in the form of Vorbis Comments - UTF-8 key=value pairs carrying information about artists, tracks, and albums.

The Vorbis encoder works at variable bitrate (VBR) by default, with quality levels from -2 to 10 translating to average bitrates of roughly 32 kbps to 500 kbps. All .ogg files open with the four-byte magic sequence OggS at byte offset 0, identifying the Ogg container, while the string vorbis inside the first page's identification header marks the Vorbis codec specifically.

Security & safety

RISK: LOW

An .ogg file is passive compressed audio - it contains no executable code, so the format itself is safe to open. Standard media caveats apply: malformed files can target bugs in a player's decoder, so keep VLC/players updated; and game-extracted or downloaded audio may be copyrighted. Beware fake "OGG player" downloads from portal/ad sites bundling adware - use VLC, foobar2000 or Audacity from their official sites instead.

Format details

in a nutshell
FULL NAMEOgg Vorbis Audio File
DEVELOPERXiph.Org Foundationsince 2000 (Ogg container); Vorbis 1.0 codec released July 2002
CATEGORYAudio Files
MIME TYPEaudio/ogg
TYPElossy compressed audio - Vorbis codec in an Ogg container
STANDARDOpen · royalty-free
This extension is also used by…
  • Ogg Opus / Ogg FLAC audio - The .ogg extension is sometimes used for Opus or FLAC audio in an Ogg container, though .opus/.oga are the correct extensions for those.
  • Ogg Theora video (OGV) - An Ogg container can carry Theora video; such files are normally given the .ogv extension but occasionally appear as .ogg.
  • Game audio asset - Many games (Unity, Source engine, RPG Maker) ship sound effects and music as .ogg Vorbis files inside their data archives.
MAGIC BYTES · FILE SIGNATURE
OFFSET
00010203
HEX
4F676753
ASCII
OggS
"OggS" identifies the Ogg container, not the codec. For Vorbis the string "vorbis" follows inside the first page's identification header (around offset 29). The same container can hold Opus ("OpusHead"), FLAC, Theora video or Speex - so a .ogg/.ogv/.oga file can be more than just Vorbis audio.

Programs that open OGG files

Windows5 apps
VLC media player Open-source Drag the .ogg onto VLC - plays Vorbis (and any other Ogg codec) out of the box.
Audacity Open-source File → Open to import and edit the .ogg; export to WAV/MP3/OGG.
MediaMonkey Freemium Add the file to the library to play and manage Ogg Vorbis tracks.
Foobar2000 Free Open the file directly; native Vorbis playback plus conversion/tagging support.
Web Media Extensions (Microsoft) Free Install from the Microsoft Store to add Ogg Vorbis playback to Windows Media Player and Edge.
macOS2 apps
VLC media player Open-source Plays .ogg natively - Apple Music/QuickTime do not support Vorbis.
IINA Open-source Modern native macOS player (mpv-based) that opens .ogg directly.
Linux2 apps
VLC media player Open-source Plays .ogg; virtually every Linux player (mpv, Rhythmbox, Audacious) supports Vorbis via GStreamer.
Amarok Open-source KDE music player; still maintained - add the file to the collection to play.
Android1 app
VLC for Android Open-source Open the .ogg from the Audio tab; Android also plays Vorbis natively in most stock players.
iOS1 app
VLC for iOS Open-source Share/Open the .ogg in VLC - iOS built-in apps don't support Vorbis.
Web1 app
Any modern browser Built-in Firefox, Chrome and Edge play Ogg Vorbis natively; just open the file URL (Safari does not).

Technical details

deep spec
MIME typeaudio/ogg
Magic bytes4F 67 67 53 ("OggS") at byte offset 0
CodecVorbis (lossy psychoacoustic compression)
Container formatOgg bitstream (pages of up to 65,536 bytes)
Bitrate modeVariable bitrate (VBR) by default; ABR and CBR modes also available
Quality / bitrate rangeQuality settings -2 to 10, yielding approximately 32-500 kbps average bitrate
Supported channelsMono, stereo, and up to 255 discrete audio channels
Sample rate support8 kHz to 192 kHz
Internal processing32-bit floating-point MDCT (Modified Discrete Cosine Transform)
Metadata formatVorbis Comment - UTF-8 key=value pairs embedded in the second Ogg page
Codec identificationString "vorbis" at approximately byte offset 29 inside the first Ogg page header
EndiannessLittle-endian
SeekingRandom access supported via Ogg page granule positions
DeveloperXiph.Org Foundation
Released2000 (Ogg container); Vorbis 1.0 codec released July 2002
Open standardYes · royalty-free
Specificationxiph.org

OGG conversions

Community Q&A

asked by users
Ask a quick question
Get help from people who work with OGG files. Be specific - include your system and software version.
No account needed · answers usually within a day

No questions yet - be the first to ask about OGG files.

Frequently asked questions

How do I open an OGG file?
Use VLC media player (free, Windows/macOS/Linux/Android/iOS) - it plays Ogg Vorbis out of the box. On Windows you can also install Microsoft's free Web Media Extensions to play .ogg in the built-in Media Player.
How do I convert OGG to MP3?
VLC: Media → Convert/Save → choose an MP3 profile. Audacity and foobar2000 also export MP3, and ffmpeg does it on the command line: ffmpeg -i file.ogg file.mp3. Use 192 kbit/s or higher to minimize quality loss.
Why won't my iPhone play OGG files?
Apple's built-in apps don't support the Vorbis codec. Install VLC for iOS to play .ogg directly, or convert the file to MP3/M4A first.
Is OGG better than MP3?
Technically yes - at the same bitrate Ogg Vorbis sounds clearly better, especially at low bitrates, and it's completely free/patent-free. MP3 only wins on universal device support.
What's the difference between OGG, OGA, OGV and OPUS?
Ogg is the container. .ogg/.oga hold audio (usually Vorbis), .ogv holds video (usually Theora), and .opus holds the newer Opus codec. They're all Ogg files with different codecs inside.
Why do games use OGG files?
Vorbis is free of licensing fees and compresses well, so game engines (Unity, Source, RPG Maker) store music and sound effects as .ogg to save space without paying codec royalties.

References

1RFC 3533 - The Ogg Encapsulation Formatdatatracker.ietf.org
2Xiph.Org - Vorbis documentationxiph.org

Keep exploring

across the database

Top extensions this week

1.AQQAQQ Instant Messenger File
2.CRDOWNLOADChrome Partial Download File
3.PARTPartial Download File
4.EXEWindows Executable (Portable Executable)
5.DATProgram Data File (generic)
6.BINCD/DVD Disc Image (BIN/CUE)
7.RPMSGRestricted Permission Message
8.NOMEDIAAndroid No-Media Marker File
9.MDMarkdown Document
10.TMPTemporary File

Related extensions

.OPUSOpus Audio File (Ogg Opus)
.M3UM3U Media Playlist (MP3 URL)
.M3U8UTF-8 M3U Playlist / HLS (HTTP Live Streaming) Playlist
.WFPWaveFront Program file (Turtle Beach)
.XSPFXSPF - XML Shareable Playlist Format (pronounced 'spiff')
.AMRAdaptive Multi-Rate (AMR) audio

Free file tools

An in-browser file identifier and image converter - everything runs on your device.

Open the toolbox

Browse file extensions A-Z