Free AIFF test files and sample generator

Apple's uncompressed PCM audio container (like WAV, big-endian). Generate valid .aiff sample files for testing audio players, editors and uploads.

Generate a .aiff file →

What is a .aiff file?

AIFF: Audio Interchange File Format. AIFF is Apple's uncompressed audio container. The same idea as WAV but big-endian, which is exactly the kind of difference a hand-rolled parser gets wrong.

Why generate a test AIFF file?

What you can put inside a .aiff file

You get 4 content options for AIFF, so the file holds something meaningful rather than random padding: Silence, Tone (beep), Noise, Voice (synthetic). For AIFF these are alternatives, so choose the one that matches what you need to test.

How a .aiff file is identified

Every .aiff file begins with 46 4F 52 4D … 41 49 46 46, "FORM", then the length, then "AIFF", the same container idea as RIFF but big-endian. That is what a validator inspecting content rather than the file name looks for.

Negative testing with broken AIFF files

Which failure to reach for, and what to assert for each, is covered in how to make a corrupted file for testing. For upload limits and type checks see testing file upload validation.

Sample AIFF content

[AIFF], FORM/AIFF container: COMM + SSND (8-bit PCM).

This shows the shape of the file. Your download is generated fresh at the size you choose, so the values will differ.

How to open and verify the file

Play in QuickTime, iTunes/Music, VLC or Audacity.

Media type audio/aiff · extension .aiff · category Audio

Generate a .aiff file → · questions about sizes, privacy or cost are answered on the site FAQ.

Frequently asked questions about AIFF files

What identifies a .aiff file?

A .aiff file begins with the bytes 46 4F 52 4D … 41 49 46 46, "FORM", then the length, then "AIFF", the same container idea as RIFF but big-endian. Those bytes are what a content-sniffing validator looks for, and what the Corrupted condition destroys.

What can go inside the AIFF file?

There are 4 content options for .aiff: Silence, Tone (beep), Noise, Voice (synthetic). For AIFF these are alternatives, so pick the one matching what you need to test.

Can I download several broken AIFF files at once?

Yes, select more than one File Condition and you get one ZIP containing a .aiff per condition, each named after its condition.

Can the AIFF file use UTF-16 or a byte-order mark?

No, and deliberately. A .aiff file is a container rather than plain text, so rewriting its bytes as UTF-16 would not produce a UTF-16 document. It would produce a broken file. Use a text format such as CSV, JSON or XML for encoding tests.

How do I open or verify the AIFF file?

Play in QuickTime, iTunes/Music, VLC or Audacity.

Related Audio formats

MP3 · WAV · FLAC · AAC · M4A · OGG · AU · MIDI

Browse all file formats →