Best online JWT decoders
September 4, 2026 · 13 min read
JWT decoders are everywhere; quality varies. A good decoder shows header and payload JSON, highlights exp and nbf in human time, and never sends your token to a backend. “Online” should mean “opens in the browser,” not “uploads your secret to a database.”
What a good decoder shows
- Algorithm (
alg) and key id (kid) prominently - catch alg mismatches early. - Registered claims:
iss,sub,aud,exp,iat. - Raw segments for copy-paste into signature verification scripts.
- Optional signature verification only when you supply a key locally.
Privacy and local-first
Check the network tab: pasting a token should not trigger POST requests with the token body. Prefer open pages that state processing is client-side. For regulated environments, use an internal deployment or CLI (jwt decode patterns) instead.
Reading claims quickly
During auth incidents, scan in order: Is exp in the past? Does aud match this API? Does iss match your IdP? Are roles/scopes what the policy engine expects? Custom claims like tenant_id should be stable across refreshes.
{
"iss": "https://auth.example.com",
"sub": "user_8f2a",
"aud": "api.example.com",
"exp": 1784011200,
"scope": "orders:read orders:write"
}
Pitfalls to avoid
Decoding is not verification - anyone can read the payload. Do not trust decoded claims without signature checks in your service. Avoid decoders that ask you to “sign in to save tokens.” Treat pasted refresh tokens like passwords.
Suggested workflow
Decode staging token → compare claims to failing request logs → verify JWKS and clock skew on the server → only then rotate keys or clients. Document findings with redacted payloads in the incident ticket.
FAQ
- Can I decode a JWT without the secret?
- Yes. Base64URL decoding the header and payload requires no secret. Verification requires the key.
- Why does my decoder show expired but the clock looks fine?
- Check timezone display, compare epoch seconds to NTP, and look for short TTL plus clock skew on validators.
- Are JWT decoders the same as validators?
- No. Decoders display content; validators check signature, expiry, and claim rules in your application.
Related: Common API auth problems · JWT decoder