How to use it
- Choose a file, or paste the compressed data as Base64 or hex.
- Read the result; add the step “JSON format” if it is JSON.
- Press “Reverse the direction” to compress text or a file; tick “Framing format (sNaPpY stream)” for the framed form.
Rules and limits
How Snappy is read and written
- Three forms are read: the raw block format (a length, then literals and copies), the framing format that starts with “sNaPpY”, with the CRC-32C of every chunk checked, and snappy-java streams.
- Compressing writes a raw block, or the framing format with “Framing format (sNaPpY stream)” ticked.
- Decompression stops at 64 MB of output, so a small “zip bomb” cannot fill the memory of the tab.
Limits
- The text box shows the first 200,000 characters; the download has everything.
Questions and answers
Why does it say the Snappy checksum does not match?
A chunk of the framed data was changed or cut, often because the data was copied as text. Copy it as Base64 or hex, or use the file itself.
Can I paste hex instead of Base64?
Yes: Base64 (standard or URL-safe), hex with or without spaces, or a file. The page says how it read the input; to choose by hand, set “Read as” to “Base64” or “Hex”.
What if my data has no “sNaPpY” at the start?
Then it is taken as a single block, which begins with the size of the original data. If that fails too, the data is probably another format: try the message decoder.