Skip to content

Developer tools

JWT Decoder

Paste a JWT to see its header and claims, check whether it has expired, and optionally verify an HMAC signature with your secret.

How to use the JWT Decoder

  1. 1

    Paste the token (the three dot-separated parts).

  2. 2

    Read the decoded header and payload; dates such as exp and iat are shown in your time zone.

  3. 3

    To check the signature of an HS256/384/512 token, enter the secret.

Frequently asked questions

Is it safe to paste a real token here?

The token is decoded in your browser and never sent anywhere. Still, treat production tokens like passwords and prefer expired or test tokens.

Can anyone read a JWT?

Yes. The header and payload are only Base64URL-encoded, not encrypted. The signature only proves the token was not changed, so never put secrets in the payload.

Get new articles in your inbox

Practical tutorials and deep dives, about once a week. No spam, unsubscribe anytime.

Privacy policy

Add DEV Talk to your Home Screen

  1. 1 Tap the Share button in Safari's toolbar.
  2. 2 Scroll down and tap Add to Home Screen.
  3. 3 Tap Add. Open it from the Home Screen to read like an app and to turn on notifications with the bell.

We use cookies to improve your experience and analyze traffic. By continuing, you agree to our Privacy Policy.