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.
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.
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.
Nothing is uploaded. The file is processed in your browser.
LZ4 is the closest relative, built for the same kind of speed, and has its own tool on this site. 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. This page checks that claim against what the data could possibly produce, and against the size limit, before it reserves anything.
The checksums in the framed format catch damaged or truncated data. They do not prove who made the file.
Find similar tools by category or tag.