JWT Decoder

Decode header and claims, check expiry, verify HMAC signatures.

Free online jwt decoder by AIML Digital. It runs 100% in your browser: no sign-up, no limits, and nothing you enter is sent to a server.

Formulas

How it works

  1. Decode the first two parts as JSON.
  2. Compare exp/nbf/iat (Unix seconds) with now.
  3. If a secret is given, recompute the HMAC and compare.

Standard / source: RFC 7519 / RFC 7515.

Frequently asked questions

Is the JWT Decoder free?

Yes. The JWT Decoder by AIML Digital is completely free, with no sign-up, no limits and no watermark.

Is my data sent anywhere?

No. The JWT Decoder runs entirely in your web browser using JavaScript. What you type stays on your device.

What formula does the JWT Decoder use?

JWT = base64url(header) . base64url(payload) . signature; HS256 signature = base64url(HMAC-SHA256(secret, header + "." + payload)).

How does the JWT Decoder work?

Decode the first two parts as JSON. Compare exp/nbf/iat (Unix seconds) with now. If a secret is given, recompute the HMAC and compare.

Does the JWT Decoder work on mobile?

Yes. It works in any modern browser on phone, tablet or desktop, and keeps working offline once loaded (except tools that load a helper library the first time).

More Developer tools