Tools

Paste a JSON Web Token to see its decoded header and payload, with the expiry, issued-at and not-before claims translated into readable dates. Decoding happens in your browser; the token is never sent to a server and the signature is not verified.

Token

Not expired

Header

{
  "alg": "HS256",
  "typ": "JWT"
}

Payload

{
  "sub": "1234567890",
  "name": "Danny",
  "iat": 1700000000,
  "exp": 2000000000,
  "role": "admin"
}

Times

Expires (exp)
2033-05-18T03:33:20.000Z (5/18/2033, 3:33:20 AM)
Issued at (iat)
2023-11-14T22:13:20.000Z (11/14/2023, 10:13:20 PM)

The signature is shown as-is and is not verified. Never paste production tokens into sites you do not trust.

Frequently asked questions

Is it safe to paste a real token here?
The token is decoded in your browser and never leaves your machine. Even so, treat production tokens like passwords: anyone who holds one can use it until it expires.
Does this verify the signature?
No. Verifying needs the secret or public key the token was signed with. This tool only decodes the Base64URL header and payload so you can read them.
What are exp, iat and nbf?
They are registered claims holding Unix timestamps in seconds: exp is when the token expires, iat is when it was issued and nbf is the earliest time it is valid.

quick question

Was this tool helpful?