File types / Audio

.ogg file

Ogg container

Extensions
.ogg, .oga
MIME type
audio/ogg
Signature
4F 67 67 53  (OggS)at byte offset 0
Safety
Low risk

What is a .ogg file?

Ogg is an open container, most often holding Vorbis or Opus audio. It is common in games and open-source projects.

Each page of an Ogg stream begins with the four letters OggS.

Used for: Open audio and game assets.

How can I tell if a file is really a OGG?

Read its first bytes rather than trusting the name. A genuine OGG file has the signature 4F 67 67 53 (OggS) at byte offset 0. The File Identity tool reads these bytes in your browser, so the file is never uploaded.

To compare the name against the content, use Validate Extension. To see the raw bytes, use Safe File Preview.

Is a .ogg file safe to open?

Ogg is a media container and does not execute code.

Easy to confuse

Ogg is the container; Vorbis and Opus are the codecs inside it.