JWT Decoder
Paste a JSON Web Token to read its header and payload, and to see when it was issued and when it expires.
Key claims
Header
Payload
Signature
What is in a JWT
- A JWT has three parts separated by dots: the header, the payload and the signature.
- The header and payload are only Base64URL encoded, not encrypted. Anyone holding the token can read them.
expis the expiry time,iatis when it was issued andnbfis the time before which it must not be accepted. All three are in seconds since 1 January 1970 (UTC).- A leading "Bearer " is removed automatically if you paste a full authorization header value.
Privacy
Your token is decoded in your browser and is not uploaded. Even so, avoid pasting live production tokens into any website you do not control.
Frequently asked questions
Does decoding check that a token is valid?
No. Decoding only reads the header and payload. It does not verify the signature, so never trust a token's contents without verifying it on your server.
What do exp, iat and nbf mean?
exp is when the token expires, iat is when it was issued, and nbf is the time before which it must not be accepted. All three are seconds since 1 January 1970 UTC.
Is it safe to paste a token here?
The token is decoded in your browser and is not sent anywhere. Even so, avoid pasting live production tokens into any website you do not control.
Why can't it decode my token?
A JWT has three parts separated by dots. Encrypted tokens (JWE) have five parts and cannot be read by a decoder.