Tools / JWT decoder
JWT decoder
Paste a JSON Web Token to read its header and claims and check whether it's expired. Everything runs in your browser — the token and any secret you enter are never transmitted.
Header
—
Payload
—
Checks
More free checks
Run a full security scan or speed test on your site, or try a related tool.
Related free tools
What it does
- Base64url-decodes the header and payload and pretty-prints them.
- Resolves
exp,nbf,iatto readable UTC times and tells you if the token is expired or not yet valid. - With a secret, verifies an
HS256signature using the Web Crypto API (SubtleCrypto).
RS256 / ES256 verification needs the issuer's public key and is not done here.
Never paste production signing secrets into any web tool you don't control — this one keeps them
local, but that is a habit worth having.
What is a JWT?
A JSON Web Token is a compact, signed string that applications use to pass identity and permissions between a client and an API. It has three base64url parts separated by dots: a header naming the algorithm, a payload of claims such as the user ID, roles and expiry, and a signature. Decoding shows what a token claims; only verifying the signature proves the claims have not been changed.
Frequently asked questions
Is it safe to paste a JWT here?
Decoding happens entirely in your browser and the token is not sent to our servers. Still, treat a live token like a password: it grants access until it expires.
Is a JWT encrypted?
No. A standard signed JWT is only encoded, so anyone holding it can read the payload. Do not put secrets or personal data in it unless you use encrypted (JWE) tokens.
Why is my token rejected even though it decodes?
Common causes are an expired exp, an nbf in the future because of clock skew,
the wrong audience or issuer, or a signature made with a different key.
What is the "alg: none" attack?
Some libraries once accepted tokens whose header said none and skipped the signature check.
Your server should accept only the algorithms it expects. Our
API security testing checks for this and other JWT
flaws.