Gzip Compress
Compress any file to gzip (.gz) in your browser and see how much smaller it gets. Pick fastest, default or smallest. Handy for testing web compression.
Runs in your browser. Nothing is uploaded.
About Gzip Compress
Gzip Compress turns each file you drop into a .gz file, storing the original name and date in the gzip header. Choose compression level 1 (fastest), 6 (the gzip default) or 9 (smallest) and see the saving for each file.
Gzip is what web servers use to shrink HTML, CSS, JavaScript and JSON on the way to the browser, so this is a quick way to see how big an asset really is over the wire. It's also the standard format for compressing logs and database dumps on Linux.
Gzip compresses a single file. To bundle several files into one compressed archive, create a .tar.gz or a ZIP instead.
How to use Gzip Compress
- Open the tool above and add your file or text.
- Adjust the options to suit.
- Download or copy the result. Nothing is uploaded at any point.
Frequently asked questions
How do I open a .gz file?
Use the GZ File Extractor here, gunzip on macOS or Linux, or 7-Zip on Windows.
Why didn't my file get smaller?
JPG, PNG, MP4, ZIP and other already-compressed formats have little redundancy left, so gzip can't shrink them further.
Is Gzip Compress free and private?
Yes. Gzip Compress is completely free, with no sign-up and no watermark. Your files are processed inside your browser and never uploaded to a server, so they stay on your device.