Compress text to gzip, zlib or raw deflate, or decompress it back, with Base64 or hex output. Runs entirely in your browser.
gzip, zlib and raw deflate are closely related compression formats built on the DEFLATE algorithm. They appear everywhere: HTTP responses, log files, PNG internals, SAML redirects and many binary protocols, differing mainly in the header and checksum that wraps the compressed data. This tool compresses text into any of the three formats and decompresses data back to text, which is useful for inspecting payloads and debugging protocols.
Input:
Hello, world (compress, gzip, Base64)
Output:
H4sIAAAAAAAAA/NIzcnJ11Eozy/KSVEEAObG5usNAAAA
What is the difference between the three formats?
All use DEFLATE. gzip wraps it with a gzip header and CRC32, zlib with a 2-byte header and Adler-32, and raw deflate has no header or checksum. Pick the one your data uses.
Why choose Base64 or hex?
Compressed output is binary, so it is shown as Base64 (compact) or hex (easy to read byte by byte). Use the same encoding when decompressing.
Can it open a .gz file?
This tool works on text and Base64/hex strings, not file uploads. Paste the Base64 of the gzip data and choose gzip to decompress it.
Is anything uploaded?
No. Compression and decompression run locally in your browser.
Compress text to gzip, zlib or raw deflate, or decompress it back. The compressed side is Base64 or hex. Everything runs in your browser.