JWT Decoder

Paste a token to read its header and payload as JSON. Nothing is uploaded, no signature check is attempted, and the tool keeps saying the thing that matters: reading a token proves nothing about whether it is authentic.

b64file โ€” converter ยท local

Processed as you paste โ€” no button to press (Ctrl+Enter converts now / Esc clears)

Paste, drag and drop, or Ctrl+V a screenshot

[01]

What the three parts are

  • Header โ€” the signing algorithm and token type, Base64URL encoded
  • Payload โ€” the claims: subject, issuer, scopes, expiry and whatever else the issuer added
  • Signature โ€” computed over the first two parts with the issuer's key; not data, and not decodable
[02]

Readable is not the same as trusted

Anyone can construct a token with any payload they like: change "role":"user" to "role":"admin", re-encode, and hand it to a server that forgets to verify. Decoding is for inspection and debugging โ€” never treat the contents as proof of anything until the signature has been checked server-side.

Equally, a token being readable is not a flaw. Base64 is an encoding, not encryption; the security of a JWT comes from the signature and from keeping the transport encrypted.

[03]

When this is useful

  • Debugging auth โ€” checking whether a token carries the scope you expected
  • Expiry problems โ€” reading exp and iat as actual timestamps
  • Integration work โ€” confirming which claims an identity provider sends

Frequently asked questions

Why does it say the format is wrong?

A JWT has exactly two dots and three Base64URL segments. Pasted HTML, a truncated token, or a Bearer prefix all fail that shape check.

Can the signature be decoded?

No โ€” it is computed bytes, not encoded JSON. Verifying it requires the issuer key and a real library, which is a server-side job.

Does this verify signatures?

No, and no client-side tool should claim to. Verification needs the secret or public key, and doing it in a browser means handing over the key that protects the tokens.

Related tools and guides