JWT decoding · HMAC verification · token generator
JWT Decoder & Generator
Decode token headers and payloads, inspect common claims, verify HS256/HS384/HS512 signatures, and generate test tokens. Everything runs locally in your browser for better privacy.
iat)nbf)exp)JWT guide
sub, iss, aud, exp, and iat. Decoding does not prove a token is trustworthy.alg) and token type (typ). The payload contains claims—identities,
permissions, and metadata. In many systems, the payload is readable by anyone who has the token, so you should not treat it as encrypted data.exp/nbf), and signature validity across environments.
If a token works in one environment but not another, common causes are mismatched secrets, different algorithms, clock drift, or incorrect audience/issuer validation.- Assuming decoding means the token is valid or authentic.
- Trusting payload claims without verifying the signature.
- Using weak or reused HMAC secrets across environments.
- Forgetting to validate
exp,iss, andaudin your backend. - Putting sensitive data in the payload (JWTs are not encryption).