Zlib Compressor
Compress UTF-8 text or exact file bytes into a zlib stream with an Adler-32 checksum. Review the byte counts and download .zlib, Base64 or hex.
Verify a Zlib File and Its Adler-32 Checksum
RFC 1950 output includes a zlib header and an Adler-32 checksum.
Zlib Compressor: how to use it
- Enter text or select Exact file bytes and choose one local file.
- Choose a compression level from 0 to 9 and select Compress with zlib.
- Download the .zlib stream or choose a text encoding. For large results, prepare the full encoding before downloading it.
Limits and notes
Accepts one file up to 30 MB or text up to 200,000 UTF-16 code units. The encoding preview shows at most 1,536 compressed bytes. The stream stores one byte sequence without filenames or timestamps. Compression and export run on this device.
How your privacy works →Zlib Compressor: common questions
Which command decompresses the result?
Use Python zlib.decompress(data) or Node's zlib.inflate. Both expect a zlib wrapper by default.
What is the difference between zlib and raw DEFLATE?
Zlib wraps the DEFLATE blocks in a header and an Adler-32 checksum. A raw DEFLATE decoder expects the blocks without those wrapper bytes.
Can a .zlib result be larger than its input?
Yes. The wrapper and block data take space. A short or already-compressed input can expand, and level zero stores the bytes in blocks with framing.