Skip to content

Unwrap URL-encoded Base64 Gzip JSON

Remove a URL layer, decode Base64, decompress Gzip, and format the recovered JSON document.

Install in Serialize

What it can do

  • Decode percent escapes
  • Recover compressed bytes from Base64
  • Decompress a Gzip member
  • Validate and sort JSON

How the recipe works

URL Decode

Restore percent-encoded characters such as padding signs.

From Base64

Convert Base64 text to compressed bytes.

Gunzip

Expand the Gzip payload.

JSON Beautify

Parse, sort, and indent the JSON object.

Demonstration

Sample input

H4sIAAAAAAAAE6tWKk4tKstMTlWyArEyE3Myq1KVdJSKSxJLSouVrJTys5V0lDJLUnOLlayijXUMdYxjawFciGyyNQAAAA%3D%3D

Expected result

"service": "serialize"

When to use it

  • Webhook debugging
  • Encoded query payloads
  • Teaching representation versus compression

Adapt it

Inspect intermediate bytes before changing the compression operation; Zlib and raw DEFLATE use different wrappers.

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