Advanced Audio Coding (.aac)

ISO/IEC Standard

Advanced Audio Coding (AAC) is the standardized successor to MP3, designed to provide superior compression efficiency and auditory fidelity across identical bitrates.

Convert AAC to MP3

Free in-browser AAC to MP3 converter. Convert files instantly on your device.

Inspect & Metadata

Operating systems and file analyzers identify AAC files by inspecting the leading binary byte sequence:

Select or drop files here

100% private in-browser conversion - files never leave your device

or paste Ctrl+V
Zero-Network-Transmission Privacy Guarantee: 0 bytes uploaded to external servers. All processing occurred locally in your browser sandbox.

Byte-Level Header Signature (Magic Bytes)

Operating systems and file analyzers identify AAC files by inspecting the leading binary byte sequence:

HEX SIGNATURE (OFFSET 0):

FF F1

ASCII REPRESENTATION: ÿñ

Standardization: ISO/IEC 13818-7 / ISO/IEC 14496-3

Technical Specifications

Container ArchitectureADTS (Audio Data Transport Stream) bitstream or MPEG-4 Part 14 container
CompressionModified Discrete Cosine Transform (MDCT) with temporal noise shaping and psychoacoustic modeling
Byte EndiannessBig-Endian bitstream framing
Color SpacesN/A (Audio Bitstream)
Channels & StructureUp to 48 discrete audio channels with arbitrary speaker mapping
Max DimensionsSample rates from 8 kHz up to 96 kHz (16/24-bit PCM source)
TransparencyPerceptual lossy coding; transparent quality achieved around 192-256 kbps stereo
Streaming & ProgressiveNative ADTS frame synchronization words enable arbitrary byte-stream streaming

Technical Comparison Matrix: AAC vs Competitors

Technical AttributeAAC (Current)MP3OGGOPUS
Compression EfficiencyHigh; transparent stereo at 128-192 kbpsModerate; requires 192-256 kbpsHigh; comparable to AAC at 160 kbpsUltra-high; transparent at 96-128 kbps
Max Channels48 discrete channels2 channels (stereo) / 5.1 in MPEG-2255 discrete channels255 discrete channels
Hardware Acceleration100% universal across all mobile and desktop silicon100% legacy silicon supportLimited dedicated DSP hardware chipsGrowing browser & Android/iOS hardware support
Algorithmic DelayModerate (~100 ms buffer delay)High (~100-150 ms)Moderate (~100 ms)Ultra-low (5-26.5 ms, optimized for VoIP)

Common Corruption Modes & Hex Recovery Guide

Media player loops or produces high-pitch digital static bursts.

Root Cause: Desynchronization of ADTS frame headers due to packet loss or missing 12-bit syncwords.

Recovery: Repackage raw AAC audio into an MP4/M4A container using ffmpeg -i broken.aac -c:a copy fixed.m4a to rebuild frame indexes.

Security Analysis & Parser Attack Vectors

AAC decoders operate in high-throughput audio DSP loops where malformed packet lengths can trigger integer overflows in software implementations.

Known Attack Vectors

  • Integer overflow in ADTS frame length fields causing buffer over-reads in unpatched C++ decoders.
  • Crafted channel configuration bits triggering invalid memory writes during multichannel downmixing.
  • Out-of-bounds heap allocation during SBR (Spectral Band Replication) synthesis table parsing.

Defensive Best Practices: Decode AAC files in sandboxed memory spaces using memory-safe WASM libraries or operating system media frameworks.

Historical Origins & Milestones

2003Apple Computer selects AAC as the default audio format for the iTunes Store and iPod line.
1999Incorporated into the MPEG-4 standard as ISO/IEC 14496-3 with High-Efficiency AAC (HE-AAC) profiles.
1997Standardized under ISO/IEC 13818-7 as MPEG-2 Part 7, outperforming MPEG-1 Layer III at all bitrates.

Key Advantages & Pros

  • Superior audio transparency compared to MP3 at equivalent and lower bitrates (e.g., 128 kbps vs 192 kbps).
  • Native support for up to 48 full-bandwidth audio channels for surround sound and Dolby Pro Logic workflows.
  • Universal native hardware decoding across iOS, Android, macOS, Windows, and consumer smart televisions.

Technical Limitations & Cons

  • Perceptual lossy encoding discards inaudible harmonic frequencies, making it unsuited for audio mastering.
  • ADTS bitstreams lack embedded seeking tables without containerization in MP4 (M4A) wrappers.
  • Patent pool licensing administered by Via Licensing Corporation historically slowed open-source encoder innovation.

Interesting Technical Trivia

  • YouTube defaults to AAC encoding at 128 kbps for standard stereo video audio streams.
  • The ADTS syncword is 12 consecutive binary ones (0xFFF), enabling tuners to lock into live broadcasts mid-stream.
  • Sony adopted AAC as the default compression standard for PlayStation 3, PlayStation Portable, and Vita audio.

Frequently Asked Technical Questions

Why does AAC sound better than MP3 at 128 kbps?

AAC incorporates higher frequency resolution (up to 96 kHz), pure MDCT filter banks, temporal noise shaping (TNS), and more flexible stereo prediction tools that eliminate pre-echo artifacts prevalent in MP3.

What is the difference between raw AAC and M4A?

Raw AAC uses simple ADTS framing without chapter or metadata indexes. M4A wraps the identical AAC audio payload inside an ISO Base Media container (MP4) with metadata, album art, and seek tables.

Does AAC support lossless audio compression?

No. Standard AAC is strictly lossy. Apple developed Apple Lossless (ALAC) for bit-for-bit lossless audio inside the same M4A container.