500 KB BIN sample file

A BIN file of exactly 512,000 bytes. It is a valid Binary test file file, generated for this site and checked with an independent parser.

Download

sample-bin-500kb.bin

500 KB512,000 bytes

Download 500 KB BIN

Direct download. No sign-up and no waiting.

Type
application/octet-stream
SHA-256
a795474184d96ecf681eb30e633b93af2df80fd1bc8a281ca98e21522f25332a
Direct URL
https://sampletestfiles.com/downloads/bin/sample-bin-500kb.bin

What is in this file

512,000 pseudo-random bytes from a seeded generator, so every build of the file is identical and compression cannot shrink it.

ContentPseudo-random bytes
CompressibleNo
StructureNone

First bytes of the file

The first 64 bytes of sample-bin-500kb.bin as a hex dump: offset, bytes, then the same bytes as text.

00000000  39 48 e1 8c 30 78 fc 70 be a9 cc f2 95 19 3a ef  |9H..0x.p......:.|
00000010  38 ff ed 76 3d 5c 2c 44 59 05 06 8e da 56 7f 8d  |8..v=\,DY....V..|
00000020  54 8d ea 5f 2f 31 9e e1 23 0e 3c 63 ee 01 80 6b  |T.._/1..#.<c...k|
00000030  68 70 fd 1c ef 73 aa 23 a4 76 31 fc 56 f4 a0 8a  |hp...s.#.v1.V...|

Preview

BIN files cannot be shown in a browser. Download the file and open it with curl, wget and browser download managers.

Where 500 KB matters

A 512,000-byte file: larger than most API body limits, smaller than most upload limits. These are the default limits a file of this size is useful for testing:

SystemLimitNote
Amazon DynamoDB items400 KB per item500 KB cannot be stored as a single item.
Express body parsers100 KB by defaultRejected unless the limit is raised.
nginx request body1 MB by default (client_max_body_size)Accepted with room to spare.

All 500 KB sample files

Use this file for

  • Testing that APIs return 413 for oversized bodies
  • Checking resumable and chunked uploads
  • Verifying checksums after transfer

Testing notes for BIN

  • A file of zeros, as produced by many quick commands, compresses to almost nothing, which makes transfers look far faster than they are.
  • Because application/octet-stream says nothing about content, strict upload filters reject these files. That is itself a useful test.

BIN format reference

Technical details

File namesample-bin-500kb.bin
FormatBIN (Binary test file)
Extension.bin
MIME typeapplication/octet-stream
Size512,000 bytes (500 KB)
KindBinary
SHA-256a795474184d96ecf681eb30e633b93af2df80fd1bc8a281ca98e21522f25332a
Created2026-10-10
ValidationExact size, signature bytes and structure checked when the file was generated
PreviewNot available for this format; details only
SourceGenerated for this site; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryTesting

Validated for expected format and integrity. As with any download, scan the file with your own security tools before opening it. How files are made and checked

Download from the command line and verify

Fetch the file with curl, then compare its checksum with the SHA-256 value above.

curl -o sample-bin-500kb.bin 'https://sampletestfiles.com/downloads/bin/sample-bin-500kb.bin'
sha256sum sample-bin-500kb.bin     # Linux
shasum -a 256 sample-bin-500kb.bin # macOS

On Windows, run Get-FileHash sample-bin-500kb.bin -Algorithm SHA256 in PowerShell. A matching value proves that the download is complete and unaltered.

Related files

Questions about this file

Is this file exactly 500 KB?
Yes. It is 512,000 bytes, which is 500 KB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 500 KB BIN file?
512,000 pseudo-random bytes from a seeded generator, so every build of the file is identical and compression cannot shrink it.
Is a .bin sample safe to download?
Yes. It is inert data: random bytes that are not executable and have no structure for any program to interpret.