Developer

JWT Decoder

Paste a JSON Web Token to read its header and payload, see when it expires, and debug authentication issues without sending the token anywhere.

Decoded locally. Nothing is sent to a server.

What a JWT is

A JSON Web Token is a compact string with three parts separated by dots: a header describing the algorithm, a payload of claims such as the user ID and expiry time, and a signature that proves the token was issued by your server. APIs, single sign-on systems and mobile apps use them to keep users logged in without a server side session.

What the decoder shows

  • The header, including the signing algorithm and key ID.
  • The payload, pretty printed, with standard claims labelled.
  • Issued at, not before and expiry times converted to readable dates.
  • Whether the token is currently valid, expired, or has no expiry at all.

Important: decoding is not verifying

The header and payload of a JWT are only base64 encoded, not encrypted. Anyone can read them, which is why you should never put passwords or card numbers in a token. This tool does not check the signature, because that requires your secret key, and a secret key should never be pasted into a website. Use it to inspect claims and expiry when debugging, then verify signatures in your own code. Everything here runs in your browser; the token never leaves your machine. If you are building an API with authentication, our web and mobile app team does this daily.

FAQ

Frequently asked questions

Is it safe to paste a real token here?
The decoding runs locally in your browser and nothing is transmitted. Still, treat live tokens as passwords: prefer expired or test tokens when you can.
Why does the tool say the signature is not verified?
Verifying requires the secret or public key used to sign the token. The decoder deliberately does not ask for it. Verify in your backend.
What does exp mean and why is it in seconds?
exp is the expiry timestamp in Unix seconds since 1970. The tool converts it to a date and tells you whether it has passed.
My token has no exp claim. Is that a problem?
A token without expiry stays valid forever if leaked. Most security guidance recommends short lived access tokens with a refresh flow.
Need the real thing?

We build the sites and systems these tools measure.

Digzy Technology designs fast, search-friendly websites, stores and apps. Tell us what you have in mind.

Chat with us