Skip to content
Kytheos

Free tool, no account

JWT check

Paste a JSON web token. We decode it and show the weak settings in it, the evidence for each and the fix. It is never verified against a key, used or stored.

Paste only a test token or one that has expired. A live token works like a password until it expires.

Signed (JWS) and encrypted (JWE) tokens. A leading "Bearer" is fine.

Illustrative JWT check of a made up token: the header uses the algorithm none, the claims have no expiry and hold an email address, and there is no signature.
Authorization: Bearer
  1. {
  2. "alg": "none"
  3. }

The algorithm is "none": the token is not signed, so anyone can write any claims.

Fix: Verify with a fixed list of allowed algorithms and reject none.

Decoded, never verifiedCritical

Example token. Select a part to read it decoded.

What it checks

Checks based on JSON Web Token Best Current Practices (RFC 8725) (opens in a new tab). Every finding names the RFC it rests on and gives the fix.

We never verify the signature, because that needs your key. A token that looks fine here can still be forged; only a verifier with the right key and a fixed list of algorithms can tell.

  • Algorithm

    RFC 8725

    A missing alg, alg none, deprecated algorithms, and shared secret (HS) algorithms that let any verifier forge tokens.

  • Expiry and time claims

    RFC 7519

    No exp, lifetimes longer than a day, and iat, nbf and exp that contradict each other.

  • Key links in the header

    RFC 8725

    jku, x5u and jwk parameters that tell a verifier where to fetch, or what, key to trust.

  • Key id

    RFC 7515

    kid values that could attack a server that puts them into a file path, query or command.

  • Issuer and audience

    RFC 8725

    Missing iss or aud, so a token meant for one service could be replayed at another.

  • Sensitive data in claims

    RFC 7519

    Emails, phone numbers, secrets and card numbers anyone holding the token can read. Shown masked.

  • Signature and format

    RFC 7515

    A signature of the wrong length, loose base64, repeated names and the token type.

  • Encrypted tokens

    RFC 7516

    For a JWE we read the header only and say which checks could not be made.

Your data

What happens to your token

  • Paste test or expired tokens only

    A live token works like a password for as long as it is valid. Check a token from a test system, or one that has already expired.

  • Decoded, never verified

    We decode the token on our server and read its settings. It is never checked against a key, used to sign in or sent anywhere else.

  • Not stored

    The token is checked in memory and discarded. It is never logged, cached or used for training.

  • Personal values masked

    The result never repeats the token or its signature. Emails, phone numbers, secrets and card numbers found in claims are shown masked.

Facts about this tool

You give it
A JSON web token
Size limit
Tokens up to 64 KB
Rate limit
20 checks a minute
Account
Not needed
API
api.kytheos.com POST /v1/jwt-check
Runs on
serde, serde_json, workers-rsLicences and links
All tools