JWT parsing
View the JWT's header, payload, and time fields.
- views
- —
- favorites
- —
| Statement | original value | date explanation |
|---|---|---|
| Subject | "1234567890" | — |
| name | "John Doe" | — |
| Issued At | 1516239022 | 01/18/2018, 01:30:22 AM |
| Expiration time (Expiration) | 1735689600 | 01/01/2025, 12:00:00 AM |
| role | "admin" | — |
SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c
Tool description and FAQ
Tool Guide
01Decode Header and Payload
Paste the three-part header.payload.signature token, or open a text file from the input area. Header and Payload are highlighted in JSON and can be copied separately; the declaration table displays the original value and explains the second-level time of exp, nbf, and iat according to the current language.
02Expiration status and signature
Uses exp, nbf, and the device clock to show whether the token has expired or is not yet in effect, updated every second. You can copy Signature, but the signature, issuer, audience, and permissions are not verified.
03Strict parsing and local processing
Tokens are limited to 256 KB. The first two segments must decode to UTF-8 JSON objects nested at most 100 levels deep, and all three segments must be non-empty. Parsing stops on duplicate keys or numbers that cannot be represented without losing precision. Five-segment JWE and tokens without signatures are unsupported. All processing happens locally in your browser.
FAQ
Q1Why can’t I log in even though it’s not expired?
Servers may also check the signature, issuer, audience, permissions, revocation status, and time of validity. The exp and nbf notices are informational and do not replace server-side authentication.
Q2Why are tokens containing large integers rejected?
The current claim display is treated as a safe JavaScript value. To avoid silent rounding, values without safe representation will report an error; the business large integer in the token should usually be saved as a string by the issuer, and the signed token cannot be directly modified.
Q3Why can't the pasted Authorization header be decoded?
Only the token body is accepted here, please remove Bearer and other header content. Test results containing keys or tokens should also not be shared publicly.