99v

JWT decoder

Paste a token to read its header and claims, see when it expires, and check an HMAC signature. It all happens in your browser.

Your token is decoded in this page with JavaScript. It is not sent to 99v or anyone else, it is never put in the address bar, and nothing is stored. This page has no form that submits it.

How it works

A JSON Web Token has three parts separated by dots: a header (the signing algorithm), a payload (the claims), and a signature. The first two are just base64url-encoded JSON, so anyone holding the token can read them. Decoding does not prove the token is genuine; only checking the signature does.

Worked example. The sample token has the header {"alg":"HS256","typ":"JWT"} and a payload with sub (who the token is about), iat (when it was issued) and exp (when it expires), as Unix times in seconds. This tool turns those into dates and shows whether the token has expired. Enter the secret your-256-bit-secret to see the sample signature verify.

  • Never paste a production token into a tool that sends it to a server. This one does not, and you can confirm that in your browser's network panel.
  • Signature checking here supports HS256, HS384 and HS512 with a shared secret. Tokens signed with RSA or ECDSA keys are decoded, but not verified.
  • Common claims: iss issuer, sub subject, aud audience, exp expiry, nbf not valid before, iat issued at.