Skip to content

GZIP Decompressor

Decompress .gz files online with our GZIP Decompressor. Upload a GZIP file up to 10 MB, such as a compressed log, a database dump or a downloaded dataset, and get the original file back under the name stored in its header or the upload name without .gz. Multi-member files are joined, damaged data is reported, and outputs are capped at 50 MB with protection against compression bombs.

Choose files or drag and drop them into the upload field. Maximum file size: 5 MB.

Reset

Frequently asked questions

How do I open a .gz file?

Upload the .gz file and click Decompress File. The tool restores the original file and offers it as a download.

What name does the decompressed file get?

If the GZIP header stores the original file name, that name is used. Otherwise the upload name without .gz or .gzip is used, and a .tgz file becomes a .tar file.

How large can the file be?

The uploaded .gz file can be at most 10 MB and its decompressed content at most 50 MB. Larger results are refused with a message.

What is a compression bomb and how is it handled?

A compression bomb is a small file that decompresses to an enormous size to exhaust memory. The decompressor stops once the output grows past 50 MB, or past 100 times the upload size when the output is larger than 1 MB, and reports it.

What if my file is a .tar.gz?

The decompressor returns the inner .tar file. To get the individual files instead, use the TAR Extractor, which decompresses and unpacks the archive in one step.

Are multi-member GZIP files supported?

Yes. Files made by appending several GZIP streams, as some log rotation tools do, are decompressed member by member and joined into one output file.

Why does it say the file is not a GZIP file?

Every GZIP file starts with a fixed signature and uses Deflate. If the upload is a ZIP, a BZIP2 or XZ file, or plain data renamed to .gz, it is refused. Use the ZIP Extractor for .zip files.

What happens with a damaged or truncated file?

If the compressed data ends early or is corrupt, decompression fails and you get a message that the file is damaged, rather than a partial result that looks complete. For single-member files the checksum and length in the GZIP trailer are verified as well.

Does it work with .gz files from servers and backups?

Yes. Rotated logs such as access.log.1.gz, SQL dumps made with gzip, compressed CSV exports and precompressed web assets all use the standard format the tool reads.

Is the file stored after decompression?

No. The file is decompressed in memory for this request only and returned to you directly.

About OneClick Pro

OneClick Pro is a free collection of more than 150 web tools for everyday work: converting images and units, formatting and validating code, checking domains and SEO, and working with text, dates and numbers. Every tool runs without registration or subscription, and what you enter is only used to calculate your result and is never stored. Use it as a quick toolbox for one-off tasks, or bookmark the tools you rely on every day.