Skip to content

OggToMp3

What Is an OGG File? Codecs and How to Open One

An .ogg file is an audio file in the open Ogg format, usually compressed the way an MP3 is. Check and play yours here, or turn it into an MP3 with the converter.

What Is an OGG File? Codecs and How to Open One

Check what is inside an .ogg file

Drop a file here or pick one to see whether it really is OGG and which audio it holds, and to play it. Nothing is uploaded.

How to Open an OGG File

On a computer, drag the file into an empty tab of Chrome, Edge or Firefox, and it plays. Safari does the same from version 18.4; before that version it does not play .ogg files (MDN, media container formats), which is why an older iPhone, iPad or Mac stays silent. On a phone, or when nothing happens, you have three ways:

  • Play the file with the checker at the top of this page. It decodes the file on your device when the browser cannot.
  • Open it in the Online OGG File Player, which adds a queue, a speed control and a loop button.
  • Turn it into an MP3 with the OGG to MP3 Converter, so that it plays on any device. Renaming the file to .mp3 does not do that: the content stays OGG.

What Is a .OGG File Used For?

Ogg is an open format that anyone may use without paying for a license. You mostly meet it in two places:

  • Games and virtual tabletops: RPG Maker MZ, Godot, Minecraft resource packs and Foundry VTT take .ogg files with Vorbis audio for music and sound effects; OGG for games links to what each one says.
  • Voice notes: WhatsApp, for one, works with voice messages as .ogg files with Opus audio; the guide to voice notes links to its documentation. Opened in Safari on an iPhone before version 18.4, such a file stays silent, and the OGG to MP3 Converter turns it into an MP3.

Is it lossless? Almost never. The audio in an .ogg file is usually Vorbis or Opus, and both leave out detail to make the file smaller, as MP3 does. OGG is an open alternative to MP3, not to FLAC; MP3 vs OGG compares the two.

What Is an OGG Vorbis File vs. OGG Opus?

Ogg is the container: the wrapper around the audio. Vorbis and Opus are the two kinds of audio you find in it, and the file ends in .ogg for both.

  • Ogg Vorbis (Vorbis I specification) is the older one, and the one games expect.
  • Ogg Opus (RFC 7845) is newer. It keeps speech clear at lower bitrates than Vorbis or MP3, and it always works at 48 kHz.

The checker tells you which one your file holds. That matters when a game or a program refuses the file: one that expects Vorbis does not read Opus, and Convert Audio to OGG turns one into the other.

How to Make an OGG File

The MP3 to OGG Converter turns MP3 files into OGG, and Convert Audio to OGG takes WAV, FLAC, M4A and AAC files. Both start with Vorbis at q5, about 160 kbps, the kind games take; choose Opus there for a voice recording.

OGG Format Specification and Container Structure

Every .ogg file begins with the four bytes 4F 67 67 53, which are the letters OggS. The checker shows them as First 4 bytes, and that is how it tells a real OGG file from one that was only renamed. The format is defined in RFC 3533: it packs the audio into pages, each with a small header, and does no compression itself. Its media types are audio/ogg and application/ogg. An Ogg file is not always audio: the format can also hold video, and the checker tells you when a file holds a Theora video stream instead of Vorbis or Opus.

To tell the two kinds of audio apart without this page, open the file in a hex editor and read the first bytes:

Where What is there
The first 4 bytes OggS, the start of every page
The rest of the page header, 27 bytes with these 4 Version, serial number and checksum, then a short table with the sizes of what follows
The first packet of a Vorbis file The byte 01 and the word vorbis, then a version, the channels and the sample rate
The first packet of an Opus file The word OpusHead, then a version and the channels

Does a device refuse your OGG file?

Turn Ogg Vorbis or Opus into MP3 at 128 to 320 kbps, up to 50 files at a time.

OGG to MP3