1 KB BIN sample file
A BIN file of exactly 1,024 bytes. It is a valid Binary test file file, generated for this site and checked with an independent parser.
Download
- Type
- application/octet-stream
- SHA-256
527863fe454939c0a3987cadd4d5d2002b32ca29a4f92c9de8bdb0c464e7788f- Direct URL
https://sampletestfiles.com/downloads/bin/sample-bin-1kb.bin
What is in this file
1,024 pseudo-random bytes from a seeded generator, so every build of the file is identical and compression cannot shrink it.
| Content | Pseudo-random bytes |
|---|---|
| Compressible | No |
| Structure | None |
First bytes of the file
The first 64 bytes of sample-bin-1kb.bin as a hex dump: offset, bytes, then the same bytes as text.
00000000 35 7b 7f d2 f9 1e 3a d1 9f 13 95 d3 ec 4e 03 49 |5{....:......N.I|
00000010 4c 65 d0 ef c0 f5 d7 fd 2c aa 2b 33 bd 24 56 56 |Le......,.+3.$VV|
00000020 74 3a e7 de 70 93 66 2f 2f 7b d6 b3 55 de ae 80 |t:..p.f//{..U...|
00000030 54 a6 a1 0d 7f 85 02 fc 0c 1e 69 63 b4 ac 38 a8 |T.........ic..8.|Preview
BIN files cannot be shown in a browser. Download the file and open it with curl, wget and browser download managers.
Where 1 KB matters
The smallest practical test file: 1,024 bytes, small enough to travel in a single network packet. These are the default limits a file of this size is useful for testing:
| System | Limit | Note |
|---|---|---|
| Ethernet | 1,500 bytes (typical MTU) | A 1 KB payload fits in one packet with its headers. |
| Browser cookies | 4,096 bytes per cookie | 1 KB is well inside the limit; the 5 KB sample is over it. |
Use this file for
- Smoke tests in CI that must run in milliseconds
- Measuring download and upload throughput
- Testing size limits precisely
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.
Technical details
| File name | sample-bin-1kb.bin |
|---|---|
| Format | BIN (Binary test file) |
| Extension | .bin |
| MIME type | application/octet-stream |
| Size | 1,024 bytes (1 KB) |
| Kind | Binary |
| SHA-256 | 527863fe454939c0a3987cadd4d5d2002b32ca29a4f92c9de8bdb0c464e7788f |
| Created | 2026-10-10 |
| Validation | Exact size, signature bytes and structure checked when the file was generated |
| Preview | Not available for this format; details only |
| Source | Generated for this site; not copied from elsewhere |
| Licence | Free to use, modify and redistribute (terms) |
| Category | Testing |
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-1kb.bin 'https://sampletestfiles.com/downloads/bin/sample-bin-1kb.bin'
sha256sum sample-bin-1kb.bin # Linux
shasum -a 256 sample-bin-1kb.bin # macOSOn Windows, run Get-FileHash sample-bin-1kb.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 1 KB?
- Yes. It is 1,024 bytes, which is 1 KB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
- What is inside the 1 KB BIN file?
- 1,024 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.