OneFirewall Alliance

JWT Analyzer

Decode and analyse JSON Web Tokens — inspect claims, algorithm, expiry and security issues

Paste a JSON Web Token to decode its header and payload, review standard claims and expiry, and see warnings for weak algorithms or sensitive data in the payload. Remember that a JWT payload is only encoded, not encrypted. More free security tools.

How It Works & Why It Matters

A JSON Web Token has three Base64URL-encoded parts separated by dots: a header describing the signing algorithm, a payload carrying the claims, and a signature that proves the first two haven't been tampered with. Decoding the header and payload is pure Base64 — no secret or private key is needed, which is exactly why a JWT must never hold data you wouldn't want a client to read.

This analyzer checks the signing algorithm (flagging "none" as forgeable and symmetric HS256 as requiring a shared secret), and reviews the standard registered claims — exp, iat, nbf, iss, aud and jti — that control expiry, timing and revocation. Missing an expiry claim, using an overly long TTL, or lacking an audience claim are common findings that weaken session and API token security even when the signature itself is sound.

Need help securing your API authentication architecture?

If you like this tool, Speak with OneFirewall

What the JWT Analyzer does

JSON Web Tokens carry identity and permissions between services. Weak algorithms, missing expiry or sensitive data in the payload are common mistakes that attackers look for.

The analyzer decodes a token's header and payload, reviews the standard claims and flags common security problems. Remember that a JWT payload is only encoded, not encrypted.

How to use it

  1. Paste a token. Paste the full JWT, the three Base64URL parts separated by dots.
  2. Review header and claims. Check the algorithm, issuer, audience, issued-at and expiry times shown in the decoded view.
  3. Act on the warnings. Fix any flagged issues, such as the none algorithm, missing exp or sensitive data in the payload, in the service that issues the token.

Frequently asked questions

Can anyone read a JWT?

Yes. The header and payload are Base64URL-encoded, not encrypted. Never put passwords or secrets in a JWT payload unless you use JWE encryption.

What is the 'none' algorithm problem?

Some libraries once accepted tokens with alg set to none, meaning no signature. Servers must reject unsigned tokens and enforce the expected algorithm.

Does decoding verify the signature?

No. Decoding only reads the contents. Verification needs the issuer's secret or public key and must happen on your server.

More free tools: OneFirewall Free Tools · Terms explained: Glossary