Skip to content

Tools/gzip

gzip

Compress and decompress gzip or deflate with CompressionStream. Nothing is uploaded.

Loading tool…

How to use gzip

  1. 1. Paste text or drop a file. .gz is decompressed.
  2. 2. Compress to hex + download. gzip or raw deflate.
  3. 3. Paste hex to decompress. Must match the mode.
  4. 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")

Frequently asked questions

Related tools

All tools