Paste a JSON Web Token to read its header and claims, see whether it has expired, and check the signature with your secret or public key.
Shares this page only, not your entries.
Decoded and checked in your browser: the token, secret and key are never sent anywhere. Treat live tokens like passwords all the same.
How to use it
Paste the token. An “Authorization: Bearer” prefix, quotes or line breaks are fine.
Read the status (valid, expired or not valid yet), the algorithm and every claim, with dates in your time zone.
To check the signature, enter the secret (HS256/384/512) or paste the public key (RS, PS, ES, EdDSA) under Verify the signature.
JWT structure
A JWT has three base64url parts separated by dots: the header (the algorithm and key ID), the payload (the claims) and the signature. Anyone can decode the first two. The signature proves the token came from someone holding the secret or private key and wasn't changed after signing.
Common claims
iss: who issued the token. aud: who it's for. sub: the user or thing it's about.
exp, nbf, iat: expiry, start and issue times, in seconds since 1970 (UTC).
jti: a unique token ID, used to stop replays. OpenID Connect adds nonce, auth_time, email and profile claims.
Example
Select Try an example: the token is HS256, issued to user_123 and valid until 1 January 2100. The secret palz-demo-secret is filled in, so the signature shows as verified. Change one character of the payload and it fails, because the signature no longer matches.
Frequently asked questions
Does it verify the signature?
Yes. Enter the secret for HS256, HS384 or HS512 tokens, or paste the public key for RS, PS, ES and EdDSA tokens: a PEM key, a certificate, or a JWK or JWKS (the key is picked by the token's kid). The check runs with your browser's Web Crypto API.
Is it safe to paste a token here?
The token, secret and key stay in your browser; nothing is sent to our server. A live token still gives access until it expires, so prefer test tokens, and never share a signing secret or private key.
Why does it say my token isn't valid?
It may be cut off or not be a JWT. “Bearer”, quotes and line breaks are removed for you. A token with five parts is encrypted (a JWE): its claims can't be read without the decryption key.
What do exp, iat and nbf mean?
They're times in seconds since 1 January 1970 UTC. exp is when the token expires (reject it from that moment), nbf is when it starts to be valid, and iat is when it was issued. The decoder shows them as dates in your time zone.
Why does the signature fail with the right key?
Common causes: the secret is stored Base64-encoded (tick the box), the token was changed or re-encoded, a JWKS doesn't contain the key named by the token's kid, or an ES256 signature was written in DER form instead of the raw format JWTs use.
Can anyone read a JWT?
Yes. The header and payload are only Base64url-encoded, not encrypted, so never put passwords or other secrets in the claims. The signature stops changes, not reading.