JWT Decoder

By the ToolPocket team · Updated 2026-12-05 · Editorial standards

A JSON Web Token is three Base64URL segments separated by dots: the header, the payload and the signature. Decoding the first two is a plain Base64URL decode, which is why the contents are visible to anyone who holds the token.

Paste a token to see its algorithm, claims and expiry. This tool only decodes; it does not verify the signature, so never treat a decoded token as proof that it was issued by a trusted party.

Runs locally in your browser — nothing is uploaded.

How to use the JWT Decoder

  1. Paste the token, starting with eyJ.
  2. Read the header and payload JSON.
  3. Check the expiry status and the standard claims.

Frequently asked questions

Does decoding verify the token?

No. Signature verification needs the issuer's secret or public key. Decoding only reveals what the token claims.

Why is the payload readable without a key?

JWT payloads are Base64URL-encoded, not encrypted. Only JWE tokens are encrypted; ordinary JWS tokens are signed, not secret.

Is my token sent anywhere?

No. Decoding happens in your browser. Still, avoid pasting production tokens into any web page you do not control.

Good to know

The `alg` header is where many JWT vulnerabilities live: accepting `none`, trusting the token's chosen algorithm, or confusing HMAC and RSA keys. Verification code should pin the expected algorithm and reject anything else.

Claims are advisory until the signature is checked. `exp`, `aud` and `iss` should all be validated server-side; a client that merely decodes a token is displaying data, not authenticating anyone.