Skip to content

Decode Base64url

Decode the URL-safe Base64 alphabet used in tokens and web protocols.

Install in Serialize

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

eyJzY29wZSI6InJlYWQ6cmVjaXBlcyJ9

Expected 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.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close