Decode, inspect and verify JSON Web Tokens — entirely in your browser.
Token processing happens locally, without token storage. An explicit JWKS fetch sends no token or secret to your chosen key provider.
Styles, icons, and Google AdSense advertising load from third parties; advertising may use cookies or collect usage data. Treat third-party scripts as trust dependencies. Shared links contain only mock settings, never your pasted tokens or secrets. This repository is currently private; no public source-audit claim is made.
No keys loaded. Only fetch from an issuer you trust; CORS must allow access.
Verification happens locally; your token and secret never leave this page.
—
—
Heuristic checks, not a security certification. Signature verification does not validate issuer, audience, or authorization. Lifetimes longer than 30 days are flagged.
Recognized NumericDate claims, in seconds. Relative times refresh every second.
| Claim / value | Local time | UTC | Relative |
|---|
Token A is the encoded token above. Compare decoded claims and metadata; this does not verify Token B.
Paste Token A above.
Paste two tokens to compare.
| Path / change | Token A | Token B |
|---|
Uses a fixed algorithm allowlist. Configure your trusted issuer and audience server-side. Tokens, secrets, and JWKS URLs are never embedded.
Decode a supported token, then generate a snippet.
Build a new HS256 demo, not a copy of your token. Links carry only a demo role and lifetime in the URL fragment. The public demo secret is not for production.
A JSON Web Token (JWT, pronounced "jot") is a compact, URL-safe string that carries claims, which are statements about a user or system, between two parties. Applications commonly use JWTs as access tokens and ID tokens after sign-in, so a server can confirm who is calling without looking up a session in a database.
A JWT has three parts separated by dots: header.payload.signature. Each part is encoded with base64url, which is base64 with characters made safe for URLs. The header names the signing algorithm, the payload holds the claims, and the signature proves that the header and payload were issued by someone holding the key.
Decoding only reverses the base64url encoding so you can read the header and claims. Anyone can decode a JWT, and decoding proves nothing about whether the token is genuine. Before trusting any claim, a server must verify the signature with the expected key or public certificate, check that the algorithm is one it allows, and then validate claims such as expiry, issuer, and audience.
The Verify Signature panel on this page checks HMAC-signed tokens (HS256, HS384, HS512) using the secret you enter, entirely in your browser. Use it to debug tokens you own, not as a security control in production.
iss (issuer): who created the token.sub (subject): who the token is about, usually a user ID.aud (audience): which service the token is intended for.exp (expiration): Unix time after which the token must be rejected.nbf (not before): Unix time before which the token must be rejected.iat (issued at): Unix time when the token was created.jti (JWT ID): a unique identifier, useful for preventing replay.The exp, iat, and nbf values shown in the decoded payload are converted to readable dates in the claim badges above.
HS256/384/512 use one shared secret for signing and verifying, so every service that verifies tokens must also be able to create them. RS256 and ES256 use a private key to sign and a public key to verify, which lets many services check tokens without being able to forge them. Reject alg: none, and never let a token's header choose the algorithm or key without an allow-list on the server.
exp, aud, and iss on every request.HttpOnly cookies where possible to reduce exposure to scripts.exp or iat dates are shown as badges.Everything runs locally in your browser. Your token and secret are not sent to a server by this page.