Compression Savings Estimator
Estimate compressed sizes and savings.
Runs in your browser. Nothing is uploaded — your input is processed on this device and discarded when you close the tab.
Compression Savings Estimator
How to use this tool
- Enter your values in the fields above.
- Press Generate to see the result.
- Use Load sample to try the worked example, Copy result to copy it, or Clear to start again.
Worked example
A 100 KB HTML file is estimated at about 25 KB with gzip (75% saved) and about 20 KB with Brotli (80% saved), using typical ratios for text files.
What this tool does not do / Limits
These are estimates from typical ratios, not measurements of your file. Real savings vary with content, and already-compressed formats such as pictures save far less.
Frequently asked questions
Why do text files compress so well?
Text repeats patterns and words, which compression algorithms replace with short references.
Is Brotli always smaller than gzip?
Usually for text, yes, but the gap varies and both depend on the exact content.
Related tools
JSON Studio
Format, validate, minify, query and compare JSON in your browser, with precise line-and-column errors.
LiveRegex Tester
Test patterns against sample text with match highlighting, capture groups and a safe one-second timeout.
LiveSecurity Header and DNS Checker
Check HSTS, CSP and other security headers, TLS details, and DNS/email authentication records (SPF, DKIM, DMARC).
Live