Your files stay on your device

Open or make a .gz file

Compress a file to .gz or open a .gz file.

Drop a .gz file to decompress

.gz, .tgz · Up to 256 MB · stays on your device

or paste

What the trailer checks

RFC 1952 defines the gzip format. Every file opens with the bytes 1F 8B, followed by a header and a DEFLATE stream. The last eight bytes hold two little-endian values: a CRC-32 checksum of the original data and the original length. The tool recomputes both from the output and compares them before offering a download.

1F 8BGzip magic number, the first two bytes of the file
CRC-32Checksum of the uncompressed data, four bytes before the end
ISIZEOriginal length modulo 2^32, in the final four bytes

Length limits and wrap

ISIZE keeps only the low 32 bits of the length, so a stream of 4 GB or more would wrap around. This tool caps single streams at 256 MB, far below that point, so the stored value is the real length. A .tgz file is a tar archive compressed with gzip, so decompressing it gives you a tar archive, not loose files. Gzip compresses one stream, not a folder. Bundle files into a tar first if you need several in one file.

Was this tool useful?