Convert AIF to AAC — Free Online Tool

Convert AIF files to AAC, transcoding Apple's lossless PCM audio (typically pcm_s16be) into AAC-LC compressed audio at 128kbps by default. This reduces large uncompressed AIF files to a fraction of their size while retaining excellent perceived audio quality for streaming, mobile playback, and iTunes compatibility.

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

AIF stores audio as raw, uncompressed PCM data — every sample is written directly to disk with no compression, which is why AIF files are so large. During this conversion, FFmpeg decodes the PCM stream (typically 16-bit big-endian signed integers, as used on Mac systems) and re-encodes it using AAC-LC, a perceptual lossy codec that analyzes the audio and discards frequency information that human hearing is least sensitive to. This is a full re-encode — not a remux — because the two formats are fundamentally incompatible at the codec level: AIF holds raw waveform data while AAC applies psychoacoustic compression. The output .aac file uses ADTS (Audio Data Transport Stream) framing, which is the standard bare AAC container. At 128kbps, most listeners find the result perceptually transparent for music and voice alike.

What Each Flag Does

Flag What it does
ffmpeg Invokes the FFmpeg binary — the open-source multimedia processing engine that handles decoding the AIF PCM audio and re-encoding it to AAC. In this browser tool, FFmpeg runs locally via WebAssembly (FFmpeg.wasm) with no server involved.
-i input.aif Specifies the input file — an AIF audio file containing uncompressed PCM audio data. FFmpeg reads the IFF-based AIF container and extracts the raw PCM audio stream (typically pcm_s16be) for decoding.
-c:a aac Sets the audio codec to FFmpeg's built-in AAC-LC encoder, which compresses the decoded PCM samples using psychoacoustic modelling to produce a lossy AAC audio stream compatible with Apple devices, browsers, and streaming platforms.
-b:a 128k Targets an audio bitrate of 128 kilobits per second for the AAC output. This is the standard default for AAC and strikes a balance between file size and perceived audio quality — roughly a 10x reduction in size compared to the original 16-bit AIF at 44.1kHz.
output.aac Defines the output filename and tells FFmpeg to write the AAC stream using ADTS framing, the standard bare AAC container format. The .aac extension is widely recognized by media players, mobile devices, and Apple software.

Common Use Cases

  • Preparing high-quality AIF recordings from a DAW or audio interface for upload to Apple Music, Spotify, or other streaming platforms that accept AAC
  • Reducing the file size of large AIF samples or sound effects libraries so they can be embedded in mobile apps or games without exceeding asset bundle size limits
  • Converting AIF voice-over recordings delivered by a studio into AAC for use in podcast episodes, YouTube videos, or e-learning courses
  • Making AIF files recorded on a Mac compatible with Android devices, smart TVs, or web browsers that do not support the AIF container
  • Archiving a final AIF mix in a distribution-ready AAC format for iTunes or Apple Podcasts, which natively prefer AAC over PCM audio
  • Shrinking AIF field recordings or interviews for sharing via email or cloud storage where file size constraints make uncompressed audio impractical

Frequently Asked Questions

Because AIF is lossless PCM and AAC is lossy, this conversion is irreversible and does introduce some quality loss. However, AAC is one of the most efficient perceptual codecs available, and at 128kbps the difference from the original is inaudible to most listeners on typical playback equipment. For critical listening or mastering work you should keep the original AIF; for distribution, streaming, or sharing, 128kbps AAC is widely considered 'transparent' for most content types.
AIF stores uncompressed PCM, so a stereo 16-bit AIF file at 44.1kHz uses about 10MB per minute. The same audio encoded to AAC at 128kbps uses roughly 1MB per minute — approximately a 10:1 size reduction. Higher-resolution AIF files (24-bit or 32-bit, stored with pcm_s24be or pcm_s32be) produce even larger originals, making the size savings from AAC conversion even more dramatic.
FFmpeg will attempt to copy ID3-style metadata embedded in the AIF file (such as title, artist, and album) into the output AAC file. However, AIF uses IFF chunk-based metadata (ANNO, NAME, AUTH tags) which differs from the iTunes-style metadata AAC players expect. Some tags may not transfer cleanly, and artwork embedded in AIF is not always preserved. It is recommended to verify and re-tag the output AAC file with a tool like MusicBrainz Picard or iTunes after conversion.
Yes — AAC is Apple's preferred audio format and is natively supported across all Apple platforms including iTunes, Apple Music, iPhone, iPad, and Apple TV. The .aac output file using ADTS framing will import cleanly into iTunes and play on any iOS or macOS device. If you need the file wrapped in an MPEG-4 container for broader compatibility, you can change the output filename to output.m4a in the FFmpeg command, which wraps the same AAC audio in an M4A container.
The -b:a 128k flag controls the output bitrate. You can replace 128k with any standard AAC bitrate: 64k for voice or podcasts with minimal file size, 192k or 256k for high-fidelity music, or 320k for the highest quality AAC output. For example, to convert at 256kbps run: ffmpeg -i input.aif -c:a aac -b:a 256k output.aac. Note that increasing the bitrate above 256k provides diminishing returns with AAC, unlike MP3.
Yes. On Linux or macOS, you can use a shell loop to process an entire folder: for f in *.aif; do ffmpeg -i "$f" -c:a aac -b:a 128k "${f%.aif}.aac"; done. On Windows Command Prompt, use: for %f in (*.aif) do ffmpeg -i "%f" -c:a aac -b:a 128k "%~nf.aac". This is especially useful for converting large AIF sample libraries or album archives in one step.

Technical Notes

AIF encodes audio as big-endian PCM, with pcm_s16be (16-bit) being the most common variant, though professional recordings often use pcm_s24be (24-bit) or pcm_s32be (32-bit). All of these are decoded to a floating-point internal representation by FFmpeg before being passed to the AAC encoder. The built-in FFmpeg AAC encoder (aac) used here produces AAC-LC (Low Complexity) output, which is the most universally compatible AAC profile. If you have FFmpeg compiled with libfdk_aac support, substituting -c:a libfdk_aac generally yields slightly better quality at equivalent bitrates, as the Fraunhofer FDK encoder is considered superior to FFmpeg's native AAC encoder. The output file uses ADTS framing (.aac extension), which lacks a seekable index; if you need chapter support, cover art embedding, or reliable seeking in media players, consider using .m4a as the output extension instead, which wraps the AAC stream in an MPEG-4 container. AIF does not support multiple audio tracks, subtitles, or chapters, so none of those concerns apply to this conversion.

Related Tools