Sample binary files for testing uploads and size limits — free, 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.

23 files. The same list as JSON: https://loremfile.dev/bin/index.json

binary files
FileSizePropertiesDescription
1-byte.bin 1 B A single NUL byte. The smallest non-empty file, for minimum-size and off-by-one checks.
Snippets
curl -O https://loremfile.dev/bin/1-byte.bin
<a href="https://loremfile.dev/bin/1-byte.bin">download</a>
100kb.bin 100 KB Exactly 100,000 bytes of high-entropy SHAKE-256 output (decimal units). Incompressible, so transfer sizes are honest.
Snippets
curl -O https://loremfile.dev/bin/100kb.bin
<a href="https://loremfile.dev/bin/100kb.bin">download</a>
100mb.bin 100 MB Exactly 100,000,000 bytes of high-entropy SHAKE-256 output (decimal units). Incompressible, so transfer sizes are honest.
Snippets
curl -O https://loremfile.dev/bin/100mb.bin
<a href="https://loremfile.dev/bin/100mb.bin">download</a>
10kb.bin 10 KB Exactly 10,000 bytes of high-entropy SHAKE-256 output (decimal units). Incompressible, so transfer sizes are honest.
Snippets
curl -O https://loremfile.dev/bin/10kb.bin
<a href="https://loremfile.dev/bin/10kb.bin">download</a>
10mb-minus-1.bin 10 MB Exactly one byte under 10mb, for testing an upload limit's boundary rather than its middle.
Snippets
curl -O https://loremfile.dev/bin/10mb-minus-1.bin
<a href="https://loremfile.dev/bin/10mb-minus-1.bin">download</a>
10mb-plus-1.bin 10 MB Exactly one byte over 10mb, for testing an upload limit's boundary rather than its middle.
Snippets
curl -O https://loremfile.dev/bin/10mb-plus-1.bin
<a href="https://loremfile.dev/bin/10mb-plus-1.bin">download</a>
10mb.bin 10 MB Exactly 10,000,000 bytes of high-entropy SHAKE-256 output (decimal units). Incompressible, so transfer sizes are honest.
Snippets
curl -O https://loremfile.dev/bin/10mb.bin
<a href="https://loremfile.dev/bin/10mb.bin">download</a>
10mib-minus-1.bin 10.5 MB Exactly one byte under 10mib, for testing an upload limit's boundary rather than its middle.
Snippets
curl -O https://loremfile.dev/bin/10mib-minus-1.bin
<a href="https://loremfile.dev/bin/10mib-minus-1.bin">download</a>
10mib-plus-1.bin 10.5 MB Exactly one byte over 10mib, for testing an upload limit's boundary rather than its middle.
Snippets
curl -O https://loremfile.dev/bin/10mib-plus-1.bin
<a href="https://loremfile.dev/bin/10mib-plus-1.bin">download</a>
10mib.bin 10.5 MB Exactly 10,485,760 bytes of high-entropy SHAKE-256 output (binary units). Incompressible, so transfer sizes are honest.
Snippets
curl -O https://loremfile.dev/bin/10mib.bin
<a href="https://loremfile.dev/bin/10mib.bin">download</a>
1kb.bin 1 KB Exactly 1,000 bytes of high-entropy SHAKE-256 output (decimal units). Incompressible, so transfer sizes are honest.
Snippets
curl -O https://loremfile.dev/bin/1kb.bin
<a href="https://loremfile.dev/bin/1kb.bin">download</a>
1kib.bin 1 KB Exactly 1,024 bytes of high-entropy SHAKE-256 output (binary units). Incompressible, so transfer sizes are honest.
Snippets
curl -O https://loremfile.dev/bin/1kib.bin
<a href="https://loremfile.dev/bin/1kib.bin">download</a>
1mb-minus-1.bin 1000 KB Exactly one byte under 1mb, for testing an upload limit's boundary rather than its middle.
Snippets
curl -O https://loremfile.dev/bin/1mb-minus-1.bin
<a href="https://loremfile.dev/bin/1mb-minus-1.bin">download</a>
1mb-plus-1.bin 1 MB Exactly one byte over 1mb, for testing an upload limit's boundary rather than its middle.
Snippets
curl -O https://loremfile.dev/bin/1mb-plus-1.bin
<a href="https://loremfile.dev/bin/1mb-plus-1.bin">download</a>
1mb.bin 1 MB Exactly 1,000,000 bytes of high-entropy SHAKE-256 output (decimal units). Incompressible, so transfer sizes are honest.
Snippets
curl -O https://loremfile.dev/bin/1mb.bin
<a href="https://loremfile.dev/bin/1mb.bin">download</a>
1mib-minus-1.bin 1 MB Exactly one byte under 1mib, for testing an upload limit's boundary rather than its middle.
Snippets
curl -O https://loremfile.dev/bin/1mib-minus-1.bin
<a href="https://loremfile.dev/bin/1mib-minus-1.bin">download</a>
1mib-plus-1.bin 1 MB Exactly one byte over 1mib, for testing an upload limit's boundary rather than its middle.
Snippets
curl -O https://loremfile.dev/bin/1mib-plus-1.bin
<a href="https://loremfile.dev/bin/1mib-plus-1.bin">download</a>
1mib.bin 1 MB Exactly 1,048,576 bytes of high-entropy SHAKE-256 output (binary units). Incompressible, so transfer sizes are honest.
Snippets
curl -O https://loremfile.dev/bin/1mib.bin
<a href="https://loremfile.dev/bin/1mib.bin">download</a>
50mb.bin 50 MB Exactly 50,000,000 bytes of high-entropy SHAKE-256 output (decimal units). Incompressible, so transfer sizes are honest.
Snippets
curl -O https://loremfile.dev/bin/50mb.bin
<a href="https://loremfile.dev/bin/50mb.bin">download</a>
incrementing-1mb.bin 1 MB 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
curl -O https://loremfile.dev/bin/incrementing-1mb.bin
<a href="https://loremfile.dev/bin/incrementing-1mb.bin">download</a>
ones-1mb.bin 1 MB One megabyte of 0xFF bytes.
Snippets
curl -O https://loremfile.dev/bin/ones-1mb.bin
<a href="https://loremfile.dev/bin/ones-1mb.bin">download</a>
zeros-10mb.bin 10 MB Ten megabytes of NUL bytes, for compression and sparse-file behaviour.
Snippets
curl -O https://loremfile.dev/bin/zeros-10mb.bin
<a href="https://loremfile.dev/bin/zeros-10mb.bin">download</a>
zeros-1mb.bin 1 MB One megabyte of NUL bytes. Compresses to almost nothing, which is the point.
Snippets
curl -O https://loremfile.dev/bin/zeros-1mb.bin
<a href="https://loremfile.dev/bin/zeros-1mb.bin">download</a>

File names follow the naming grammar. Verify a download against sha256sums.txt.