Skip to content

Encoding converters

Base64 to JSON

Convert Base64 to JSON online: decode the payload, validate and pretty-print it, with precise error positions when the JSON is broken. API payloads, JWTs and webhooks — all client-side.

100% private · everything runs in your browser

Decode Base64 that contains JSON and get it back pretty-printed and validated. API webhooks, JWT claim segments and config payloads all land here — if the JSON is broken you see the exact parse error, with byte count and top-level type always on show.

Base64 input
Options

How to use

Base64 to JSON, step by step

  1. 01

    Paste the Base64 value — a JWT payload segment, a webhook body, a config blob. Whitespace and data-URI prefixes are handled automatically.

  2. 02

    The JSON is decoded as UTF-8 and parsed. Valid input is pretty-printed with 2-space indentation; invalid input shows the parser’s exact error.

  3. 03

    Copy the formatted JSON — the totals card confirms it parsed and shows the structure before you take it.

FAQ

Frequently asked questions

Yes — the middle segment of a JWT is Base64URL-encoded JSON. Paste it here and the claims come back pretty-printed. (The URL-safe alphabet is auto-detected; missing padding is repaired.) Signature verification is out of scope — this shows you the claims, not their authenticity.

The decoded bytes were not syntactically valid JSON — common when the Base64 is a fragment of a larger structure, or the payload is actually protobuf or something else entirely. The error includes the parser’s position so you can see how far the decode got; paste the payload into the Base64 to Text or Base64 to Hex tool to inspect what the bytes really contain.

Yes — any valid JSON: objects, arrays, nested combinations, scalars. The top-level type is shown in the result card.

The payload is decoded as UTF-8 (the JSON standard). Emojis, CJK text and accents all render correctly; if the bytes are not valid UTF-8 you will see exactly where they break.

Everything is local, so the ceiling is memory. Multi-megabyte JSON blobs decode and pretty-print fine — the textarea is the only bottleneck.

Yes — decoding, parsing and formatting all happen in your browser. JWTs, webhook bodies and internal API payloads never touch a server.

Related tools

esc

Tools

Pages

↑↓ navigate↵ open⌘K

Keyboard shortcuts

Same shortcuts everywhere — ⌘ on macOS, Ctrl on Windows and Linux.