compression
Compress or decompress gzip (.gz) files up to 2 GiB in your browser, with a level from 0 to 9.
Oct 24, 2026
View toolCompress 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.
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.
Results appear here.
Snappy is a compression format from Google built for speed rather than small files. Databases, message queues and storage formats use it where the cost of compressing and decompressing matters more than a few extra bytes.
The same algorithm travels in three containers, and this tool reads and writes all three.
The three containers differ like this:
Snappy data usually turns up as a few bytes copied out of a log, a Kafka message or a database dump, and the three containers look alike to a casual eye. Feeding a Kafka message to a raw decoder, or a raw Parquet page to a framed one, fails with an unhelpful error.
This page reads the header and picks the right decoder, and it tells you when the bytes are really gzip, Zstandard or another format it recognizes.
LZ4 is the closest relative, built for the same kind of speed. Zstandard makes noticeably smaller files and is the better choice when you get to pick the format. gzip compresses better than Snappy but more slowly, and every system opens it.
On your own machine, python-snappy reads the raw and framed forms, and snappy-java reads the Kafka form. Hadoop writes its own framing for .snappy files, which this tool does not read.
Snappy started inside Google under the name Zippy and was released as open source in 2011.
A raw block begins with the length of the original data, so a decoder knows how much memory it needs before it starts. A damaged or hostile block can claim gigabytes, so this page checks that claim against what the data could produce, and against the size limit, before it reserves anything.
Warning
The checksums in the framed format catch damaged or truncated data. They do not prove who made the file.
Explore tools with similar capabilities.
compression
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 LZ4 (.lz4) files up to 2 GiB in your browser.
Oct 24, 2026
View toolcompression
Compress or decompress raw DEFLATE streams (no header, no checksum) up to 2 GiB in your browser, with a level from 0 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 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 toolFind similar tools by category or tag.