JWT Decoder
JWT Decoder decodes a JSON Web Token's header and payload segments from base64url into readable JSON, shows the iat / nbf / exp times as dates and relative phrases such as “in 2 days”, and tells you whether it has expired (or is not valid yet). It can also verify the signature: enter the secret for HS256/384/512 or the public key for RS/ES. Everything happens in your browser.
How it works
- 1Paste the JWT into the input (it must have three dot-separated segments).
- 2The header and payload are decoded automatically and shown as readable JSON; if `exp` is present you get an expiry badge and time cards for iat/nbf/exp.
- 3To verify the signature enter the secret (HS) or the public key (RS/ES, SPKI PEM) in the “Verify the signature” section.
- 4Grab the payload with “Copy payload”; the raw signature segment is shown separately.
Frequently asked questions
Does this tool verify the signature?−+
Yes, once you enter a key: with the shared secret for HS256/384/512, or with an SPKI public key (BEGIN PUBLIC KEY) for RS256/384/512 and ES256/384/512. Without a key it only decodes, and the signature is not treated as verified.
Why does “alg: none” show a warning?−+
It means an unsigned token; attackers can forge tokens with this header. Never accept unsigned tokens on your server.
What if there's no `exp` claim?−+
A note is shown stating the token has no expiry info; no valid/expired badge is displayed.
Is the token or key I enter sent anywhere?−+
No, decoding and verification run entirely in your browser; the key is held in memory only and is never added to the share link.
What happens if I enter an invalid token?−+
If it doesn't have three segments, or base64url/JSON decoding fails, an invalid-token warning is shown.
I want to create a token.−+
The JWT Signer & Verifier tool creates tokens from a header and payload with HS/RS/ES.
Embed on your site
<iframe src="https://toolsqube.com/en/software-engineering/jwt-decoder/embed" width="480" height="360" style="border:0;border-radius:14px" title="JWT Decoder · ToolsQube" loading="lazy"> </iframe>
Want to go deeper on this topic: Software Engineering Tools Guide →