Free M4A sample, test and dummy files

AAC audio in an MP4 container: the format of iTunes purchases and iPhone voice memos. Download valid M4A test files in 19 exact sizes, from 1 KB to 100 MB, each with a checksum. Or create one of any size up to 1 GB.

Extension
.m4a
MIME type
audio/mp4
Kind
Binary
Category
Audio

Create a M4A file of any size

Choose any size from 929 bytes to 1 GB. The file is made in your browser, so nothing is downloaded from our server. Smaller files usually finish quickly; generation time depends on your device and format. Larger ones are streamed straight into your downloads list in browsers that support it (current Chrome, Edge and Firefox on computers and Android); elsewhere, such as Safari and every browser on iPhone and iPad, the largest size is lower and is shown below.

M4A files by size

Every file below is a valid MPEG-4 audio file of exactly the stated size. Open a file's page for its checksum and contents, and to preview it in your browser before downloading.

M4A sample files by size
FileSizeContentsDownload
1 KB M4A samplesample-m4a-1kb.m4a 1 KB1,024 bytes Duration: 0.0 s Download M4A
5 KB M4A samplesample-m4a-5kb.m4a 5 KB5,120 bytes Duration: 0.3 s Download M4A
10 KB M4A samplesample-m4a-10kb.m4a 10 KB10,240 bytes Duration: 0.6 s Download M4A
25 KB M4A samplesample-m4a-25kb.m4a 25 KB25,600 bytes Duration: 1.6 s Download M4A
50 KB M4A samplesample-m4a-50kb.m4a 50 KB51,200 bytes Duration: 3.2 s Download M4A
100 KB M4A samplesample-m4a-100kb.m4a 100 KB102,400 bytes Duration: 6.3 s Download M4A
200 KB M4A samplesample-m4a-200kb.m4a 200 KB204,800 bytes Duration: 12.7 s Download M4A
500 KB M4A samplesample-m4a-500kb.m4a 500 KB512,000 bytes Duration: 31.7 s Download M4A
1 MB M4A samplesample-m4a-1mb.m4a 1 MB1,048,576 bytes Duration: 1 min 5 s Download M4A
2 MB M4A samplesample-m4a-2mb.m4a 2 MB2,097,152 bytes Duration: 2 min 10 s Download M4A
3 MB M4A samplesample-m4a-3mb.m4a 3 MB3,145,728 bytes Duration: 3 min 15 s Download M4A
5 MB M4A samplesample-m4a-5mb.m4a 5 MB5,242,880 bytes 5 min 26 s Download M4A
10 MB M4A samplesample-m4a-10mb.m4a 10 MB10,485,760 bytes Duration: 10 min 51 s Download M4A
15 MB M4A samplesample-m4a-15mb.m4a 15 MB15,728,640 bytes Duration: 16 min 17 s Download M4A
20 MB M4A samplesample-m4a-20mb.m4a 20 MB20,971,520 bytes Duration: 21 min 42 s Download M4A
25 MB M4A samplesample-m4a-25mb.m4a 25 MB26,214,400 bytes Duration: 27 min 8 s Download M4A
30 MB M4A samplesample-m4a-30mb.m4a 30 MB31,457,280 bytes Duration: 32 min 34 s Download M4A
50 MB M4A samplesample-m4a-50mb.m4a 50 MB52,428,800 bytes Duration: 54 min 16 s Download M4A
100 MB M4A samplesample-m4a-100mb.m4a 100 MB104,857,600 bytes Duration: 108 min 32 s Download M4A

What is an M4A file?

An M4A file is an MP4 file that holds only audio. The container is the same nested-box structure as video MP4, and the extension tells software, and people, that there is no picture. The audio is nearly always AAC, the successor to MP3, though the same container can carry lossless ALAC.

As with video, the "moov" box is the index. If it sits at the front, playback can start while the file is still downloading; if an encoder leaves it at the end, the player needs the whole file first.

How to recognise an M4A file

Software recognises an M4A file by its file signature: fixed bytes at the start of the file, also called magic bytes or a magic number.

Found at byte offset 4. The first four bytes are the size of the ftyp box. The brand that follows "ftyp" identifies an audio file.
Extension.m4a
MIME typeaudio/mp4
Also seen asaudio/x-m4a, audio/m4a
ContainerISO base media file format (ISO/IEC 14496-12)
Usual codecAAC-LC (ISO/IEC 14496-3); sometimes ALAC
Frame length1,024 samples for AAC-LC
Related extensions.m4b audiobooks, .m4r ringtones, .mp4

What to test for

These are the behaviours that most often go wrong when software handles M4A files.

Strengths of M4A

  • Better sound than MP3 at the same bit rate.
  • An index in the file gives exact duration and fast seeking.

Limitations of M4A

  • Shares its container with video, which confuses type detection.
  • Three media types are in circulation for the same file.

Typical uses of M4A test files

  • Testing audio uploads from iPhones, which record voice memos as M4A
  • Checking podcast and audiobook pipelines
  • Verifying type detection between audio and video MP4
  • Testing transcoding to MP3 or Opus

Software that opens M4A

  • Apple Music, iTunes and QuickTime Player
  • Chrome, Firefox, Safari and Edge
  • VLC and Windows Media Player
  • Android and iOS, natively
  • FFmpeg and MP4Box

Specifications

Related

M4A sample files: questions

Which codec do the M4A samples use?
AAC-LC at 128 kbit/s, 44,100 Hz stereo, which is the combination every device and browser plays.
Is an M4A file the same as an AAC file?
Not quite. M4A is AAC inside an MP4 container, with an index that allows seeking. A file ending in .aac is a bare stream of AAC frames with a small header on each and no index.
What is the MIME type of an M4A file?
The MIME type is audio/mp4. You will also meet audio/x-m4a and audio/m4a in practice. The file extension is .m4a.
Is a sample M4A file the same as a dummy or example M4A file?
Yes. Sample, test, dummy and example M4A files are different names for the same thing: an M4A file with known contents that stands in for a real one. Any file on this page will do wherever a tutorial or a test plan asks for a dummy M4A file.