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.
Compress ZIP to other sizes
Need a specific target? Jump straight to the size you need — the tool pre-fills it, then just drop your ZIP.
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 disconnecting from the internet after the page has loaded.
How do I compress a ZIP file to 2MB, 10MB, or 20MB?
Pick a preset, type a custom target, or use the "Compress ZIP to other sizes" links above to jump straight to 2MB, 5MB, 8MB, 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.