Compress a ZIP to 1MB
You can't shrink a ZIP by re-zipping it — it's already compressed. This tool opens your archive, recompresses the images and PDFs inside to fit a size you choose, and repacks it. Pick a target, drop your ZIP, and download a smaller one. Everything happens in your browser.
Drop files here or browse
Supports ZIP - Up to 500 MB uncompressed
Compress a ZIP to 2 MB, 5 MB, 10 MB, 20 MB or 25 MB
Each link opens the tool with that target already set. Then drop your ZIP.
Compress a ZIP file to 2 MB
Job portals, college applications and forum attachments often stop at 2 MB. That's about 10 phone photos at 200 KB each, or 4 at 500 KB. At 200 KB a phone photo is resized and recompressed, but it still looks fine on a phone or laptop screen. Scanned PDFs usually shrink the most, because scanners keep far more detail than a form needs.
Compress a ZIP to 2 MB: /compress-zip?target=2mbCompress a ZIP file to 5 MB
Many job-application forms and some email services cap attachments at 5 MB. That fits about 25 photos at 200 KB, or a long scanned PDF plus a few photos. If the ZIP holds a mix, the budget is split by weight, so the biggest files give up the most.
Compress a ZIP to 5 MB: /compress-zip?target=5mbCompress a ZIP file to 10 MB
A common cap for web upload forms and chat apps. That's room for about 50 photos at 200 KB. Video clips and screen recordings inside a ZIP are passed through untouched, so if they're the heavy part, compress them with the video compressor first and zip the results.
Compress a ZIP to 10 MB: /compress-zip?target=10mbCompress a ZIP file to 20 MB
A common ceiling for upload forms. At this size photos can stay large: about 40 at 500 KB, which keeps enough detail to print at postcard size. Only the files that need it are recompressed; small files pass through unchanged.
Compress a ZIP to 20 MB: /compress-zip?target=20mbCompress a ZIP file to 25 MB
Gmail and Outlook.com both limit an email's attachments to 25 MB. Gmail turns anything bigger into a Google Drive link, which some recipients can't open. A ZIP compressed to just under 25 MB goes as a normal attachment.
Compress a ZIP to 25 MB: /compress-zip?target=25mbZIP file size: MB to KB
1 MB is 1,024 KB in the binary units that Windows and this tool use, or 1,000 KB in the decimal units that macOS Finder and some upload forms use.
| MB | KB (1 MB = 1,024 KB) | KB (1 MB = 1,000 KB) |
|---|---|---|
| 1 MB | 1,024 KB | 1,000 KB |
| 2 MB | 2,048 KB | 2,000 KB |
| 5 MB | 5,120 KB | 5,000 KB |
| 10 MB | 10,240 KB | 10,000 KB |
| 25 MB | 25,600 KB | 25,000 KB |
To get a ZIP under a limit given in KB, type the target in KB, like 800kb, or open /compress-zip?target=800kb. The tool counts 1 KB as 1,024 bytes, so if a form might mean 1,000, set the target about 3% lower (for a 500 KB limit, use 485kb) and the file passes either way.
How far below 1 MB a ZIP can go depends on what's inside. A few photos or scans can usually reach a few hundred KB, since a photo can drop to roughly 30–50 KB and still be recognizable on a phone screen. Text files, video and audio aren't recompressed, so their combined size is the floor.
How shrinking a ZIP actually works
A ZIP file stores its contents already compressed with DEFLATE, so running it through another zipper barely helps — DEFLATE has no second pass to give. The real savings come from the contents: photos and PDFs are usually the heavy items, and unlike the ZIP container itself, they can be recompressed to a fraction of their size because their own formats have quality dials the ZIP container doesn't. A folder of 30 phone photos zipped up for email is a common case where this matters: the ZIP wrapper itself saves almost nothing over the raw files, but recompressing each JPEG inside typically cuts the total by more than half.
This tool inspects every file in the archive, splits your chosen size budget proportionally across the images and PDFs by their share of the total recompressible weight, then runs each one through a binary search on its own quality parameter — the same search a single-file image compression does, just repeated per file with a per-file budget instead of one global target. Files that are already compressed — video, audio, other archives, already-tiny text files — are copied through untouched, because recompressing an already-compressed stream either does nothing or makes it slightly larger.
- 1Pick a target size. Choose 1MB, 5MB, 10MB, 25MB, or enter a custom target size.
- 2Drop your ZIP. Drag and drop or click to select a ZIP file from your device. It opens entirely in your browser.
- 3Download the smaller ZIP. The tool recompresses the contents and repacks a smaller ZIP. Download it directly.
What can be shrunk inside a ZIP
| Inside the ZIP | Can it shrink? | How |
|---|---|---|
| Photos (JPG, PNG, WebP) | Yes — a lot | Recompress at lower quality / smaller dimensions |
| PDFs | Yes — often | Strip metadata, recompress embedded images |
| Text, code, CSV, JSON | A little | Already small; limited gains |
| Video & audio (MP4, MP3) | Usually not | Already compressed codecs |
Known limits
If your archive is mostly video, audio, or already-compressed files, there may be very little the tool can actually shrink — the achievable size is bounded by whatever recompressible content exists, and the tool will tell you plainly if your target isn't reachable rather than silently producing an oversized file.
Archives with hundreds of files, or very large individual images, take longer because each recompressible file runs its own binary search independently — the total work scales with the number of images and PDFs, not just the archive's total size.
Password-protected ZIPs and split/multi-volume archives (.zip.001, .z01) aren't supported — this tool works on a single, complete, unencrypted ZIP.
Frequently asked questions
Can you really compress a ZIP to 1MB?
A ZIP is already compressed, so re-zipping it saves almost nothing. We get a ZIP smaller by recompressing the images and PDFs inside it (lossily) until the total fits your target. If the archive is mostly already-compressed content like video or audio, hitting a small target may not be possible — the tool tells you honestly and suggests removing files or splitting the archive.
Is the compression lossless?
No. Images and PDFs are recompressed lossily to save space, so there is some quality loss — usually minor for photos. Files we cannot safely shrink (text, video, audio, other archives) are passed through untouched.
What about videos or audio inside the ZIP?
In this version, only images and PDFs are recompressed; video and audio are kept as-is. If those make up most of your archive, the achievable size is limited.
Are my files uploaded to a server?
No. The archive is unpacked, its contents recompressed, and the new ZIP rebuilt using libarchive compiled to WebAssembly, running inside a Web Worker on your device. There is no upload step in the code path for it to hit — you can confirm this in your browser's Network tab while it runs, or by compressing one archive, disconnecting from the internet, and compressing another.
How do I compress a ZIP file to 2MB, 10MB, or 20MB?
Pick a preset, type a custom target, or use the links in the size sections above, such as /compress-zip?target=2mb, to open the tool set to 2MB, 5MB, 10MB, 20MB, or 25MB. The tool then recompresses the images and PDFs inside your archive to fit that size.
Can I reduce a ZIP file to KB instead of MB?
Yes. Enter a target in kilobytes such as 500kb in the custom field, or add ?target=500kb to the URL. Whether a very small target is reachable depends on the contents — already-compressed video and audio limit how small the ZIP can get.
Learn more
From the blog
How to compress a ZIP to 1MB
Why re-zipping does almost nothing, and what actually shrinks an archive.