How to use gzip
- 1. Paste text or drop a file. .gz is decompressed.
- 2. Compress to hex + download. gzip or raw deflate.
- 3. Paste hex to decompress. Must match the mode.
- 4. Needs CompressionStream. Modern Chromium/Firefox.
About this tool
CompressionStream brings gzip and deflate to the browser. This tool compresses text, shows hex, downloads bytes, and can inflate a dropped .gz — useful when a fixture must be exactly gzip-wrapped.
deflate vs gzip
gzip has a header and CRC. deflate is the raw zlib-less stream CompressionStream calls "deflate".
zip files
Use ZIP tools. gzip is a single stream.
Code examples
Note
CompressionStream("gzip")