About the JWT Decoder
Paste a JSON Web Token (JWT) and see its three parts decoded in a structured, color-coded view: the Header (algorithm and type), the Payload (claims, expiration and scopes) and the signature. All decoding happens locally in your browser — the token is never sent to any server. For HMAC tokens, you can enter the secret and verify the signature. To generate hashes, use our Hash Generator.
How to decode in 3 steps
- Paste the JWT into the input field.
- See the Header, the Payload and the signature decoded automatically.
- Check the expiration and, if the token is HMAC, enter the secret to validate the signature.
Structure of a JWT
A JWT has three Base64URL-encoded parts separated by dots: header.payload.signature.
| Part | Color | Meaning |
|---|---|---|
| Header | Red | Metadata: signing algorithm (alg) and type (typ). |
| Payload | Blue | The claims: data about the user, permissions, issuance and expiration. |
| Signature | Teal | Guarantees the token's integrity; computed over header and payload with a secret key. |
Registered JWT claims
The claims below are standardized by RFC 7519. Other (custom) claims may also appear in the payload.
| Claim | Name | Meaning |
|---|---|---|
iss | Issuer | Who issued the token (issuer). |
sub | Subject | The token subject, usually the user ID (subject). |
aud | Audience | The recipient(s) the token is intended for (audience). |
exp | Expires at | Expiration date/time — after it the token should no longer be accepted (expiration). |
nbf | Valid from | Date/time before which the token is not valid (not before). |
iat | Issued at | Date/time the token was issued (issued at). |
jti | Token ID | Unique token identifier (JWT ID). |