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.
Read the report properly
The report matters more than the download button. It tells you whether recompressing was worth doing for this particular archive, rather than assuming that a tool finishing means it helped.
| Number | Meaning | How to use it |
|---|---|---|
| Original | Size of the ZIP you supplied | The baseline to compare against |
| Compressed | Size of the rebuilt ZIP | What you would actually download |
| Saved | Original minus compressed | If it is zero, recompression gained nothing |
| Percentage | Saving measured against the original | Useful when a service has a hard size cap |
| Per-file action | Recompressed, kept or skipped | Shows which entries produced the gain |
If nothing gets smaller, the page says the ZIP is already as small as this tool can make it and offers no download. That is a result, not a failure.
Choose a strategy and a level
You can decide how aggressively the tool tries. Both options keep a file's original compressed data whenever a new version would be larger, so choosing the slower option cannot make the archive bigger.
| Setting | What it does | Pick it when |
|---|---|---|
| Smart (default) | Skips formats that are already compressed; much faster | Mixed archives; the sensible first try |
| Try every file | Recompresses all readable entries, keeping a new version only if it is smaller | Text-heavy archives where every byte counts |
| Level 6 | Balanced Deflate effort | Normal use |
| Level 9 | Searches harder for repeated patterns | You can afford the extra time for a small gain |
A practical decision tree
- Write down the hard limit you are aiming for, including any allowance for Base64 encoding in email.
- Inspect the biggest entries in ZIP Viewer and note their compression methods.
- If most of the bulk is JPEG, MP4, PDF or Office files, stop here: recompressing will not close a large gap.
- If the bulk is text, code, CSV or logs, run Compress ZIP and read the exact saving.
- If the gain is trivial, consider skipping this step and going straight to cleaning or splitting.
- If the archive is still too big, remove junk with Clean ZIP, or use Split ZIP to fit the limit instead of shrinking the contents.
- A format with a larger compression window, such as 7z or
.tar.xz, may do better on text-heavy data if both sides can open it. See ZIP vs 7Z.
Keep track of what changed
- The original ZIP is never modified. Keep it until you have checked the result.
- Entries that could not be recompressed, including encrypted entries and methods this engine cannot decode, are copied unchanged rather than dropped.
- Folder paths and stored modification times are kept, and the archive comment is carried over.
- Use Compare ZIP to confirm that no file went missing, and ZIP Checksum if you need hashes of the contents.
- Finish with Test ZIP Integrity when the archive is going to someone else.