Convert AAC to OGA — Free Online Tool

Convert AAC audio files to OGA format by transcoding the AAC stream into Vorbis audio inside an Ogg container — a fully open, patent-free alternative. This is ideal for projects that require open standards or Linux-friendly formats without sacrificing reasonable audio quality.

FFmpeg Command

Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg

Free — no uploads, no signups. Your files never leave your browser.

Estimated output:

Conversion Complete!

Download

How It Works

AAC (Advanced Audio Coding) stores audio as a lossy-compressed stream, typically found in Apple ecosystems and streaming services. OGA is an Ogg-based container that most commonly carries Vorbis audio. Because AAC and Vorbis are entirely different codecs with incompatible bitstream formats, the conversion cannot simply remux the stream — the audio must be fully decoded from AAC back to raw PCM, then re-encoded using the libvorbis encoder. This is a lossy-to-lossy transcode, meaning some audio generation loss occurs as each codec applies its own perceptual compression model. The output file uses Vorbis's variable-bitrate quality scale, defaulting to quality level 4, which targets roughly 128–160 kbps and is considered a transparent quality level for most listeners.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg program, the open-source multimedia processing engine that powers both this browser-based tool (via FFmpeg.wasm) and local desktop conversions.
-i input.aac Specifies the input file — in this case, a .aac audio file. FFmpeg will use its built-in AAC decoder to decompress this stream into raw PCM audio before re-encoding.
-c:a libvorbis Sets the audio codec for the output to libvorbis, which encodes the decoded PCM audio into Ogg Vorbis format — the default and most common audio codec used inside OGA containers, and a fully open, patent-free alternative to AAC.
-q:a 4 Sets the Vorbis variable bitrate quality level to 4 on a 0–10 scale, targeting approximately 128–160 kbps. This is considered a transparent quality level suitable for music and speech, balancing file size with audio fidelity after the lossy-to-lossy transcode from AAC.
output.oga Specifies the output filename with the .oga extension, which signals to both FFmpeg and media players that this Ogg container holds audio-only content encoded with Vorbis. FFmpeg infers the Ogg container format from this extension automatically.

Common Use Cases

  • Preparing audio files for playback in Linux environments or open-source media players like VLC or Rhythmbox that prioritize Ogg Vorbis support over proprietary formats
  • Replacing AAC files in a web project that must use only open, royalty-free formats under a strict open-source licensing policy
  • Contributing audio content to a wiki or community platform (such as Wikimedia Commons) that exclusively accepts open container formats like OGA
  • Converting iTunes or Apple Music-exported AAC files into OGA for use in a FOSS game engine or interactive media project that bundles Ogg Vorbis natively
  • Archiving or distributing spoken-word or podcast audio in an open format that remains decodable without proprietary software dependencies
  • Batch-converting a music library acquired in AAC format to OGA so it integrates with a self-hosted open-source music server like Navidrome or Funkwhale

Frequently Asked Questions

Yes, there is a small but real quality loss. AAC is already a lossy format, so the audio has already been compressed once. Converting to Vorbis requires decoding the AAC back to raw PCM and then re-encoding with libvorbis, which applies a second round of lossy compression. The degradation is typically subtle at quality level 4 (roughly 128–160 kbps equivalent), but it is not a lossless transfer. If audio fidelity is critical, starting from a lossless source like FLAC is always preferable.
OGA with Vorbis audio is widely supported in Firefox, Chrome, and Opera, as well as popular desktop players like VLC and Audacious. However, Safari and most Apple devices do not natively support Ogg Vorbis playback, since Apple favors AAC. For broad cross-platform compatibility including iOS and macOS, AAC remains the stronger choice — OGA/Vorbis is best suited for open-source and Linux-centric environments.
The -q:a 4 flag sets libvorbis to quality level 4 on a scale of 0 to 10, which targets a variable bitrate of approximately 128–160 kbps and is considered transparent for most audio content. To increase quality, raise the value — for example, -q:a 6 targets around 192 kbps, and -q:a 8 targets around 256 kbps. To reduce file size at the cost of quality, lower it to -q:a 2 or -q:a 1. You can copy the FFmpeg command displayed on this page and modify the -q:a value to suit your needs.
Yes — the OGA container supports FLAC audio, which is lossless. You could modify the FFmpeg command to use -c:a flac instead of -c:a libvorbis to encode the output as lossless FLAC inside an Ogg container. However, since the AAC source is already lossy, the FLAC output will be a lossless capture of the already-degraded audio, not a true lossless original. The resulting file will also be significantly larger than a Vorbis-encoded OGA.
FFmpeg generally attempts to copy compatible metadata such as title, artist, album, and track number during conversion. However, AAC files (particularly those in the M4A/MP4 container variant) use iTunes-style atom tags, while OGA uses Vorbis comment tags. FFmpeg maps common fields automatically, but some custom or extended iTunes metadata fields may not carry over. Artwork embedded in the AAC file is typically not preserved in the OGA output.
Yes. On Linux or macOS, you can use a shell loop: for f in *.aac; do ffmpeg -i "$f" -c:a libvorbis -q:a 4 "${f%.aac}.oga"; done. On Windows with PowerShell, use: Get-ChildItem *.aac | ForEach-Object { ffmpeg -i $_.FullName -c:a libvorbis -q:a 4 ($_.BaseName + '.oga') }. This is especially useful for larger files over 1GB that exceed the browser tool's limit, since FFmpeg runs natively on your machine without file size restrictions.

Technical Notes

The conversion from AAC to OGA/Vorbis is a full codec transcode — there is no stream copying possible because the two codecs are entirely incompatible at the bitstream level. FFmpeg uses its built-in AAC decoder to decompress the source audio to raw PCM, then passes it to the libvorbis encoder. The libvorbis encoder operates in variable bitrate (VBR) mode when using -q:a, which typically produces better quality-per-bit than a fixed bitrate (CBR) encoding. The OGA container is simply the Ogg container with a .oga extension conventionally indicating audio-only content; the format supports chapters natively (via Ogg skeleton or cue metadata), though chapter data from the source AAC file is unlikely to be present or carried over. The OGA format does not support video streams or subtitle tracks, and neither does AAC, so no data of those types is lost. One important limitation: AAC files distributed via Apple's FairPlay DRM cannot be decoded by FFmpeg — only DRM-free AAC files (such as those exported from GarageBand, recorded via a microphone, or purchased as iTunes Plus) will convert successfully.

Related Tools