Skip to content
CompressFilesSize
Fundamentals6 min read·Updated December 1, 2026

Can You Compress a Compressed File?

Short answer: you can run a second pass, but the result depends on what the first pass left behind. Compressing random or already-deflated data cannot make it smaller. Compressing a container that holds uncompressed files can. The difference matters when a portal gives you a hard limit.

Why a second ZIP pass usually fails

Deflate looks for repeated byte patterns. Encrypted, compressed, or random data has none, so the best it can do is store the bytes with a small header — often slightly larger than the input. A ZIP of JPEGs, MP4s, or another ZIP is already at that floor.

Exceptions exist. A ZIP created with the “store” method contains uncompressed files and can shrink dramatically on a second pass. A ZIP with __MACOSX junk can lose megabytes. An old archive with poor compression settings can improve by a few percent at level 9.

  • Helps: stored archives, text-heavy archives, junk-filled archives.
  • Barely helps: archives of documents that were already deflated.
  • Does not help: archives of JPEG, PNG, MP4, MP3, or other ZIPs.

JPEG: re-encoding is not free

JPEG is lossy. Each re-encode approximates the previous result and discards more detail. Saving at 80% twice is not the same as saving once at 80%; compression artifacts accumulate, especially around text and hard edges.

If a JPEG is too large, resize it. Going from 4000 px to 2000 px cuts the pixel count by 75% and gives a much better result than crushing quality at full resolution. Always compress from the original master when possible.

PNG and GIF: palette, dimensions, frames

PNG is lossless, so a second lossless pass can only remove encoding inefficiency. Palette reduction lowers the color count and can cut a screenshot by 50–80%. For photos, converting to JPG or WebP is usually better than palette reduction.

GIF is already an indexed format with 256 colors. Shrinking the canvas, lowering the palette, or dropping frames is what reduces size. Re-saving the same GIF at the same settings does nothing.

PDF and Office files are containers too

DOCX and XLSX are ZIP archives internally. Zipping them again adds a wrapper and typically makes the file slightly larger. To shrink them, remove embedded images, unused fonts, or revision history inside the document.

PDFs are more complex: text, fonts, and images can each be compressed differently. Zipping rarely helps; re-exporting with downsampled images does. A 50 MB scanned PDF can become 3 MB at 150 DPI without losing readability.

The second pass that actually works

Instead of re-compressing the compressed file, change the representation. Resize images, re-encode video at a lower resolution, remove pages from a PDF, or drop duplicates from an archive. Then rebuild the container.

  • Unzip the archive and list files by size.
  • Compress the largest images and videos individually.
  • Remove junk, duplicates, and unused assets.
  • Rebuild the ZIP at maximum compression.
  • Verify the final size in bytes.

When to stop

If the contents are already compressed and the total still exceeds the limit, no compressor can save you. Split the upload, use a file-transfer link, or reduce the scope. An honest tool should tell you that instead of producing a file that is larger than the original.

Try it

Try a second ZIP pass

Junk removal and level-9 repacking, with honest reporting.

Open the compressor

Written by the CompressFilesSize editorial desk. We test every recommendation in a current desktop and mobile browser, and we publish the actual behaviour of the tool rather than theoretical compression ratios.