Sample Binary Files — Download Exact-Size Random-Byte Test Files (100 KB, 1 MB)

Raw binary test file (random bytes) · .bin · MIME type application/octet-stream

2 files100 KB1.0 MBDirect linksNo ads, no sign-upFree for any useSHA-256 verified

Download a sample binary file of an exact size — 100,000 bytes or 1,000,000 bytes of deterministic pseudo-random data. Because the content is incompressible, the transfer size equals the file size regardless of gzip or Brotli, which makes these the right files for bandwidth measurements and byte-precise upload-limit tests.

The bytes are generated from a fixed seed, so the SHA-256 listed on this page will match every download, forever — a stable target for integrity checks.

Download sample Binary files

FileDetailsSizeDownload
sample-binary-100kb.bin
100KB • incompressible random bytes
100 KB
100,000 bytes
sample-binary-1mb.bin
1MB • incompressible random bytes
1.0 MB
1,000,000 bytes
2 files · direct links · no sign-up · CORS enabled

Need one of every data format? Download the data sample pack (202 KB, one small file of every data format (17 files)).

Use these files from the command line or CI

Every URL is stable and CORS-open. Pin the SHA-256 in your test and you will know the moment a fixture changes.

# Download one file
curl -O https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/data/bin/sample-binary-100kb.bin

# Verify it (SHA-256 is listed for every file above)
shasum -a 256 sample-binary-100kb.bin

# Machine-readable index of every sample file
curl https://pnb-website-bucket.s3.us-east-2.amazonaws.com/samples/index.json | jq '.files[] | select(.format=="bin")'

Binary format at a glance

Full nameRaw binary test file (random bytes)
Extensions.bin
MIME typeapplication/octet-stream
ContentSeeded pseudo-random bytes (incompressible)
SizesExactly 100,000 and 1,000,000 bytes (decimal)
MIMEapplication/octet-stream

What people test with sample Binary files

  • Byte-exact upload limits
  • Bandwidth and throughput tests (no compression possible)
  • Checksum and integrity verification
Testing notes. Note these are decimal sizes (1 MB = 1,000,000 bytes). If your limit is binary (1 MiB = 1,048,576 bytes), the 1 MB file is under it by 48,576 bytes.

Frequently asked questions

Why random bytes instead of zeros?

A file of zeros compresses to almost nothing, so any layer that gzips transfers (most CDNs and browsers) would move only a few bytes and your bandwidth or limit test would be meaningless. Random data cannot be compressed, so what you see is what is transferred.

Are these Binary files safe to download?

Yes. Every file is generated by our own open script from scratch — nothing is scraped or user-uploaded — and contains no scripts, macros or executables. The SHA-256 of each file is published on this page so you can verify what you received.

Can I use the sample Binary files commercially?

Yes. They are free for any purpose, including commercial products, test suites, demos and redistribution, with no attribution required. There is nothing to license and no one to ask.

Can I hotlink these files or use them in CI?

Yes. Every link is a stable direct URL over HTTPS with Access-Control-Allow-Origin: * and long cache headers, so curl, wget, fetch() and test runners can pull them directly. A JSON index of every file is linked from each page (see the command-line section).

Related sample files

Testing a file pipeline? We build them.

Uploads, conversions, previews, document processing and media workflows are the kind of production systems Pine & Birch designs and runs for clients — which is why we needed these files in the first place.

See how we can help
Free sample files by Pine & Birch — technology consulting, Toronto. Free for any use, no attribution required.