How jwt decoder works
A JSON Web Token (JWT) is a compact, URL-safe way to transmit information between parties. It has three parts separated by dots: a header (algorithm and token type), a payload (claims like user ID and expiry), and a signature. Each part is base64url-encoded.
This decoder splits the token, base64url-decodes the header and payload, and parses them as JSON. It shows the decoded header, the decoded payload with all claims, the signature, whether the token is expired, whether its nbf (not-before) claim is still in the future, and the expiry and issue dates in human-readable form. Every result states plainly that the signature is NOT verified — decoding never proves a token is authentic — and unsigned tokens (header alg "none") are flagged.
JWTs are not encrypted — they are encoded. Anyone can decode them, but only the server with the secret key can verify the signature. Never put secrets in a JWT payload. This tool only decodes; it does not verify signatures. All processing happens in your browser.