1 MB ZIP sample

A ZIP file of exactly 1,048,576 bytes. It is a valid ZIP archive file, generated by this site. Compare its checksum and test it with the parser used by your application. Use it wherever you need a 1 MB sample, test or dummy ZIP file.

Download

sample-zip-1mb.zip

1 MB1,048,576 bytes

Download 1 MB ZIP

Created in your browser in a few seconds, then checked against the SHA-256 checksum. The file is not uploaded anywhere. No sign-up.

Type
application/zip
SHA-256
53468c695e9e50bf5b46ede974db80aecaf8484aa8e4866f7a7ebcbad55f4717
Delivery
Created in your browser from static generator assets (how it works).

What is in this file

4 entries: a README, a CSV file and a JSON file compressed with deflate, plus payload.bin, 1,044,726 pseudo-random bytes stored without compression so the archive is exactly 1,048,576 bytes.

Entries4
CompressionDeflate for text entries, stored for payload.bin
EncryptedNo
ZIP64No
Largest entrypayload.bin, 1,044,726 bytes

First bytes of the file

The first 64 bytes of sample-zip-1mb.zip as a hex dump: offset, bytes, then the same bytes as text. The ZIP signature is 50 4B 03 04.

00000000  50 4b 03 04 14 00 00 00  08 00 00 00 21 5c 2a e6  |PK..........!\*.|
00000010  3b 63 6e 00 00 00 7b 00  00 00 0a 00 00 00 52 45  |;cn...{.......RE|
00000020  41 44 4d 45 2e 74 78 74  0a 4e cc 2d c8 49 0d 49  |ADME.txt.N.-.I.I|
00000030  2d 2e 71 cb cc 49 2d 56  28 06 f3 15 a2 3c 03 14  |-.q..I-V(....<..|

Preview

ZIP files cannot be shown in a browser. Download the file and open it in an application that reads ZIP, such as Windows Explorer, macOS Archive Utility, 7-Zip.

Where 1 MB matters

A 1,048,576-byte file: exactly the default upload limit of nginx, Spring Boot and Next.js. These are the default limits a file of this size is useful for testing:

SystemLimitNote
nginx1 MB by default (client_max_body_size)A multipart upload of this file exceeds the limit by the size of the form boundaries.
Spring Boot multipart1 MB per file by default (max-file-size)A file of exactly 1 MB is at the limit.
Next.js API routes and Server Actions1 MB by defaultLarger bodies need the size limit raised in configuration.
Cloud Firestore documents1 MiB (1,048,576 bytes)The same number of bytes as this file.
Apache Kafka messagesAbout 1 MB by defaultBrokers reject larger records unless message.max.bytes is raised.

All 1 MB sample files

Use this file for

  • Finding the first upload limit in a new stack
  • Testing bulk import features
  • Testing archive uploads and extraction

Testing notes for ZIP

  • Windows reports ZIP uploads as application/x-zip-compressed, so allow-lists need both MIME types.
  • An archive can expand to far more than its own size. Enforce limits on total extracted bytes and entry count to guard against zip bombs.

ZIP format reference

Technical details

File namesample-zip-1mb.zip
FormatZIP (ZIP archive)
Extension.zip
MIME typeapplication/zip
Size1,048,576 bytes (1 MB)
KindBinary
Signature50 4B 03 04
SHA-25653468c695e9e50bf5b46ede974db80aecaf8484aa8e4866f7a7ebcbad55f4717
Created2026-10-21
ValidationSee the listed size and SHA-256. Small downloads are checked in the browser; verify streamed downloads manually. A hash match does not prove parser compatibility.
PreviewNot available for this file; details only
SourceGenerated in your browser by this site's generator; not copied from elsewhere
LicenceFree to use, modify and redistribute (terms)
CategoryArchives

Check the stated structure and checksum against your application requirements. As with any download, scan the file with your own security tools before opening it. How files are made and checked

Verify your copy

This file is created in your browser, so it has no direct URL for curl or wget. The generator is designed to produce reproducible bytes. After saving, compare the checksum with the SHA-256 value above.

sha256sum sample-zip-1mb.zip     # Linux
shasum -a 256 sample-zip-1mb.zip # macOS

On Windows, run Get-FileHash sample-zip-1mb.zip -Algorithm SHA256 in PowerShell. For scripts and pipelines, save the file once and keep your own copy.

Related files

Questions about this file

Is this file exactly 1 MB?
Yes. It is 1,048,576 bytes, which is 1 MB in the binary units that operating systems and server limits use (1 KB = 1,024 bytes).
What is inside the 1 MB ZIP file?
4 entries: a README, a CSV file and a JSON file compressed with deflate, plus payload.bin, 1,044,726 pseudo-random bytes stored without compression so the archive is exactly 1,048,576 bytes.
What is inside the sample ZIP files?
A README, a small CSV file, a small JSON file and a payload.bin entry of pseudo-random bytes that sets the archive size. The smallest archives hold fewer entries.