What a JWT decoder shows you
A JSON Web Token has three parts separated by dots: header.payload.signature. The header and payload are just Base64URL-encoded JSON, which is why anyone holding the token can read them. This decoder splits the token, decodes each part and shows the readable JSON, so you can see which algorithm was used, who the token was issued to, and when it expires.
Decoding runs locally in your browser. Your token is not sent anywhere.
How to use it
Paste the full token, including both dots, into the input. The header, payload and signature appear straight away. Time-based claims such as exp, iat and nbf are Unix timestamps in seconds, and the tool shows whether the token is expired.
The claims you will see most often
These registered claims appear in most real-world tokens:
- iss: who issued the token.
- sub: the subject, usually a user ID.
- aud: the audience the token is meant for.
- exp: expiry time. After this moment the token must be rejected.
- nbf: "not before". The token is not valid until this time.
- iat: when the token was issued.
Expired tokens and other common problems
If the tool marks a token as expired, compare exp with the current time. The server clock and the client clock can differ by a few seconds, which is why many APIs allow a small clock-skew tolerance. A token that is "not yet valid" usually means nbf is in the future, again often a clock issue.
Important: decoding is not verifying. Anyone can create a token with any payload. Only your server, using the secret or public key, can confirm the signature is genuine. Never trust claims from a token you have not verified, and do not put secrets in a JWT payload because it is readable by anyone.
Related tools
- Base64 Encoder & Decoder: Encode and decode Base64 strings for APIs, data transfer, and debugging.
- JSON Formatter & Validator: Format, validate, and beautify JSON with clear error messages for developers.
- Password Strength Analyzer: Analyze your password strength with real-time scoring, crack time estimates, and dictionary attack detection.
- UUID Generator: Generate one or many cryptographically random UUID v4 identifiers instantly.
