Skip to content

Get notified

Get an email when a new major security incident drops. No spam, unsubscribe any time.

Only used for pwn.watch incident emails. Protected by Cloudflare Turnstile.

← All pwn.watch security tools

JWT Decoder & Security Auditor

Decode a JSON Web Token's header and payload and audit it for alg none, weak algorithm choices, missing or expired exp / nbf / iat, lifetimes over 24h, missing iss / aud and sensitive data in the claims.

Decoded 100% in your browser. The token is never sent or stored.

Samples:

Tracking identity & token CVEs? Check live advisories for OAuth · SSO · Auth bypass.

Brought to you byTinkerer Club

The private club for people who own their servers, run their own AI, and pay $0/month for software.

JWT Security Auditor FAQ

Is it safe to paste a production JWT here?
The token is decoded with JavaScript in this tab only: no request is made with it and nothing is stored. Still treat a live token like a password: prefer expired or test tokens, and revoke any token you pasted somewhere you do not control.
Does this tool verify the JWT signature?
No. It decodes and audits the header and claims without asking for a key. Signature verification must happen on your server with a pinned algorithm and a trusted key.
Why is alg: none critical?
A token with alg none carries no signature, so anyone can edit the payload (for example role: admin). Libraries that honour the header's alg instead of an allowlist accept the forged token. Always pass an explicit algorithms list to the verifier.
HS256 or RS256: which should I use?
HS256 uses one shared key, so every service that can verify a token can also mint one. RS256, ES256 or EdDSA sign with a private key and verify with a public key, which suits multiple services or third parties. With HS256, use a random key of at least 256 bits.
How long should a JWT access token live?
Keep access tokens short: 5 to 60 minutes is typical, and this auditor flags lifetimes over 24 hours. Use refresh tokens (rotated, revocable, stored server-side or in httpOnly cookies) for long sessions.
Why should a JWT have iss and aud claims?
iss tells the verifier who issued the token and aud says which API it is for. Checking both stops a token minted by another tenant or for another service from being replayed against your API.