Compress or decompress GZIP files
No sign-up. Files and text stay in your browser.
Drop a file to compress
One file · up to 100 MiB
How to compress or open a GZIP file
- Choose Compress a file to .gz or Decompress a GZIP file.
- Select one file up to 100 MiB and run the tool. Decompressed output is limited to 150 MiB.
- Download the .gz file or the extracted original.
When to use GZIP
GZIP compresses a single byte stream and is commonly used for logs, CSV exports and other text files. A .tar.gz file contains a TAR archive compressed with GZIP. Opening it here returns the .tar file. If you need to combine several separate files in one archive, use the ZIP File Compressor.
Continue with a related task
Remove extra whitespace from a JSON export
Create compact, readable JSON before compressing it for transfer.
Package several files together
Use ZIP when recipients need to extract several individual files.
Estimate storage savings inside a database
Use measured database benchmarks to size older rows before compaction.
Questions
What is the difference between ZIP and GZIP?
ZIP bundles multiple files into an archive. GZIP compresses one stream, which can also be a single TAR archive containing several files.
Can I decompress a .tar.gz or .tgz file?
Yes. The tool removes the GZIP compression and returns the .tar archive. You can then open that archive with a TAR-compatible tool.
Does GZIP change the contents of CSV or JSON files?
No. GZIP is lossless compression. A successful compress and decompress round trip restores the original bytes.
Why is my GZIP file not opening?
Check that the file is a complete, valid GZIP stream. The browser also stops if the decompressed output would exceed 150 MiB.