compression
Compress or decompress zlib streams (DEFLATE with a two-byte header and an Adler-32 checksum) up to 2 GiB in your browser, with a level from 0 to 9.
Oct 24, 2026
View toolCompress or decompress raw DEFLATE streams (no header, no checksum) up to 2 GiB in your browser, with a level from 0 to 9.
Runs in your browser — your input is processed on this device and never uploaded.
Pasted text up to 100 MiB, read as UTF-8, or a file up to 2 GiB.
Compress wraps the input as raw DEFLATE. Decompress reads a raw DEFLATE stream and does not guess other formats.
Results appear here.
Raw DEFLATE is the compressed bytes themselves, with no header and no checksum. Gzip and zlib both wrap this stream, and a zip entry often stores it directly.
This tool compresses bytes into a raw DEFLATE stream, or decompresses one back to the original bytes.
A container that already records the length and a checksum does not need another one. Zip entries, and the compressed data inside PNG, keep the wrapper outside the DEFLATE bytes so it is not counted twice.
Without that wrapper, the bytes do not identify themselves. This tool trusts the action you pick. It does not inspect the input and decide which format it is.
Gzip and zlib are the same compressed bytes with a header and a checksum. This page will not open those. A .br (Brotli) or .zst (Zstandard) file is a different algorithm and will not open here either.
The gzip command can inflate a stream with gzip -d only when the stream is actually gzip. For a raw stream larger than 2 GiB, Python's zlib with a negative window, or openssl zlib, are the usual choice.
Phil Katz designed DEFLATE for PKZIP. The format of the raw stream is RFC 1951, and the specification writes the name in capitals. There is no standard file suffix, so this tool uses .deflate to keep the download easy to tell apart from a gzip or zlib file.
Warning
A damaged raw stream can expand into the wrong bytes, because nothing in the stream says it is intact. Gzip and zlib fail when their checksum does not match. Raw DEFLATE cannot do that check.
Explore tools with similar capabilities.
compression
Compress or decompress zlib streams (DEFLATE with a two-byte header and an Adler-32 checksum) up to 2 GiB in your browser, with a level from 0 to 9.
Oct 24, 2026
View toolcompression
Compress or decompress gzip (.gz) files up to 2 GiB in your browser, with a level from 0 to 9.
Oct 24, 2026
View toolcompression
Compress or decompress bzip2 (.bz2) files up to 2 GiB in your browser, with a level from 1 to 9.
Oct 24, 2026
View toolcompression
Compress or decompress Zstandard (.zst) files up to 2 GiB in your browser, with a level from -7 to 4.
Oct 24, 2026
View toolcompression
Compress or decompress LZ4 (.lz4) files up to 2 GiB in your browser.
Oct 24, 2026
View toolcompression
Compress or decompress Snappy data in your browser: framed .sz files up to 2 GiB, raw blocks from Parquet or LevelDB, and Kafka's snappy-java stream.
Oct 24, 2026
View toolFind similar tools by category or tag.