Compression & Archives
Gzip Archive Processor
Process compressed data with Gzip and the selected archive settings. Choose the input and archive options, then download the processed result.
This tool runs open-source code from CyberChef by GCHQ (Apache License 2.0). See open-source credits.
Gzip Archive Processor compresses input into gzip bytes. Compress hello, then decompress those bytes with Gunzip to recover hello. Small inputs can produce larger compressed files because the format adds headers and a trailer.
The result is a binary download containing gzip data. It is not readable Base64 or hexadecimal text.
- Create compressed bytes for a gzip-compatible receiver.
- Check a compress/decompress round trip with a small sample.
- Compare compressed size with original size before selecting a transport format.
Instructions
- Create a UTF-8 text file containing hello without an extra line break. Select that file in the File input.
- Keep the default compression type, leave Filename (optional) and Comment (optional) empty, and run the tool.
- Download the binary result. Decompress its exact bytes with Gunzip and check that they recover hello.
Example
Input: A 24-byte text file that contains hello hello hello hello and a line feed
Settings: Compression type Dynamic Huffman Coding, Filename (optional) hello.txt, Comment (optional) empty, Include file checksum off
Result: Binary gzip data that starts with bytes 1f 8b 08 08 and stores the name hello.txt
The fourth byte, 08, marks a stored file name. Without a filename, that byte is 00.
Limits
- Gzip is compression, not encryption. Anyone with the data can decompress it.
- The download uses a generic .bin filename. Rename it to .gz when the receiving application requires that extension.
- Compression headers can vary. Compare decompressed bytes, not a fixed compressed string.
- This tool does not collect multiple files into a ZIP archive.