All tools Developer Tools

JWT Decoder

Read a JSON Web Token: header, payload, dates and (optionally) check its signature.

Your details

Looks like xxxxx.yyyyy.zzzzz. A leading "Bearer " is ignored.
HS256/384/512: the shared secret as text. RS256/384/512: the public key in PEM form.

100 of 100 free uses left today

Your result will appear here

Fill in the details on the left and press the button. You will see the answer right here, without the page reloading.

About this tool

Decode a JSON Web Token to see its header, claims and the dates in iat, nbf and exp, and whether it has expired. Enter the secret (HS256/384/512) or public key (RS256/384/512) to check the signature. Tokens declaring "alg: none" are flagged as unsigned. A JWT is only encoded, not encrypted, so avoid pasting live production tokens into any website. Your text is processed for this request only and is never stored.

Frequently asked questions

Does decoding a JWT verify it?

No. Decoding only reads the contents. Verifying the signature needs the secret or public key and must be done by your server.

Is the payload of a JWT secret?

No. It is only encoded, not encrypted, so anyone who has the token can read it. Never put secrets in a JWT.

Should I paste a real token here?

Prefer test tokens. A live token can give access to an account until it expires.

Guides and tutorials

Related tools