Free online JWT decoder and verifier
Paste a JSON Web Token to read its header and payload, see when it expires, and verify its signature with a secret or public key. Unlike many online decoders, tokens are processed entirely in your browser and never sent to a server.
What is a JWT?
A JSON Web Token is a compact, signed string made of three base64url-encoded parts separated by dots: a header describing the signing algorithm, a payload of claims such as the user and expiry, and a signature. APIs use them to prove who a request is from without looking anything up.
Standard claims explained
- iss: the issuer that created the token.
- sub: the subject, usually a user ID.
- aud: the intended audience, such as an API.
- exp: the expiry time, as seconds since 1970. This tool shows it as a date and tells you if it has passed.
- nbf and iat: when the token becomes valid and when it was issued.
Signature verification
Supports HS256, HS384 and HS512 with a shared secret, and RS, PS and ES algorithms with a public key in PEM or JWK format. Tokens using alg none are flagged as unsigned. Remember that decoding only reads a token: anyone can do it, and only a valid signature proves it is genuine.
Keep your tokens safe
A live token can grant access to an account. This decoder runs locally and stores nothing, but you should still avoid pasting production secrets into tools you do not trust, and prefer short-lived tokens.
Frequently asked questions
Is it safe to paste my JWT here?
Decoding and verification run entirely in your browser. Nothing is uploaded, logged or stored. Still, treat live tokens as passwords and rotate any that you believe have been exposed.
Why does it say my token is expired?
The exp claim is earlier than the current time on your device. Request a fresh token from your identity provider.
Can it decode an encrypted token (JWE)?
No. Encrypted tokens have five parts and need a private key to read. This tool handles signed tokens (JWS), which have three.
How do I get the public key to verify an RS256 token?
Your identity provider publishes it, often as a JWKS endpoint. Paste either the PEM public key (BEGIN PUBLIC KEY) or the JWK JSON for the key whose kid matches your token.