ENCODING & HASHING

gzip / zlib / Deflate Decompressor

Detect and decompress gzip, zlib and raw deflate data from Base64, hex or files — and compress text back.

Runs locallyYour input never leaves this device
WORKBENCH

2 MB input limit · no history kept

Uses the browser's built-in Compression Streams API. zlib data usually starts with 78 9c or 78 da (eJ… in Base64) and gzip with 1f 8b (H4sI… in Base64). Output is capped at 50 MB to stop decompression bombs.

HOW TO USE

How to use the gzip / zlib / Deflate Decompressor

In CTFs and malware analysis, Base64 that decodes to garbage is often zlib- or gzip-compressed data: PowerShell payloads, cookies or PDF streams. This tool reads the magic bytes to pick the format and decompresses it entirely in your browser.

  1. Paste Base64 or hex compressed data and choose its format, or drop a .gz file.
  2. Leave Auto-detect selected and click Decompress; the tool chooses gzip, zlib or raw deflate.
  3. Switch the output format to inspect the result, or download the bytes for other tools.
USE CASES

gzip / zlib / Deflate Decompressor use cases

  • Decode Base64 strings that start with eJ (zlib) or H4sI (gzip).
  • Unpack PowerShell payloads compressed with DeflateStream or GzipStream.
  • Compress text as zlib or gzip for payload testing and comparison.

Related topics: gzip, zlib, deflate, inflate, decompress, 解壓縮, base64, ctf

FAQ

gzip / zlib / Deflate Decompressor FAQ

Does the gzip / zlib / Deflate Decompressor upload my data?

No. Tool input and results stay in the current tab. Navigation may load static site assets, but does not upload the data you enter.

Is the gzip / zlib / Deflate Decompressor free? Do I need an account?

It's free with no account and no usage limits, like every other tool on SecTools.

Can I use the gzip / zlib / Deflate Decompressor on mobile or offline?

Yes. It works in mobile and desktop browsers and keeps working offline once the page has loaded. You can also self-host the open-source code on an internal network.

Can I treat the gzip / zlib / Deflate Decompressor's results as a final verdict?

Use them for triage and cross-checking. For important incidents, keep the original evidence and confirm with your formal verification or forensic process.

SECURITY NOTE

Use it safely

This tool supports analysis and interpretation; it doesn't replace a formal security review. Avoid pasting live credentials, private keys or production passwords on a shared computer. Close the tab when you're done and your input is gone.