System
EXE test files, any size.
Set a size and generate a structurally valid EXE immediately. Nothing is uploaded and nothing is stored.
EXE, built to spec.
Each file is a genuine MS-DOS + PE header — the same bytes file-type scanners and antivirus engines check to identify a Windows executable. The size you ask for is reached with trailing bytes after a header that declares zero sections, so a real Windows loader refuses to run it, so the result opens in file managers and antivirus scanners — deliberately never executes. Most people generate these for testing upload size limits, download managers and file-type filters without ever shipping runnable code.
Common sizes
Pick a size to jump straight to it, or set your own on the caliper above.
1 KB EXE
1,024 bytes
5 KB EXE
5,120 bytes
10 KB EXE
10,240 bytes
50 KB EXE
51,200 bytes
100 KB EXE
102,400 bytes
500 KB EXE
512,000 bytes
1 MB EXE
1,048,576 bytes
2 MB EXE
2,097,152 bytes
3 MB EXE
3,145,728 bytes
5 MB EXE
5,242,880 bytes
10 MB EXE
10,485,760 bytes
15 MB EXE
15,728,640 bytes
20 MB EXE
20,971,520 bytes
25 MB EXE
26,214,400 bytes
50 MB EXE
52,428,800 bytes
100 MB EXE
104,857,600 bytes
200 MB EXE
209,715,200 bytes
500 MB EXE
524,288,000 bytes
1 GB EXE
1,073,741,824 bytes
2 GB EXE
2,147,483,648 bytes
Questions.
How small can an EXE file be?
About 512 bytes. Below that the format cannot carry its mandatory structure, let alone padding.
Will the file open normally?
Yes — it opens in file managers and antivirus scanners — deliberately never executes, because the padding lives in trailing bytes after a header that declares zero sections, so a real Windows loader refuses to run it.
Can I ask for an unusual size?
Any byte count above the minimum works, including values like 3,145,728 or 27.5 MB. Drag the caliper or type the number.
Noticed an issue with this test file? Report an issue →