Gzip vs Deflate vs Zlib — what is the difference?
All three names refer to the same DEFLATE algorithm with different wrappers. DEFLATE (RFC 1951) is the raw compressed payload. Zlib (RFC 1950) wraps DEFLATE with a 2-byte header and a 4-byte Adler-32 checksum. Gzip (RFC 1952) wraps DEFLATE with a 10-byte header (magic bytes, mtime, OS), optional file metadata, and a CRC-32 + ISIZE trailer — making it suitable for files and HTTP transport.
This tool uses the browser's built-in CompressionStream('gzip') — the same engine that powers fetch() response decoding. It produces fully RFC 1952-compliant output that gunzip, zcat, Python gzip.decompress, Node zlib.gunzipSync, and any HTTP client will accept.