JWT decoder

Decode a JSON Web Token in your browser. See the header, payload and readable iat, nbf and exp dates. Nothing is uploaded and the signature is not verified.

Paste a token

Decoded in your browser. The token is never uploaded.

Header

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

Payload

{
  "sub": "1234567890",
  "name": "Asha Learner",
  "role": "student",
  "iat": 1700000000,
  "exp": 4102444800
}
  • iat Tue, 14 Nov 2023 22:13:20 GMT
  • exp Fri, 01 Jan 2100 00:00:00 GMT
  • status Not expired yet

This tool decodes only. It does not verify the signature, so never trust a token because it decodes. Verification needs the secret or public key on your server.

About this tool

Paste a JSON Web Token to read its header and payload and see when it was issued and when it expires. Decoding happens in your browser, so the token is not uploaded.

What you can do

  • Check claims such as sub, role and aud
  • Convert iat, nbf and exp to readable UTC dates
  • See at a glance whether a token has expired
  • Learn how the three parts of a JWT fit together

All tools · LLM API exercises · Free demo API

Frequently asked questions

Does this verify the signature?

No. It only decodes. Anyone can create a token that decodes correctly, so always verify signatures on your server with the correct key.

Is it safe to paste a real token?

Decoding is local and nothing is sent. Still, treat live tokens as secrets and prefer expired or test tokens.

Why is my token invalid?

A JWT has three dot-separated Base64URL parts. Extra spaces, a missing part or a copied “Bearer ” prefix can break decoding.