Toolhaus

GZip Compressor

Compress text to gzip (Base64) and decompress it back.

Base64 (gzip)

Compressed output is gzip bytes encoded as Base64.

Formula & methodology

Text is UTF-8 encoded and run through the gzip (DEFLATE) algorithm, then Base64-encoded so it is safe to copy. Decompression reverses the steps.

Worked example

  • Hello, hello, hello!H4sIAAAA… (Base64 gzip)

Frequently asked questions

Why is short text sometimes larger after compression?

Gzip adds a header and checksum, so very short inputs can grow. Compression pays off on larger or repetitive text.

What format is the output?

The compressed output is standard gzip bytes encoded as Base64 so you can copy and paste it safely.

Privacy

All processing happens locally in your browser. Your data is never uploaded.

Related tools