Gzip

Compress and decompress gzip, zlib, and raw deflate.

Added 2026-10-31

What it does

Gzip compresses text and decompresses a payload in this tab. Three framings are separate. Gzip is the gzip wrapper. Zlib is the zlib wrapper. Raw deflate has neither wrapper. A payload from one framing is an error in another, not a silent success. Compress writes Base64 or hex. Decompress reads Base64 or hex and returns UTF-8 text. If the bytes are not UTF-8, the page returns hex and says so. Input is limited to 1 MB. Decompressed output is limited to 8 MB, and a payload that expands past that stops while it is inflating. This does not open a zip archive of several files. Nothing is uploaded.

How to use it

  1. Choose gzip, zlib, or raw deflate. They are not interchangeable.
  2. Compress text to Base64 or hex, or decompress a payload back to text.
  3. Output larger than 8 MB stops. A zip archive of several files is not opened.

Common mistakes

  • The wrapper has to match. Gzip, zlib, and raw deflate are different frames. Using the wrong one stops instead of returning leftover bytes.
  • This is not a zip file. One deflate stream is inflated. A zip archive with file names and several members is not opened.

Compression stays in this tab. The payload is not uploaded.

Related tools