JWT Encoder, Decoder & Debugger
Decode, inspect, and verify JSON Web Tokens (JWT) in real time. Validate expiration timestamps, inspect claims, and sign custom tokens with HMAC SHA-256 — all calculated locally on your device.
Header: Algorithm & Type
{
"alg": "HS256",
"typ": "JWT"
}Signature Verification
Payload: Data Claims
{
"sub": "1234567890",
"name": "John Doe",
"iat": 1516239022,
"exp": 1999999999
}Token Claims Inspector
May 18, 2033, 03:33:19 AM (1999999999)
Jan 18, 2018, 01:30:22 AM
The Anatomy of a JSON Web Token (RFC 7519)
A JSON Web Token (JWT) is a compact, URL-safe means of representing claims to be transferred between two parties. A standard token consists of three distinct parts separated by dots (.):
Identifies the signature algorithm (e.g. HS256 or RS256) and token type (JWT). Base64URL-encoded JSON.
Contains the claims — user identity, permissions, and timestamps (sub, exp, iat). Readable by anyone who has the token.
A cryptographic hash of Header + Payload using your secret key. Guarantees the data has not been tampered with in transit.
Standard JWT Registered Claims Cheat Sheet
| Claim | Name | Example | Purpose |
|---|---|---|---|
| sub | Subject | "usr_10482" | The unique identifier of the user or entity. |
| iss | Issuer | "https://auth.kitwharf.com" | Identifies the authority that issued the token. |
| exp | Expiration Time | 1760000000 | Unix timestamp after which the token must be rejected. |
| iat | Issued At | 1759900000 | Unix timestamp when the token was created. |
| aud | Audience | "api.kitwharf.com" | The intended recipient or API service for the token. |
| nbf | Not Before | 1759900000 | Unix timestamp before which the token must not be accepted. |