Skip to content
Devkito

Gzip / Brotli Compressor

Compress and decompress text with Gzip, Zlib, Deflate or Brotli.

Runs on your machine. Nothing you paste is uploaded.

Download freePricing

Get Gzip / Brotli Compressor and 121 other tools. Free for 7 days, no account needed.

Gzip / Brotli Compressor in Devkito

What it does

Compress text with Gzip, Zlib, raw Deflate or Brotli and get the result as Base64 or hex, or paste compressed data to read it back. The sizes before and after, and the ratio, are shown as you type.

When decompressing, the format can be detected automatically: Gzip and Zlib from their headers, then raw Deflate and Brotli are tried in turn. You can also drop a .gz or .br file. If the result is not text, it is shown as hex instead of garbled characters.

When you would reach for it

  • Read a gzip-compressed, Base64-encoded payload from a log, a cookie or a message queue.
  • Check how much Brotli or Gzip would shrink an API response or a JSON file.
  • Produce a compressed fixture for a test that decodes compressed input.
  • Find out which compression a mysterious binary blob uses.

Also found by searching