JWT Decoder

Decode JWT headers and claims, check expiry, and verify HS256, HS384 or HS512 signatures in your browser.

Decode a JSON Web Token (JWT) to read its header and payload. Paste a token (a leading "Bearer " is ignored) and you'll see the algorithm and every claim, with timestamps such as exp, iat and nbf shown as dates, and a notice if the token has expired or isn't valid yet. For HMAC tokens (HS256, HS384 and HS512) you can enter the shared secret to check the signature. Tokens signed with RS or ES keys are decoded, but checking them needs the issuer's public key. Decoding runs in your browser, so tokens and secrets never leave it.

Header

algAlgorithmHS256
typTypeJWT

Payload

subSubjectuser_8271
nameNameAda Lovelace
emailEmailada@example.com
rolesRoles["editor","billing"]
issIssuerhttps://auth.example.com
audAudienceexample-api
iatIssued at1767225600
nbfNot before1767225600
expExpires1830297600

Verify signature

Signature (Base64URL): FDLxk7jjbzaOOUPAnb2mIHWba6eJHR_mPrRt5vyJoFs

Decoding happens in your browser. Tokens and secrets are never sent anywhere.

Common use cases

  • Check which claims, roles or scopes an access token carries
  • Find out why an API says a token has expired
  • Debug a login flow with Auth0, Cognito, Firebase or your own server
  • Verify an HS256 token with your test secret

How to use

  1. Paste the token.
  2. Read the header and the payload claims.
  3. Check the expiry notice.
  4. For HS tokens, enter the secret to verify the signature.

FAQ

Is a JWT encrypted?

Usually not. The header and payload are only Base64URL-encoded, so anyone with the token can read them. Don't put secrets in a JWT payload.

Is it safe to paste a real token here?

The token isn't sent anywhere, but treat live tokens like passwords: anyone who has one can use it until it expires. Use a test token where you can.

Why does decoding not prove a token is genuine?

Anyone can make a token with any payload. Only checking the signature with the right key proves it came from the issuer and wasn't changed.