JWT alg Allowlist Policy Checker
Decodes the JWT header, reads its alg field and flags the token when the value is none or absent from the comma-separated list of algorithms you allow.
Resultado
—
Never let the token pick the algorithm
A sloppily configured JWT library trusts whatever algorithm the token declares. That hands the attacker the choice of how their own token gets verified, which is where the two classic attacks come from: switch alg to none and drop the signature entirely, or switch RS256 to HS256 and sign with the public key, which is, by definition, public. The fix is a fixed list of algorithms the server accepts.
What happens here: the first segment is decoded, the alg field of the header is read, and it is matched against the comma separated list you type. The match is exact and case sensitive, so rs256 will not match RS256, and it pays to write the list exactly the way your library spells it. The alg=none case gets its own message, with the CVE-2015-9235 reference attached.
Worth stating what this does not do: it never verifies the signature, never fetches a key from a JWKS endpoint, and knows nothing about JWE, where alg describes key management and the content algorithm lives in enc. It is a policy check, not an authenticity check. Use it during review to confirm that the tokens reaching your service line up with the allowlist you configured. The header is decoded in the browser.
Frequently asked questions
What is the alg=none attack?
Why is mixing HS256 and RS256 in one allowlist risky?
Does this validate the signature?
Related Tools
JWT JTI Format Validator
Validate the format of the JTI (JWT ID), the unique identifier of a JWT token. Check whether it follows security best practices like minimum length and UUID.
LGPD Privacy Policy Section Checker
Paste a policy written in Portuguese and see which of 10 sections the LGPD expects are covered: collection, purpose, sharing, rights, cookies, DPO, retention.
OAuth Scope Checker
Check whether a requested scope is present in the space separated list a token came back with, matched literally as OAuth 2.0 requires.
JWT Structure Validator
Verify whether a JWT has valid structure (3 segments), header and payload decodable in base64url, and shows exp, iat, nbf and any claims. Everything in your browser.
JWT Expiry (exp/nbf/iat) Validator
Validate a JWT token timestamps (exp, nbf and iat) and find out if it is expired or not yet valid. Useful for debugging auth, without verifying the signature.
Bitcoin Address Format Detector
Paste an address and read its script type off the prefix: 1 legacy P2PKH, 3 P2SH, bc1q segwit, bc1p taproot, m, n, 2, tb1 testnet. Prefix only, no checksum.