People usually want a smaller ZIP because something has a size limit. Recompressing can help a lot, a little or not at all, depending on what is inside. This guide shows how to tell in advance, how to recompress when it is worthwhile, and what actually works when it is not.
Check what is inside first
Open the archive in ZIP Viewer and look at the compression method and ratio of the biggest files. Entries marked Store were not compressed at all, which is the biggest opportunity. Entries that are Deflate-compressed but barely smaller than the original are usually already-compressed formats, and no ZIP tool will shrink them meaningfully.
What shrinks and what does not
| Content | Typical result with Deflate |
|---|---|
| Plain text, CSV, JSON, XML, logs | Large savings, often 60-90% smaller |
| Source code, HTML, CSS, SVG | Large savings, often 60-80% smaller |
| Uncompressed images and audio (BMP, TIFF, WAV) | Varies widely: screenshots and diagrams shrink a lot, photos and recordings much less |
| JPEG, PNG, WebP, GIF, HEIC | Almost nothing; already compressed |
| MP4, MOV, MP3, AAC | Almost nothing; already compressed |
| PDF, DOCX, XLSX, PPTX, EPUB | Usually little; these formats are compressed internally, and Office and EPUB files are ZIPs themselves |
| ZIP, 7z, RAR, GZ archives | Almost nothing |
These ranges are typical, not promises. The only way to know for a given archive is to try, which is why Compress ZIP reports exact sizes.
Recompress a ZIP in your browser
- Open Compress ZIP and choose the archive.
- Start compression. Each file is recompressed at a high Deflate level and the smaller of the old and new versions is kept. Formats that are already compressed are left as they are.
- Read the report: original size, new size, bytes saved and percentage.
- Download only if it is worth it. If nothing got smaller, the tool says so instead of handing you a bigger file.
Recompressing is lossless. Every file extracts to exactly the same bytes as before; only the way it is packed changes.
What to do when the ZIP will not shrink
- Remove what you do not need. Clean ZIP strips
__MACOSX,.DS_Store,Thumbs.db,.gitand dependency folders such asnode_modules, which can make up a surprising share of a project archive. - Shrink the media itself. Photos and videos only get smaller by re-encoding them at a lower quality or resolution with an image or video tool. That changes the files, so do it deliberately and keep the originals.
- Split instead of shrinking. If the problem is a size limit, Split ZIP makes parts that each fit and each open on their own.
- Use a stronger format when both sides can open it. 7z or
.tar.xzusually beat ZIP on text-heavy data, at the cost of compatibility. See ZIP vs 7Z. - Share a link instead. For very large files, a cloud storage link avoids attachment limits entirely.
Why maximum compression is only slightly smaller
Deflate, the method almost all ZIP files use, looks for repeated data within a 32 KB window. Higher levels search that window more thoroughly, which typically saves only a few percent over the default level while taking noticeably longer. Formats such as 7z and xz search windows of many megabytes and compress similar files together, which is where their advantage comes from.