Zlib Compress/Decompress

Compress and decompress text or files using Deflate algorithm

Mode
compress
Input Size
0 B
Output Size
0 B
Saved
0%
0 B
0 B

Zlib is a widely-used data compression library that implements the DEFLATE algorithm. It's used in many formats including PNG, HTTP compression, and ZIP files.

Raw Deflate
No header, smallest
Zlib
2-byte header + Adler-32
Gzip
10-byte header + CRC-32
Levels
1-9 (speed vs size)