Free AAC sample, test and dummy files (.aac)
Raw Advanced Audio Coding streams framed with 7-byte Audio Data Transport Stream (ADTS) headers. Use these files to test live HLS audio segmenters, podcast upload validators, hardware decoders, and raw ADTS vs. M4A container detection.
Quick facts: .aac format
| Extension | .aac |
|---|---|
| Full name | Advanced Audio Coding (ADTS Stream) |
| MIME type | audio/aac |
| Category | Audio |
| Compression / Encoding | Lossy psychoacoustic transform coding (MDCT) |
| Magic bytes (signature) | FF F1 (MPEG-4 ADTS syncword, no CRC) or FF F9 |
| Specification | ISO/IEC 13818-7 (MPEG-2 AAC) and ISO/IEC 14496-3 (MPEG-4 Audio) |
Download sample AAC files
Every file below is a spec-compliant .aac fixture generated deterministically for automated and manual testing. Verify the exact byte count and SHA-256 digest after downloading, or open the custom-size file generator to build additional fixtures in your browser.
| File | Size | Variant & contents | SHA-256 checksum | Download |
|---|---|---|---|---|
| sample-aac-44khz-stereo.aac | 32.19 KB32,959 bytes | 2-second 44.1 kHz stereo ADTS AAC sine tone (440 Hz) | ac3a14f6be2d67f994dbdeac880af8d3936184253d014849d7264a8b307ea0ea |
Download AAC |
| sample-aac-22khz-mono.aac | 39.24 KB40,179 bytes | 5-second 22.05 kHz mono ADTS AAC sine tone (523 Hz) | aacc35b9427da5dacdc5660f1aaeb068aeef59401c408022eeda43cc4c46823c |
Download AAC |
What is a AAC file?
Advanced Audio Coding (AAC) is the standard perceptual audio codec defined by ISO/IEC 13818-7 and ISO/IEC 14496-3. While AAC audio is frequently wrapped inside an ISO Base Media File Format container (.m4a or .mp4), a standalone .aac file uses Audio Data Transport Stream (ADTS) framing. In an ADTS stream, every individual compressed audio frame carries its own 7-byte (or 9-byte when CRC-16 is present) header beginning with the 12-bit synchronization word 0xFFF.
Because each frame declares its own profile (such as AAC-LC Low Complexity), sampling frequency index (44.1 kHz, 48 kHz, or 22.05 kHz), channel configuration, and exact frame byte length, a decoder can join an ADTS stream at any frame boundary without reading a global file header. That framing architecture makes raw .aac files the standard audio segment format in HTTP Live Streaming (HLS), SHOUTcast/Icecast digital radio relays, and digital television transport streams.
How to open a .aac file on Windows, macOS, Linux, Android and iOS
- Windows: Windows Media Player 12, VLC Media Player, foobar2000, and Microsoft Edge decode ADTS
.aacstreams natively. - macOS: QuickTime Player, Apple Music, Finder Quick Look, and Safari play raw ADTS files without third-party plugins.
- Linux: FFmpeg (
ffplay), GStreamer, MPV, and Audacity (with FFmpeg libraries) inspect and decode every ADTS frame header. - Android and iOS: Android
MediaCodec/ExoPlayerand Apple CoreAudio hardware decoders support AAC-LC natively at sampling rates from 8 kHz to 96 kHz.
What to test with AAC sample files
- ADTS vs. M4A MIME differentiation: Many upload endpoints confuse raw ADTS
.aac(starting withFF F1, MIMEaudio/aac) with MP4-wrapped.m4a(starting withftypM4Aat offset 4, MIMEaudio/mp4). Feed both fixtures into your validator to confirm your magic-byte sniffer distinguishes transport streams from ISO containers. - Frame-accurate duration estimation: Because ADTS files have no global duration header, variable-bitrate (VBR) files require counting frames or reading to the end of the file to compute exact duration. Test whether your media ingestion worker calculates duration accurately without timing out.
- ID3v2 tag prepending edge cases: Some encoders prepend an
ID3tag before the first0xFFF1sync word. Verify that your parser skips leading metadata tags rather than rejecting the file as non-AAC.
Common problems when handling .aac files
The most common failure mode in web applications is rejecting valid .aac uploads because the backend allowlist only accepts audio/mp4 or audio/x-m4a while browsers and RFC 9639 report audio/aac. A second frequent bug occurs in audio waveform generators that assume a fixed 44,100 Hz sample rate; our 22,050 Hz mono fixture helps verify that your resampler reads the 4-bit sampling_frequency_index field from the ADTS header.
Need to convert or inspect a file right away? Use ConvertFerry Audio Converter (AAC, MP3, WAV, OGG) or drop any local file into our in-browser Magic-Byte File Inspector.
Related formats and testing resources
Frequently asked questions
- What is the difference between an AAC file and an M4A file?
- Both contain audio compressed with the AAC codec, but a .aac file uses raw 7-byte ADTS frame headers (starting with FF F1) so it can be streamed frame-by-frame, whereas an .m4a file wraps the AAC frames inside an MPEG-4 ISO container with an ftyp box and a moov index table.
- What MIME type should an HTTP server send for .aac files?
- RFC 9639 registers audio/aac as the standard media type for ADTS-framed AAC files. Older servers sometimes return audio/x-aac or audio/aacp.
- Can HTML5 audio elements play raw .aac files?
- Desktop and mobile Safari, Chrome, and Edge play ADTS .aac files inside an HTML5 <audio> element when served with Content-Type: audio/aac.
- How are these sample AAC files generated?
- They are synthesized deterministically using FFmpeg's lavfi sine-wave generator at 440 Hz and encoded with the native AAC-LC encoder using bitexact flags.