System

EXE test files, any size.

Set a size and generate a structurally valid EXE immediately. Nothing is uploaded and nothing is stored.

0bytes
Exact size

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.

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 →