How ZIP Compression Works, and Why It Doesn't Always Shrink Your Files
Zip a folder of Word documents and it might shrink to a third of its original size. Zip a folder of JPGs or MP3s and it might barely shrink at all — sometimes the zipped version is even a few bytes larger. This isn't a bug. It comes down to what kind of data is inside the file and whether it's already been compressed once.
What compression is actually doing
ZIP (and most general-purpose compression) works by finding repeated patterns in data and replacing them with shorter references. A text document is full of repetition — common words, whitespace, repeated formatting codes in the underlying file structure — so a compression algorithm can represent it far more compactly than the original. This is why plain text, Word documents, spreadsheets, uncompressed images (BMP), and code files typically compress well, often by 50-90%.
Why JPGs, MP3s, and MP4s barely compress
JPG, MP3, PNG, and MP4 are already compressed formats — they use their own specialized algorithms (tuned for images, audio, or video respectively) that have already squeezed out the redundant patterns a general-purpose compressor like ZIP would look for. Running ZIP on top of an already-compressed file is like trying to wring water out of a towel that's already been through the dryer — there's very little left to remove, and the ZIP overhead (headers, file tables) can occasionally make the result marginally bigger than the original.
So why zip already-compressed files at all?
Even when it doesn't save meaningful space, zipping still solves a different problem: bundling. A ZIP file combines multiple files and folders into a single file for easier sharing, uploading, or emailing, and preserves folder structure and file metadata in the process. If you're sending someone 200 photos, zipping them into one file is far easier to handle than 200 separate attachments — that's the value, independent of compression ratio.
A rough compression expectation by file type
- Plain text, code, CSV: often compresses 70-90% smaller
- Word/Excel/PowerPoint documents: typically 30-60% smaller (these formats are already partially compressed internally, but still have redundancy)
- Uncompressed images (BMP, TIFF): can shrink dramatically, often 50%+
- JPG, PNG, GIF: minimal change, usually under 5%
- MP3, AAC, MP4, most video: minimal to no change, occasionally slightly larger
Try it yourself
Our Zip Archiver compresses and bundles files entirely in your browser, and can also extract existing ZIP files — nothing is uploaded to a server in either direction.
This guide is for general understanding of file compression. Actual compression ratios vary based on the specific content of each file.
Frequently asked questions
Why did my zipped folder end up almost the same size as before?
This is normal if the folder mostly contains already-compressed formats like JPGs, MP3s, or MP4s — there's little redundant data left for ZIP to remove.
Is it worth zipping photos before emailing them?
Yes, but for convenience rather than size — zipping bundles many files into one attachment, which is easier to send and download than dozens of individual images, even though the total size barely changes.
Does zipping a file twice compress it further?
No. Once a file is compressed, zipping the result again provides no further size reduction and can occasionally add a small amount of overhead.