Skip to content
toolbelt
Back to Guides

Reading a JWT and Knowing What It Proves

By ·

Updated

Decoding a token tells you what it claims. It tells you nothing about whether the claims are true. Those are different questions.

What is this tool?

A JWT has three parts: header, payload and signature, joined by dots. Decoding is just base64 — it needs no key and hides nothing.

How it works

I decode the first two segments and parse them as JSON, so you can read the claims, the algorithm and the expiry. I do not verify the signature, because verification needs the key and, more importantly, because verifying it here would prove nothing about your server.

Example

Header:  { "alg": "HS256", "typ": "JWT" }
Payload: { "sub": "123", "name": "Ada", "exp": 1735689600 }

Expires: 2025-01-01 00:00:00 UTC

When to use it

Checking which claims your auth server actually sends. Confirming an expiry is set. Comparing a token from staging with one from production after a config change.

Optimization Tips

Look at exp and aud first. A surprising number of "the token is invalid" bugs are a missing aud claim or an exp that already passed. Then check alg — if it says none, that is a red flag.

Frequently Asked Questions

Does decoding verify the token?
No. Anyone can decode a JWT. Verification requires the signing key and must happen on your server.
Can I trust what I see here?
You can read it, but treat the contents as unverified claims until your backend has validated the signature.
Should I paste production tokens here?
Avoid it if you can. A JWT is a bearer credential: whoever has it can act as that user until it expires.
Why is the payload readable?
JWT is not encryption. If you need confidentiality, use JWE, which is a different format.

Ready to try it out?

Put this knowledge into practice with our free tool.

Go to Tool

Related tools