What it can do
- Use dash and underscore alphabet characters
- Handle omitted padding
- Recover JSON or binary data
How the recipe works
From Base64
Decode RFC 4648 URL-safe Base64 rather than the standard plus/slash alphabet.
Demonstration
Sample input
eyJzY29wZSI6InJlYWQ6cmVjaXBlcyJ9Expected result
{"scope":"read:recipes"}When to use it
- JWT segments
- OAuth parameters
- Web-safe binary identifiers
Adapt it
Add JSON Beautify when the decoded value is a compact JSON object.
Source and verification
Adapted from GCHQ CyberChef Node API 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.