Download 10 MB EXE file for testing
Test a larger executable upload against size limits and content checks. The preset is 10 MiB (10,485,760 bytes); choose MB for decimal megabytes.
1 MB = 1,000,000 B · 1 MiB = 1,048,576 B
Advanced: test an upload limit
Enter the byte limit above, then choose one byte below, the exact limit or one byte above. Each choice uses the same base: 10,485,760 B. Generate and download each file to test your endpoint.
Where a 10 MB EXE file comes up
- Testing software-distribution portals that accept installers up to a set size.
- Checking that file storage holds executables for review instead of serving them directly.
- Comparing scan time on an executable-looking file with a plain binary of the same size.
Limits it lands on
- Spring Boot's default max-request-size of 10MB is exceeded once multipart overhead is added to this file.
- Gmail's attachment size limit would allow 10 MiB, but Gmail blocks .exe files regardless of size.
What is inside the file
The same structure as the smaller EXE fixtures: MZ signature, PE header at byte 128, zero sections and a zero entry point, followed by zero-byte padding.
Because almost all of the file is zeros, it compresses extremely well inside a ZIP archive.
Other EXE sizes
Questions
Why use an EXE instead of a random binary?
Filters often look for the MZ and PE signatures. A random .bin file does not have them, so it cannot show whether signature checks work.
Will Windows run it?
No. The PE header declares zero sections, so there is nothing for Windows to load.
Does 10 MB on this page mean 10000000 bytes?
This URL selects 10 MiB: 10,485,760 bytes. A decimal 10 MB cap is 10,000,000 bytes. Select decimal MB or enter exact bytes on the EXE format page.
Reference and checks
Format reference: Microsoft PE format.
Generate another size in this format · Convert bytes to MB and MiB
Related: What an EXE upload-test fixture can verify · Raw binary test files.
Noticed an issue with this test file? Report an issue →