JWT decoder: read and verify a token without sending it anywhere
Paste a JSON Web Token. You get the header and payload as readable JSON, every claim explained, when it expires in your time zone, and a signature check with your secret or public key. All of it happens in this browser tab.
Header
Payload
| Claim | Value | Meaning |
|---|
Verify the signature
What is inside a JWT
A JWT is three Base64url parts joined by dots: header.payload.signature. The header says how the token is signed (alg) and sometimes which key (kid). The payload carries the claims: who the token is about, who issued it, for whom and until when. The signature is computed over the first two parts with a secret or a private key, so any change to them breaks it.
The header and payload are only encoded, not encrypted. Anyone who holds the token can read them, which is exactly what this page does. Never put a password or a secret in a JWT payload.
Registered claims
| Claim | Name | What it means |
|---|---|---|
iss | Issuer | Who created and signed the token, usually the URL of the identity provider. |
sub | Subject | Who the token is about, usually a user ID. |
aud | Audience | Which API or app should accept it. A server should reject tokens meant for someone else. |
exp | Expiration time | Seconds since 1 January 1970 (UTC) after which the token is no longer valid. |
nbf | Not before | The token is not valid before this time. |
iat | Issued at | When the token was created. |
jti | JWT ID | A unique ID, used to stop the same token from being used twice. |
Decoding is not verifying
- Anyone can decode a JWT. Only a signature check with the right key tells you the token is genuine and unchanged. Your server must verify every token, and never trust the payload on its own.
- Reject
alg: none, and do not let the token choose the algorithm. Pin the algorithms your server expects; mixing HS256 and RS256 with one key is a classic attack. - Check
exp,nbf,issandaudon the server, with a little clock leeway (a minute is common). - Treat a token like a password. Do not paste live production tokens into sites you do not trust; this page never sends them anywhere, and you can check that in your browser’s network panel.
Questions people ask
Is it safe to paste my token here?
The token is decoded and verified in your browser with JavaScript and WebCrypto. It is not sent to any server, not saved, and not put in the URL. The page loads no third-party scripts that could read it. You can confirm it in the network panel of your browser’s developer tools.
Is a JWT encrypted?
No. A normal JWT (a JWS, three parts) is signed, not encrypted: the header and payload are Base64url, which anyone can decode. An encrypted token (a JWE) has five parts, and only the holder of the private key can read its payload; this page tells you when you paste one.
Why does it say my token is expired?
The exp claim is in seconds since 1970 in UTC, and the page compares it with your computer’s clock. If the time shown looks wrong, check your computer’s clock and time zone, or the clock of the server that issued the token.
Which algorithms can it verify?
HS256, HS384 and HS512 with a secret; RS256, RS384, RS512, PS256, PS384 and PS512 with an RSA public key; ES256, ES384 and ES512 with an EC public key; and EdDSA (Ed25519). The key can be a PEM BEGIN PUBLIC KEY block, a JWK, or a whole JWKS, in which case the key with the token’s kid is used.
Where do I find the public key?
Most identity providers publish their keys as a JWKS. Look for jwks_uri in https://<issuer>/.well-known/openid-configuration, open that address, and paste the JSON here. Auth0, Okta, Microsoft Entra ID, Google and Keycloak all work this way.
Can I edit a token or create a new one?
Not here, on purpose. A token you sign in a web page needs your secret or private key in that page. Create tokens with your server’s JWT library, where the key already lives.
Can I paste the whole Authorization header?
Yes. A leading Bearer and any spaces or line breaks are removed before decoding.
Does it work offline?
Yes. Once the page has loaded, decoding and verifying need no connection.