Skip to content
uencoder
PIPELINE Security & Privacy Intermediate 2 steps

Decode and format a JWT payload

After decoding a JWT to inspect its claims, the payload JSON benefits from pretty-printing. This chain first decodes the JWT (extracting header, payload, and status), then formats the JSON payload portion for readability.

What it solves

Parse a JWT token, extract its payload, and format the JSON for inspection.

Input → Output

Base64 Decoder input → JSON Formatter output across 2 steps.

Runs in

2–3 minutes · fully local in your browser.

Before you start

  • A JWT payload segment (the part between the two dots)

The pipeline

  1. 1 Base64 Decoder base64-decode

    Decode Base64 data back to readable text online. Free, private, and 100% client-side.

  2. 2 JSON Formatter json-format

    Format, minify, or sort JSON online. Free, private, and 100% client-side.

    Params: mode=format

Open in Toolchain

Runs locally in your browser. The recipe defines the pipeline only — your input never leaves this tab.

▶Run this workflow

Enter your input below and click Run. All processing happens locally in your browser — nothing is uploaded.

Pipeline progress

  1. Base64 Decoderbase64-decode
  2. JSON Formatterjson-format

Sample input

eyJzdWIiOiIxMjM0NTY3ODkwIn0

Expected output

{
  "sub": "1234567890"
}

This pair is executed against the real tools at build time (tests/unit/recipes.test.ts) — the expected output is verified, not illustrative.

Related tasks

Related workflows

You might also need

Workflows sharing tools or topics with this recipe.

Learn more

Tools used