JWT Decoder

Inspect token contents and expiry

Loadingโ€ฆ

Was this tool helpful?

About this tool

This tool decodes the header and payload of a JWT (JSON Web Token) and shows the claims inside. A token has three dot-separated parts (header, payload, signature); this tool only Base64URL-decodes the first two into JSON and does not verify the signature. If an exp claim is present, it also tells you whether the token has expired.

How to use

  1. Paste a token into the input box, or click the sample button to load a demo token.
  2. The header and payload โ€” the first two of the three dot-separated parts โ€” are each expanded as JSON.
  3. If the payload has an exp claim, an expired/valid badge and the expiry time are shown.
  4. Check the list below the payload for plain-language descriptions of standard claims like iss, sub and aud.
  5. Use the copy button to grab the header or payload JSON.
  6. The signature part is shown exactly as-is, undecoded, with a note that verifying it requires a secret key.

Frequently asked questions

Is decoding a JWT different from verifying its signature?
Yes, completely different. This tool only reads the token's contents โ€” it does not confirm the signature is genuine. Verifying a signature requires a secret (or public) key known only to the issuer, and this tool neither asks for nor accepts a key.
If it shows "expired", is the token now unusable?
This is just informational โ€” it compares the payload's exp claim to the current time. Whether the token is actually rejected depends on the server's own verification logic.
Why can't the signature part be decoded into readable content?
The signature is the result of signing the header and payload with a secret key โ€” it is not data that can be reversed into plain text. This tool simply displays the signature string as-is.
Is the token I enter sent to a server?
No. All decoding happens in your browser, and the token is never sent to a server.
Is the token from the sample button actually valid?
No. The sample token is a demo value meant only to show the format โ€” its signature is not actually valid. Its expiry (exp) is just set far in the future, so it shows as valid; it was never issued by a real service.
Can this tool create or sign a new token?
No. It only reads existing tokens โ€” there is no feature to create or sign one. To issue a token, use a library on your server that signs with a secret key.
When does the invalid-format error appear?
"Not a dot-separated JWT format" appears when there are fewer than two dot-separated parts. "Could not decode" appears when the parts exist but cannot be Base64URL-decoded or parsed as JSON โ€” stray whitespace can also cause this.
Sometimes no claim descriptions appear below the payload.
Descriptions only appear for the standard claims โ€” iss, sub, aud, exp, nbf, iat, jti โ€” when they exist in the payload. Custom claims such as role or name still show up in the raw JSON, just without a separate description.

This page only decodes tokens โ€” it does not verify signatures โ€” and never sends the token you enter to a server. A token can look unexpired and still have a forged signature, so any real authentication must go through server-side verification.

Similar tools