Handy Tool Online.

Blog

How ZIP Compression Works (and Why Some Files Barely Shrink)

By Handy Tool Online ·

Short answer: ZIP uses lossless compression that finds repeated patterns and stores them more compactly, so text compresses well. Files that are already compressed, such as JPG, MP4 and other ZIPs, shrink very little.

The idea

ZIP commonly uses the DEFLATE method, replacing repeated data with short references. Nothing is lost: the extracted file is identical to the original.

What compresses well

Plain text, code, spreadsheets and uncompressed images compress strongly. Photos, videos and music are already compressed so gains are small.

Why use ZIP anyway

It bundles many files into one for sending, preserves folder structure and can add a password. Extract before opening large archives from unknown senders.

Try the tools

FAQ

Will zipping a JPG make it smaller?

Usually only by a tiny amount, because JPG is already compressed.