JWTtool is a JSON Web Token decoder and testing workbench for authorized security work. Paste a JWT, a full Authorization: Bearer header, or a token= query value and it decodes the header, payload, and signature, flags risky claims and algorithms, and generates attack variants you can replay against your own API. Parsing, analysis, and signing run locally through WebAssembly: the token is not uploaded to a server.
JWT checks it covers
- alg:none. "none" is the algorithm for an unsecured JWT (RFC 7518, section 3.6). A verifier that accepts it trusts any payload. JWTtool generates variants such as None, NONE, and nOnE with an empty signature. See alg none lessons from production.
- HS256 secret cracking. Test an HMAC-signed token against a wordlist, one candidate per line. When a candidate matches the signature, you can re-sign forged tokens with that secret.
- HS256 / RS256 confusion. Signs the token with HMAC using the RSA public key, for verifiers that take the algorithm from the token header. See HS256 and RS256 confusion attacks.
- kid, jku, and x5u. Header values that choose the verification key, tested with path and injection payloads or a JWKS you host yourself.
- exp, nbf, and clock skew. RFC 7519 lets verifiers allow a small leeway, usually no more than a few minutes. Extend
exp or backdate nbf to see whether the API really enforces them. See JWT expiration and clock skew.
The optional live test sends a variant to the endpoint you enter, straight from your browser. Only test systems you own or are authorized to assess. The docs explain the workflow and shortcuts, and the examples open safe sample tokens.