Skip to content
OneTooling

JWT Decoder

Decode a JSON Web Token to read its header and claims, see when it expires, and check an HMAC signature. The token never leaves your browser.

Runs in your browser · nothing uploaded
Not expired · expires in 3 yearsAlgorithm: HS256
Subject (sub)
user_42
Issued (iat)
1/1/2026, 12:00:00 AM (307 days ago)
Expires (exp)
1/1/2030, 12:00:00 AM (in 3 years)

header

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

payload

{
  "sub": "user_42",
  "name": "Ana Kovač",
  "role": "editor",
  "iat": 1767225600,
  "exp": 1893456000
}

Decoding does not check the signature. Anyone can read a JWT; only the signature proves who made it.

Why is there an ad? This tool is free and runs on your device. One small ad pays for hosting and new tools. No pop-ups, no autoplay, never inside the tool. How we make money

How to decode a JWT

  1. Paste the token. A leading "Bearer " is removed automatically.
  2. Read the header and payload, and check the expiry badge.
  3. Optionally enter the secret to check whether the signature is valid.

An example token is filled in. Its secret is "onetooling-demo-secret", so you can try signature checking right away.

Questions

Is it safe to paste a real token here?

The token is decoded in your browser and never sent anywhere. Still, treat live tokens like passwords: anyone who has one can use it until it expires, so avoid pasting them into tools you do not trust.

Does decoding check that the token is genuine?

No. Anyone can read a JWT, because the header and payload are only Base64-encoded. The signature is what proves who issued it. Enter the secret to check HS256, HS384, or HS512 signatures.

What do exp, iat, and nbf mean?

"exp" is when the token stops being valid, "iat" is when it was issued, and "nbf" is the time before which it must not be accepted. All are seconds since 1 January 1970; the tool shows them as dates in your time zone.

Can I check RS256 or ES256 signatures?

Not yet. Those need the issuer’s public key; this tool currently checks shared-secret (HMAC) signatures only.

Credits

Built by OneTooling using standard browser features. No third-party code runs on your data.