Sample binary files for testing uploads and size limits, free and CC0
Binary files are raw bytes with no format at all, which makes them the right tool for testing everything around a file rather than inside it: upload limits, range requests, checksums, progress bars and storage quotas.
Sizes come in both units. bin/1mb.bin is exactly 1,000,000 bytes and bin/1mib.bin is
exactly 1,048,576, and there are boundary siblings one byte either side, such as
bin/10mib-plus-1.bin, for testing the edge of a limit instead of its middle. The sized
files are high-entropy SHAKE-256 output, so they do not compress and a transfer's size is
honest.
Patterned files cover the opposite cases: bin/zeros-1mb.bin compresses to almost nothing,
bin/ones-1mb.bin is all 0xFF bytes, and bin/incrementing-1mb.bin repeats 0x00 to 0xFF, so
any byte offset is visible by eye, which helps when checking a range response. The smallest
file, bin/1-byte.bin, is a single NUL byte. For readable filler of exact sizes, see
text files.
| File | Size | Properties | Description |
|---|---|---|---|
1-byte.bin
|
1 B | A single NUL byte. The smallest non-empty file, for minimum-size and off-by-one checks.
Snippets
|
|
100kb.bin
|
100 KB (100,000 bytes) | Exactly 100,000 bytes of high-entropy SHAKE-256 output (decimal units). Incompressible, so transfer sizes are honest.
Snippets
|
|
100mb.bin
|
100 MB (100,000,000 bytes) | Exactly 100,000,000 bytes of high-entropy SHAKE-256 output (decimal units). Incompressible, so transfer sizes are honest.
Snippets
|
|
10kb.bin
|
10 KB (10,000 bytes) | Exactly 10,000 bytes of high-entropy SHAKE-256 output (decimal units). Incompressible, so transfer sizes are honest.
Snippets
|
|
10mb-minus-1.bin
|
10 MB (9,999,999 bytes) | Exactly one byte under 10mb, for testing an upload limit's boundary rather than its middle.
Snippets
|
|
10mb-plus-1.bin
|
10 MB (10,000,001 bytes) | Exactly one byte over 10mb, for testing an upload limit's boundary rather than its middle.
Snippets
|
|
10mb.bin
|
10 MB (10,000,000 bytes) | Exactly 10,000,000 bytes of high-entropy SHAKE-256 output (decimal units). Incompressible, so transfer sizes are honest.
Snippets
|
|
10mib-minus-1.bin
|
10.5 MB (10,485,759 bytes) | Exactly one byte under 10mib, for testing an upload limit's boundary rather than its middle.
Snippets
|
|
10mib-plus-1.bin
|
10.5 MB (10,485,761 bytes) | Exactly one byte over 10mib, for testing an upload limit's boundary rather than its middle.
Snippets
|
|
10mib.bin
|
10.5 MB (10,485,760 bytes) | Exactly 10,485,760 bytes of high-entropy SHAKE-256 output (binary units). Incompressible, so transfer sizes are honest.
Snippets
|
|
1kb.bin
|
1 KB (1,000 bytes) | Exactly 1,000 bytes of high-entropy SHAKE-256 output (decimal units). Incompressible, so transfer sizes are honest.
Snippets
|
|
1kib.bin
|
1 KB (1,024 bytes) | Exactly 1,024 bytes of high-entropy SHAKE-256 output (binary units). Incompressible, so transfer sizes are honest.
Snippets
|
|
1mb-minus-1.bin
|
1000 KB (999,999 bytes) | Exactly one byte under 1mb, for testing an upload limit's boundary rather than its middle.
Snippets
|
|
1mb-plus-1.bin
|
1 MB (1,000,001 bytes) | Exactly one byte over 1mb, for testing an upload limit's boundary rather than its middle.
Snippets
|
|
1mb.bin
|
1 MB (1,000,000 bytes) | Exactly 1,000,000 bytes of high-entropy SHAKE-256 output (decimal units). Incompressible, so transfer sizes are honest.
Snippets
|
|
1mib-minus-1.bin
|
1 MB (1,048,575 bytes) | Exactly one byte under 1mib, for testing an upload limit's boundary rather than its middle.
Snippets
|
|
1mib-plus-1.bin
|
1 MB (1,048,577 bytes) | Exactly one byte over 1mib, for testing an upload limit's boundary rather than its middle.
Snippets
|
|
1mib.bin
|
1 MB (1,048,576 bytes) | Exactly 1,048,576 bytes of high-entropy SHAKE-256 output (binary units). Incompressible, so transfer sizes are honest.
Snippets
|
|
50mb.bin
|
50 MB (50,000,000 bytes) | Exactly 50,000,000 bytes of high-entropy SHAKE-256 output (decimal units). Incompressible, so transfer sizes are honest.
Snippets
|
|
incrementing-1mb.bin
|
1 MB (1,000,000 bytes) | One megabyte of 0x00-0xFF repeating. Every byte value appears and any offset is obvious by eye, which makes range requests easy to check.
Snippets
|
|
ones-1mb.bin
|
1 MB (1,000,000 bytes) | One megabyte of 0xFF bytes.
Snippets
|
|
zeros-10mb.bin
|
10 MB (10,000,000 bytes) | Ten megabytes of NUL bytes, for compression and sparse-file behaviour.
Snippets
|
|
zeros-1mb.bin
|
1 MB (1,000,000 bytes) | One megabyte of NUL bytes. Compresses to almost nothing, which is the point.
Snippets
|
Every binary file in one command, each checked against its hash: npx loremfile get --format bin, or loremfile get --format bin after pip install loremfile.
Related formats
File names follow the naming grammar. Verify a download against sha256sums.txt.