Web Toolbox

JWT decoder

Runs in your browser – nothing is uploaded.

Paste a JSON Web Token to see its header and payload as formatted JSON. It is useful for checking claims such as sub, exp, iat and aud while debugging sign-in flows.

The token is decoded in your browser. The signature is not verified, so a decoded token is not proof that it is genuine.

Example

JWT token

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkphbmUgRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.signature

Output

{
  "header": {
    "alg": "HS256",
    "typ": "JWT"
  },
  "payload": {
    "sub": "1234567890",
    "name": "Jane Doe",
    "iat": 1516239022
  }
}

Frequently asked questions

Is it safe to paste a real token here?

The token is decoded in your browser and is not sent to a server. When you press Run it is saved in your browser’s local storage so it is still there next time; press Reset to clear it. Treat live tokens as secrets anyway.

Does it verify the signature?

No. It only decodes the header and payload. Verifying a signature needs the secret or public key, and should be done by your server.

How do I read the exp and iat values?

They are Unix timestamps in seconds. Paste one into the Timestamp Converter to see the date and time.