JWT Decoder & Verifier
Paste a token to decode it instantly. Every claim is explained, times are shown as dates, and you can verify the signature with a secret or public key.
- Runs in your browser
- Token never sent anywhere
- Verifies HS/RS/PS/ES/EdDSA
Header, payload and claim explanations appear here.
Verify signature
Paste a token, then a secret or public key.
Decoding is not verifying
A JWT’s header and payload are only base64url-encoded, so anyone holding the token can read them. Whether the token is genuine depends on its signature. Paste the shared secret (HS256/384/512) or the issuer’s public key as PEM, JWK or a JWKS key set (RS, PS, ES and EdDSA) to verify it with your browser’s Web Crypto. Even then, your server must verify every token itself.
Reading the times
exp (expires), nbf (not before) and iat (issued at) are seconds since 1970-01-01 UTC. They are shown in UTC and in your time zone, and the token is compared with your device’s clock.
Handle tokens with care
A live token can grant access to an account. Prefer test tokens, and sign out or revoke a token if you have shared it anywhere.
Features
- Decodes as you paste, with the token’s parts color-coded
- Claims table explaining registered and OpenID Connect claims
- exp, nbf, iat and auth_time as local dates with relative time
- Signature verification for HS256/384/512, RS, PS, ES and EdDSA
- Public keys as PEM, JWK or JWKS (matched by kid)
- Warnings for expired, not-yet-valid and unsigned (alg none) tokens
- Accepts a Bearer prefix and detects encrypted JWE tokens
Frequently asked questions
Is it safe to paste a JWT here?
The token, secret and key stay in your browser and are never sent anywhere. Even so, a live token can grant access to an account, so prefer test tokens and revoke any token you have shared.
Can it verify the signature?
Yes. Enter the shared secret for HS256/384/512, or paste the issuer’s public key as PEM, JWK or a JWKS key set for RS, PS, ES and EdDSA tokens. Verification uses your browser’s Web Crypto. Your server must still verify every token itself.
What do exp, nbf and iat mean?
exp is when the token expires, nbf is when it becomes valid and iat is when it was issued. Each is a number of seconds since 1970-01-01 UTC.
Why can’t it read my token?
A signed JWT has three dot-separated parts. A token with five parts is an encrypted JWE, which cannot be read without the decryption key. Opaque tokens that are not JWTs cannot be decoded at all.