JWT Decoder & Analyzer
Decode JWT contents and inspect expiration and activation times. Signatures are not verified.
Signature not verified: this tool decodes Header/Payload and displays time claims only. It does not verify signatures, algorithms, issuer or audience. Do not use it to authorize access. Only three-part JWS is supported, not encrypted JWE.
Related Tools
We recommend useful tools highly related to your current work.
JWT Structure (Header, Payload, Signature) and Debugging Expiration Errors
JWT (JSON Web Token) is an open standard (RFC 7519) that defines a compact and self-contained way for securely transmitting information between parties as a JSON object.
1. The 3 Parts of a JWT
- Header: Consists of two parts: the type of the token (JWT) and the signing algorithm being used (e.g., HMAC SHA256 or RSA).
- Payload: Contains the claims, which are statements about an entity (typically, the user) and additional data. It includes standard fields like expiration time (exp) and issued at (iat).
- Signature: Depending on the algorithm, a secret-key MAC or a private-key digital signature is used. Separate verification with trusted keys and allowed algorithms is required; this tool does not perform it.
2. Debugging Token Expiration (exp)
A 401 can have many causes, including expiration, signature, issuer or audience failures. exp is Unix time in seconds; now at or after exp is expired. A future nbf means not yet active. These displays do not replace server-side authorization checks.
3. Security Considerations
The Header and Payload of a JWT are only Base64Url encoded, not encrypted. Anyone can decode and read the contents easily, so you must NEVER put sensitive information like passwords or social security numbers inside the Payload.
Separate token expiration from signature verification
This synthetic Payload has exp=0 and an arbitrary .fake signature. Compare its decoded Payload and time state.
Input
eyJhbGciOiJIUzI1NiJ9.eyJuYW1lIjoiZGVtbyIsImV4cCI6MH0.fakeOutput
{
"name": "demo",
"exp": 0
}The decoded exp is 0; the tool shows an expired state and 1970-01-01 UTC. It does not verify the arbitrary signature.
An input that fails or can be missed
a.b.c
a.b.c cannot be read as Base64url JSON objects, so it produces a format error.
Decoding is not authentication. Verify signatures, algorithms, issuer and audience separately on the server. JWE is unsupported.
Synthetic example. Match the described input and options to compare it in the tool. Do not use real secrets.