Skip to content

Gzip Compressor

Gzip-compress text in your browser and get the result as Base64 or hex, with adjustable level and optional size ratio.

Runs in your browserText → Gzip (Base64)
Loading tool…

Example

Input
hello hello hello hello
Output
H4sIAAAAAAAAA8tIzcnJV8AgAeNRPY0XAAAA

How to use the Gzip Compressor

  1. Paste or type your Text into the input area, or open a file from your device.
  2. Adjust the options above the editor if the tool offers any.
  3. Review the Gzip (Base64) result, then copy it or download it as a file.

Privacy and limitations

  • Your data is processed on your device and is not uploaded to any server.

Frequently asked questions

Why is the output sometimes larger than the input?

Gzip adds an 18-byte header and trailer, and Base64 adds about 33%. Very short or already-compressed text therefore grows; savings appear on longer, repetitive text.

Browse all compression →