Learn
Decoding a JWT does not verify it
Decoding reveals the data a token contains. Signature verification checks its cryptographic integrity with the appropriate key and permitted algorithm. Claim validation checks whether that token is appropriate for a particular application. These are separate steps.
A readable token can still be forged
For a compact signed JWT, the header and payload are Base64url-encoded. A decoder can read both without a verification key. Someone can also replace the payload and re-encode it; a decoder will still show the replacement.
Verification belongs in the application consuming the token. It must use a trusted key and an allowed algorithm, rather than trusting the token's algorithm declaration. Even a correctly verified signature does not alone establish that the token has the right issuer, audience or current validity.
A synthetic example
Suppose the payload below is displayed by a decoder. Changing demo-reader to demo-admin and re-encoding the JSON makes the changed payload readable too. That does not create a valid signature or grant access. Our decoder deliberately does not attempt that verification.
{"sub":"demo-reader","aud":"example-api","exp":1735689600} | Step | Question answered | This tool |
|---|---|---|
| Decode | What does the data say? | Yes, for supported three-part tokens |
| Verify signature | Does the signature match trusted key material? | No |
| Validate claims | Is this token appropriate for this relying application? | Displays selected timing hints, not full validation |
Expiry is one claim, not a trust verdict
RFC 7519 defines registered claims including exp, nbf, iss and aud. NumericDate expresses time in seconds relative to the Unix epoch. The tool interprets supported timestamps against your device clock, but it does not know your application's issuer, audience, clock-skew policy or authorization rules.
An absent exp field means no expiry was declared in that claim, not a guarantee of indefinite access. The service consuming the token may impose other limits. Treat displayed values as untrusted until the consuming system has verified and validated them.
Use the decoder for inspection
Use a synthetic sample when learning, or inspect data you are allowed to access. Never share a result URL containing a real secret: the fragment contains the input. The decoder keeps pasted data local, while licensing and checkout have separate network behavior described on the security page.
Content updated . Maintained by Sandile Mongi Dlamini. Product explanations describe the current implementation; they are not an independent security audit.
Reviewed by Sandile Mongi Dlamini, maintainer, on . Factual and editorial review.