Skip to content

Decode Base64 and Gunzip

Recover text wrapped first in Gzip and then in Base64.

Install in Serialize

What it can do

  • Remove a printable transport wrapper
  • Recognize the Gzip header
  • Inflate the original content

How the recipe works

From Base64

Decode Base64 to raw compressed bytes.

Gunzip

Decompress the Gzip member.

Demonstration

Sample input

H4sIAAAAAAAAE/NJrEwtSk1RSM7PLShKLS7OzM9TKM8vyi7WAwCeqi7oGgAAAA==

Expected result

Layered compression works.

When to use it

  • API payloads
  • Encoded log fields
  • Multi-layer data exercises

Adapt it

Use Zlib Inflate or Raw Inflate when the compressed stream does not contain a Gzip header.

Source and verification

Adapted from GCHQ CyberChef project and examples. The explanation and sample are written for Serialize, use synthetic or documentation-safe data, and are checked against the current operation catalogue. The workflow runs locally without an external API call.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close