# Sample binary files for testing uploads and size limits, free and CC0

23 binary test files from 1 B to 100 MB. Direct URLs, a SHA-256 for each and CC0, so curl and CI can fetch them with no signup and no keys.

The page: <https://loremfile.dev/bin>.

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](https://loremfile.dev/txt).

## Files

| Path | Size | MIME | Properties |
|---|---|---|---|
| [`bin/1-byte.bin`](https://loremfile.dev/bin/1-byte.bin) | 1 B | `application/octet-stream` |  |
| [`bin/100kb.bin`](https://loremfile.dev/bin/100kb.bin) | 100 KB (100,000 bytes) | `application/octet-stream` |  |
| [`bin/100mb.bin`](https://loremfile.dev/bin/100mb.bin) | 100 MB (100,000,000 bytes) | `application/octet-stream` |  |
| [`bin/10kb.bin`](https://loremfile.dev/bin/10kb.bin) | 10 KB (10,000 bytes) | `application/octet-stream` |  |
| [`bin/10mb-minus-1.bin`](https://loremfile.dev/bin/10mb-minus-1.bin) | 10 MB (9,999,999 bytes) | `application/octet-stream` |  |
| [`bin/10mb-plus-1.bin`](https://loremfile.dev/bin/10mb-plus-1.bin) | 10 MB (10,000,001 bytes) | `application/octet-stream` |  |
| [`bin/10mb.bin`](https://loremfile.dev/bin/10mb.bin) | 10 MB (10,000,000 bytes) | `application/octet-stream` |  |
| [`bin/10mib-minus-1.bin`](https://loremfile.dev/bin/10mib-minus-1.bin) | 10.5 MB (10,485,759 bytes) | `application/octet-stream` |  |
| [`bin/10mib-plus-1.bin`](https://loremfile.dev/bin/10mib-plus-1.bin) | 10.5 MB (10,485,761 bytes) | `application/octet-stream` |  |
| [`bin/10mib.bin`](https://loremfile.dev/bin/10mib.bin) | 10.5 MB (10,485,760 bytes) | `application/octet-stream` |  |
| [`bin/1kb.bin`](https://loremfile.dev/bin/1kb.bin) | 1 KB (1,000 bytes) | `application/octet-stream` |  |
| [`bin/1kib.bin`](https://loremfile.dev/bin/1kib.bin) | 1 KB (1,024 bytes) | `application/octet-stream` |  |
| [`bin/1mb-minus-1.bin`](https://loremfile.dev/bin/1mb-minus-1.bin) | 1000 KB (999,999 bytes) | `application/octet-stream` |  |
| [`bin/1mb-plus-1.bin`](https://loremfile.dev/bin/1mb-plus-1.bin) | 1 MB (1,000,001 bytes) | `application/octet-stream` |  |
| [`bin/1mb.bin`](https://loremfile.dev/bin/1mb.bin) | 1 MB (1,000,000 bytes) | `application/octet-stream` |  |
| [`bin/1mib-minus-1.bin`](https://loremfile.dev/bin/1mib-minus-1.bin) | 1 MB (1,048,575 bytes) | `application/octet-stream` |  |
| [`bin/1mib-plus-1.bin`](https://loremfile.dev/bin/1mib-plus-1.bin) | 1 MB (1,048,577 bytes) | `application/octet-stream` |  |
| [`bin/1mib.bin`](https://loremfile.dev/bin/1mib.bin) | 1 MB (1,048,576 bytes) | `application/octet-stream` |  |
| [`bin/50mb.bin`](https://loremfile.dev/bin/50mb.bin) | 50 MB (50,000,000 bytes) | `application/octet-stream` |  |
| [`bin/incrementing-1mb.bin`](https://loremfile.dev/bin/incrementing-1mb.bin) | 1 MB (1,000,000 bytes) | `application/octet-stream` |  |
| [`bin/ones-1mb.bin`](https://loremfile.dev/bin/ones-1mb.bin) | 1 MB (1,000,000 bytes) | `application/octet-stream` |  |
| [`bin/zeros-10mb.bin`](https://loremfile.dev/bin/zeros-10mb.bin) | 10 MB (10,000,000 bytes) | `application/octet-stream` |  |
| [`bin/zeros-1mb.bin`](https://loremfile.dev/bin/zeros-1mb.bin) | 1 MB (1,000,000 bytes) | `application/octet-stream` |  |

The same list as JSON: <https://loremfile.dev/bin/index.json>.
