DocumentsImagesMediaPDF Tools

Convert MP4 to OGG (Vorbis) Online

Extract OGG Vorbis audio from MP4 video. Ideal for Linux, Android, and game engines. Free, in your browser.

Drag your file here

.mp4 · up to 100 MB

Processed in your browser — file never uploadedFree
Note: The first conversion loads the FFmpeg engine (~25MB). Subsequent conversions will be faster.

MP4 to OGG: free audio for free projects

Unity and Godot ready

OGG Vorbis is the native format for music and effects in the two main open-source game engines.

100% private

Your video never leaves your device. FFmpeg.wasm converts locally in WebAssembly.

Linux and Android ecosystem

OGG plays natively on all modern Linux distributions and Android without extra decoders.

Firefox without plugins

The HTML5 <audio> element in Firefox plays OGG Vorbis natively, no external codec needed.

Three steps, no hassle

1

Upload your MP4 file

Drag or select your .mp4 video. Up to 500 MB, no signup or installation.

2

AAC to Vorbis transcoding

FFmpeg.wasm decodes the AAC audio from the MP4 and re-encodes it to Vorbis inside an OGG container. All in your browser, no servers.

3

Download your OGG file

Audio ready for Linux, Firefox, Unity, Godot, Android, or any open-source platform.

Got questions?

OGG Vorbis is the reference audio format for the free and open-source software ecosystem. Unity and Godot — the two most popular game engines in the world — have native support for OGG Vorbis and recommend it for sound effects and background music because it is more efficient than MP3 for compressing audio with many mid and high frequencies. Firefox supports OGG Vorbis natively since version 3.5 (2009) without plugins. Linux distributions include OGG decoders in the base installation.

Converting MP4 to OGG involves double lossy compression: the original audio was compressed to AAC when the video was recorded, and it is now re-compressed to Vorbis. Each step introduces additional losses. The impact depends on bitrate: with Vorbis at quality q5 (approximately 160 kbps) or higher, the difference from the original is imperceptible in casual listening. For maximum fidelity — DAW samples, archival — consider converting to FLAC instead.

Yes. YouTube videos downloaded with yt-dlp or youtube-dl in MP4 format contain AAC-LC or Opus audio. Convertir.ai decodes that audio and transcodes it to OGG Vorbis. It is the most direct method for getting YouTube video audio in OGG format for open-source projects, provided you have the rights or the content is Creative Commons.

In Unity: drag the .ogg file into the project's Assets folder in the editor. Unity will automatically import it as an AudioClip. In Godot 4: drag the .ogg into the project's res:// folder. Godot recognizes it as OggPacketSequence and you can assign it directly to an AudioStreamPlayer node. Both engines recommend OGG Vorbis for background music and WAV for short sound effects requiring minimal latency.

OGG is a multimedia container that can hold both audio (Vorbis, Opus, FLAC) and video (Theora, Daala). The .ogg extension by convention is used for files containing only Vorbis audio. The .ogv extension is used for OGG files containing Theora video. Convertir.ai generates .ogg files with pure Vorbis audio, no video track.

OGG Vorbis uses a variable bitrate (VBR) system based on a scale of -1 to 10, where q0 is approximately 64 kbps and q10 is approximately 500 kbps. The default q5 produces files of 160-192 kbps, which is the optimal quality/size point for most content. For pure voice content (podcasts, game dialogue), q3 (112 kbps) is completely sufficient. For high-fidelity music, q7-q8 (224-256 kbps) is recommended.

Convert MP4 to OGG: free Vorbis audio from any video for Linux, games, and the web

Converting MP4 to OGG Vorbis is the standard operation for incorporating video audio into the free and open-source software ecosystem. The OGG format (developed by the Xiph.Org Foundation, specified in RFC 3533) is a patent-free, royalty-free multimedia container that can hold audio codecs such as Vorbis (the default codec, specified in RFC 5215), Opus (RFC 6716, developed by Xiph and optimized for voice and music in 2012), or lossless FLAC. Vorbis offers higher perceptual quality than MP3 at equivalent bitrates according to multiple blind listening tests (HydrogenAudio, 2005–2015), especially in the 80–160 kbps range. This technical characteristic, combined with the absence of royalties, made OGG Vorbis the standard audio codec for video game development with open-source engines during the first decade of the twenty-first century, a tradition that continues in current workflows with Unity and Godot.

The main use cases for MP4 to OGG cover video game development, web distribution with Firefox, and the Linux and Android ecosystem. In video game development: Unity imports .ogg files as AudioClip and compresses them internally using Vorbis for platforms that support it (PC, Linux, Android, WebGL). Godot 4 uses OGG Vorbis as the native format for background music AudioStream via the OggPacketSequence class, with direct disk streaming for large files. The standard process in game development for background music is: record or create the audio in WAV, edit it in Audacity or a DAW, export to OGG Vorbis q5–q7, import to the engine. Convertir.ai adds the prior step of extracting that audio from MP4 video recordings. In web distribution: the HTML5 <audio> element has native support for OGG Vorbis in Firefox (since version 3.5 in 2009) and Chrome (since version 3 in 2008), though Chrome dropped Android support in 2013 in favor of Opus, also in an OGG container.

Convertir.ai performs the MP4 to OGG Vorbis conversion entirely in the browser using FFmpeg.wasm. The technical pipeline involves, first, parsing the ISOBMFF container of the MP4 to extract the audio track, typically AAC-LC at 128–256 kbps in iPhone or YouTube videos. FFmpeg then executes AAC stream decoding using its native decoder, producing 32-bit floating-point PCM at the original sample rate (generally 44.1 kHz or 48 kHz). Those PCM samples are passed to the libvorbis encoder (Xiph.Org's reference Vorbis implementation) configured with VBR quality q5 (~160 kbps) by default. The Vorbis encoder segments the audio into overlapping analysis windows using the Modified Discrete Cosine Transform (MDCT), applies psychoacoustic masking to remove imperceptible frequencies, and packs the data into OGG pages. The result is an .ogg file with Vorbis audio ready for Linux, Firefox, Unity, Godot, and Android.