10 MB M4A sample

An M4A file of exactly 10,485,760 bytes. It is a valid MPEG-4 audio file, generated by this site. Compare its checksum and test it with the parser used by your application. Use it wherever you need a 10 MB sample, test or dummy M4A file.

Download

sample-m4a-10mb.m4a

10 MB10,485,760 bytes

Download 10 MB M4A

Created in your browser in a few seconds, then checked against the SHA-256 checksum. No sign-up.

Type
audio/mp4
SHA-256
faeb89f17db2101bc9113ed95d5b1235f9ff9333af27e24deb40cf09c1ff0be7
Delivery
Created in your browser from static generator assets (how it works).

What is in this file

28,044 AAC frames (10 min 51 s) of a synthesised musical phrase that repeats every eight seconds, in one audio track. 310 bytes of a trailing "free" box bring the file to the exact size.

Duration10 min 51 s
Audio codecAAC-LC
Bit rate128 kbit/s
Sample rate44,100 Hz
ChannelsStereo
ContainerMPEG-4 (brand "M4A ")
Fast startYes (moov before mdat)

First bytes of the file

The first 64 bytes of sample-m4a-10mb.m4a as a hex dump: offset, bytes, then the same bytes as text. The M4A signature is 66 74 79 70 4D 34 41 20 at offset 4.

00000000  00 00 00 1c 66 74 79 70  4d 34 41 20 00 00 02 00 |....ftypM4A ....|
00000010  4d 34 41 20 6d 70 34 32  69 73 6f 6d 00 01 c2 94 |M4A mp42isom....|
00000020  6d 6f 6f 76 00 00 00 6c  6d 76 68 64 00 00 00 00 |moov...lmvhd....|
00000030  e5 7b 69 80 e5 7b 69 80  00 00 03 e8 00 09 ef ac |.{i..{i.........|

Preview

Creates the file in your browser and shows it here. Nothing large is downloaded from our server.

Where 10 MB matters

A 10,485,760-byte file: over the default limits of PHP, API Gateway and Spring Boot requests. These are the default limits a file of this size is useful for testing:

SystemLimitNote
Amazon API Gateway10 MB payloadA 10 MB file in a multipart or base64 body is over the limit.
Spring Boot multipart10 MB per request by default (max-request-size)Exceeded once form overhead is added.
PHP8 MB POST body by default (post_max_size)Rejected before the script runs.
Amazon S3 multipart upload5 MiB minimum part sizeThis file splits into exactly two minimum-sized parts.
Email attachmentsCommonly 20 to 25 MB per message10 MB fits, at about 13.3 MB once encoded.

All 10 MB sample files

Use this file for

  • Testing image resizing and memory use
  • Verifying type detection between audio and video MP4
  • Testing transcoding to MP3 or Opus

Testing notes for M4A

  • AAC encoders add a short run of priming samples before the real audio. Players that do not account for it report a slightly longer duration and leave a gap between tracks that should join seamlessly.
  • Three media types are in circulation: audio/mp4, audio/x-m4a and audio/m4a. Browsers send different ones for the same file.

M4A format reference

Technical details

File namesample-m4a-10mb.m4a
FormatM4A (MPEG-4 audio)
Extension.m4a
MIME typeaudio/mp4
Size10,485,760 bytes (10 MB)
KindBinary
Signature66 74 79 70 4D 34 41 20 at offset 4
SHA-256faeb89f17db2101bc9113ed95d5b1235f9ff9333af27e24deb40cf09c1ff0be7
Created2026-10-23
ValidationSee the listed size and SHA-256. Small downloads are checked in the browser; verify streamed downloads manually. A hash match does not prove parser compatibility.
PreviewAvailable on this page
SourceGenerated in your browser by this site's generator; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryAudio

Check the stated structure and checksum against your application requirements. As with any download, scan the file with your own security tools before opening it. How files are made and checked

Verify your copy

This file is created in your browser, so it has no direct URL for curl or wget. The generator is designed to produce reproducible bytes. After saving, compare the checksum with the SHA-256 value above.

sha256sum sample-m4a-10mb.m4a     # Linux
shasum -a 256 sample-m4a-10mb.m4a # macOS

On Windows, run Get-FileHash sample-m4a-10mb.m4a -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy.

Related files

Questions about this file

Is this file exactly 10 MB?
Yes. It is 10,485,760 bytes, which is 10 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 10 MB M4A file?
28,044 AAC frames (10 min 51 s) of a synthesised musical phrase that repeats every eight seconds, in one audio track. 310 bytes of a trailing "free" box bring the file to the exact size.
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.