Convert AIFF to OGG — Free Online Tool
Convert AIFF audio files to OGG Vorbis format, compressing Apple's uncompressed PCM audio into an efficient, open-source lossy format ideal for web streaming and Linux-friendly applications. The conversion encodes your lossless AIFF source through the libvorbis codec at a balanced quality level, dramatically reducing file size while retaining perceptually transparent audio quality.
to
FFmpeg Command
Copy this command to run the same conversion locally with FFmpeg on your desktop. Download FFmpeg
Drop your AIFF file here
or click to browse
Free — no uploads, no signups. Your files never leave your browser.
Settings
Note: Browser-based encoding uses approximate quality targets. For precise CRF compression, copy the FFmpeg command above and run it on your desktop.
Estimated output:
Conversion Complete!
DownloadHow It Works
AIFF stores audio as raw, uncompressed PCM samples (typically 16-bit, 24-bit, or 32-bit big-endian integers) with no psychoacoustic compression applied — what you have is every sample, exactly as recorded. During conversion to OGG, FFmpeg decodes those raw PCM samples from the AIFF container and feeds them into the libvorbis encoder, which applies a perceptual audio model to discard frequencies and details the human ear is unlikely to notice. The result is wrapped in an OGG container — a flexible, open Xiph.Org format. Because Vorbis is inherently lossy, this is a one-way transformation: the original uncompressed audio data cannot be fully recovered from the OGG output, though at quality level 4 the difference is inaudible to most listeners under normal playback conditions.
What Each Flag Does
| Flag | What it does |
|---|---|
ffmpeg
|
Invokes the FFmpeg multimedia processing tool, which handles decoding the AIFF input, passing raw PCM samples to the Vorbis encoder, and writing the OGG container output. |
-i input.aiff
|
Specifies the input AIFF file. FFmpeg automatically detects the PCM audio codec (such as pcm_s16be or pcm_s24be) and big-endian byte order used by the AIFF format and prepares the samples for re-encoding. |
-c:a libvorbis
|
Selects the libvorbis encoder for the audio stream, converting the uncompressed AIFF PCM data into OGG Vorbis — an open, patent-free lossy audio format widely supported in browsers, Linux systems, and open-source game engines. |
-q:a 4
|
Sets the Vorbis variable bitrate quality to level 4 on a 0–10 scale, targeting approximately 128–160 kbps. This is the recommended default for general-purpose conversion from a high-quality AIFF source, balancing perceptual transparency with a substantial reduction in file size compared to the uncompressed original. |
output.ogg
|
Defines the output filename and tells FFmpeg to wrap the encoded Vorbis audio stream in an OGG container, the standard and most compatible pairing for Vorbis audio. |
Common Use Cases
- Preparing high-quality AIFF masters from a Mac recording session for distribution on a Linux-based web server or game engine that natively supports OGG Vorbis
- Reducing the storage footprint of an AIFF audio library for use in a web application or HTML5 game where browser-compatible, bandwidth-efficient audio is required
- Converting Apple Logic Pro or GarageBand AIFF exports to OGG so they can be embedded in open-source projects or platforms that avoid proprietary formats
- Archiving large AIFF field recordings or podcast raw files to OGG Vorbis for long-term storage where space is limited but quality degradation must remain imperceptible
- Providing OGG audio alternatives alongside MP3 versions of tracks to support Firefox and Chromium-based browsers that prefer open audio formats
- Converting AIFF sound effects or music beds from a professional audio workstation into OGG for use in a Godot, Ren'Py, or other open-source game engine project
Frequently Asked Questions
Yes — AIFF is lossless and uncompressed, while OGG Vorbis is a lossy format, so some audio data is permanently discarded during encoding. However, Vorbis at quality level 4 (approximately 128–160 kbps variable bitrate) is considered transparent for most listeners on typical playback systems, meaning the difference from the AIFF original is effectively inaudible in normal use. If you need to preserve every bit of the original for mastering or archival purposes, consider converting to OGG FLAC instead, which is lossless.
AIFF stores audio as raw, uncompressed PCM samples — a 3-minute stereo track at 16-bit/44.1 kHz takes roughly 30 MB. OGG Vorbis uses psychoacoustic compression to model what the human ear can and cannot perceive, then encodes only the perceptually significant information. At quality level 4, you can expect file sizes roughly 85–90% smaller than the original AIFF, making it practical for web delivery and storage-constrained environments.
Adjust the -q:a value, which ranges from 0 (lowest quality, smallest file) to 10 (highest quality, largest file) for libvorbis. For example, use -q:a 6 for higher quality (~192 kbps) or -q:a 2 for smaller files (~96 kbps). The default in this tool is -q:a 4, which targets roughly 128–160 kbps and is a widely accepted balance between quality and file size for general listening.
Yes — Opus is a more modern, efficient codec also supported in the OGG container. To use it, replace -c:a libvorbis -q:a 4 with -c:a libopus -b:a 128k in the FFmpeg command, giving you: ffmpeg -i input.aiff -c:a libopus -b:a 128k output.ogg. Opus generally achieves better quality than Vorbis at the same bitrate, especially below 128 kbps, and is well supported in modern browsers. However, Vorbis has broader legacy compatibility with older software and game engines.
FFmpeg will attempt to map AIFF metadata (such as title, artist, and album fields stored as ID3-style tags or AIFF chunks) to OGG Vorbis comment tags during conversion. However, AIFF's metadata support is more limited than OGG's, so not all fields may transfer perfectly. It is advisable to verify metadata in the output file using a tag editor and manually re-enter any missing fields, especially for tracks intended for music distribution platforms.
The command shown is for a single file, but you can adapt it for batch processing on your desktop. On Linux or macOS, run: for f in *.aiff; do ffmpeg -i "$f" -c:a libvorbis -q:a 4 "${f%.aiff}.ogg"; done — this loops through every AIFF file in the current directory and converts each one to OGG with the same quality settings. On Windows Command Prompt, use: for %f in (*.aiff) do ffmpeg -i "%f" -c:a libvorbis -q:a 4 "%~nf.ogg". The browser-based tool processes one file at a time, so for large batches the FFmpeg command is the more practical option.
Technical Notes
AIFF files can carry audio at various bit depths — 16-bit, 24-bit, 32-bit integer, or even 32/64-bit float PCM — all in big-endian byte order, which is characteristic of Apple's historical hardware architecture. When encoding to OGG Vorbis via libvorbis, FFmpeg internally converts the PCM data to 32-bit float samples before the Vorbis encoder processes them, so high bit-depth AIFF sources (24-bit or 32-bit) are handled correctly without manual resampling. The -q:a (VBR quality scale) mode used here is strongly preferred over fixed bitrate (-b:a) for Vorbis, as the encoder is optimized for VBR and produces noticeably better results at equivalent file sizes. OGG supports chapter markers and multiple audio tracks at the container level, though AIFF carries neither of these features, so those OGG capabilities are irrelevant in this conversion path. If your AIFF files originate from professional recording sessions at 24-bit/96 kHz or higher, be aware that Vorbis encoding is lossy regardless of source quality — for archival use cases, retaining the original AIFF or converting to a lossless format like FLAC inside OGG is a safer long-term strategy.