Home โ€บ JWT Decoder

JWT Decoder

โš ๏ธ This tool decodes the token but does not verify the signature. A decoded token is not proof that it is genuine.

Header
Payload
Signature (base64url)

Anatomy of a JSON Web Token

A JWT (RFC 7519) is three base64url-encoded parts joined by dots: header.payload.signature.

Registered claims you will see most

ClaimMeaning
expExpiration time (Unix seconds). Reject the token at or after this time.
iatIssued at (Unix seconds).
nbfNot before โ€” the token is not valid until this time.
iss / audIssuer and intended audience. Verifiers must check both.
subSubject, usually a user ID.
jtiUnique token ID, useful for revocation lists.

Security gotchas

Frequently asked questions

Is it safe to paste a production JWT into an online decoder?

Only if the decoder runs locally. This page decodes the token with JavaScript in your browser and never transmits it. Still, treat live tokens like passwords: a valid JWT usually grants access until it expires, so prefer expired or test tokens when sharing screenshots.

Does decoding a JWT verify it?

No. Decoding only Base64url-decodes the header and payload, which anyone can do. Verification means checking the signature with the secret (HS256) or public key (RS256/ES256) and validating exp, nbf, iss and aud. Always verify on the server with a maintained library before trusting any claim.

How do I check if a JWT is expired?

Read the exp claim. It is a Unix timestamp in seconds. If exp is less than the current Unix time, the token is expired. This tool shows exp as a date and tells you whether it is in the past.

Why can I read the payload of a JWT? Isn't it encrypted?

Standard signed JWTs (JWS) are not encrypted, only signed. The signature prevents tampering, not reading. Do not put secrets or personal data in a JWT payload unless you use encrypted JWTs (JWE).