How JWT Decoding and Verification Work
AnyTool decodes a JSON Web Token by base64url-decoding its three segments (header, payload, signature) and rendering them as syntax-highlighted JSON, using TextDecoder for correct UTF-8. Signature verification uses the Web Crypto API via the jose library, supporting HS256/384/512, RS, PS, ES, and EdDSA with a shared secret, PEM key, JWK, or pasted JWKS. Standard claims (iss, sub, aud, exp, nbf, iat) are explained in plain English with a live expiry countdown. All crypto runs in-page, so tokens and keys never leave the device.
- base64url decode of header, payload, and signature
- Verify HS/RS/PS/ES/EdDSA via Web Crypto (jose)
- Local JWKS paste keeps verification fully offline
- Claim explanations and live expiry ticker
- Security lints: alg:none and algorithm-confusion warnings
