⚡ Developer · Client-side · No data sent to server

Gzip & Deflate Size Calculator

Paste text or drop a file to see exactly how much it shrinks with gzip and deflate. Everything runs in your browser using the native compression API, so nothing is uploaded.

Input

Results

Original
0 B
Uncompressed
Gzip
0 B
0% smaller
Deflate
0 B
0% smaller

How this maps to your server. Gzip is what Apache mod_deflate and Nginx gzip send to browsers. The "smaller" figure is roughly the transfer saving you get once compression is switched on. Real-world results vary slightly by server compression level. Files are read and measured locally and never leave your device.