.ogg Ogg audio
Audio
| MIME type | audio/ogg audio/x-flac+ogg audio/x-speex+ogg audio/x-vorbis+ogg video/ogg video/x-theora+ogg |
|---|---|
| Description | Ogg audio |
| Category | Audio |
| Signature (magic bytes) | 4F 67 67 53 (OggS) |
| Based on | application/ogg |
| Other extensions | .oga, .opus |
Frequently asked questions
What is a .ogg file?
The .ogg extension is used for several formats: Ogg audio (audio/ogg), Ogg FLAC audio (audio/x-flac+ogg), Ogg Speex audio (audio/x-speex+ogg), Ogg Vorbis audio (audio/x-vorbis+ogg), Ogg video (video/ogg) and Ogg Theora video (video/x-theora+ogg).
How do I open a .ogg file?
With a media player such as VLC, which plays almost every audio format; on Windows also Media Player, on macOS Music or QuickTime. To edit it, use Audacity for example.
How can you tell a genuine .ogg file?
By the bytes at the start of the file, the signature (magic bytes): 4F 67 67 53 (OggS). On Linux and macOS, file --mime-type example.ogg checks the real type regardless of the extension.
Which format is .ogg based on?
Technically a .ogg file is a subtype of “Ogg multimedia file” (application/ogg), so programs for that base format can often read it too.
Which MIME type belongs to .ogg?
The MIME type is audio/ogg. In the Apache web server: AddType audio/ogg .ogg; in nginx: types { audio/ogg ogg; }.