JWT decoder: read the header and payload of a token
Paste a JSON Web Token to see its header, its payload claims and whether it has expired. Timestamps such as iat, nbf and exp are converted into readable dates. It is useful for debugging login and API authorization problems.
What is inside a JWT
A JWT has three Base64URL parts separated by dots: a header (algorithm and type), a payload (claims such as the user, issuer and expiry) and a signature. The header and payload are only encoded, not encrypted, so anyone holding the token can read them.
Decoding is not verifying
Reading a token's contents does not prove it is authentic. To trust a JWT, a server must verify its signature with the correct key and check its claims. This tool does not do that.
Security tips
- Never put secrets or passwords in a JWT payload, because it is readable.
- Keep token lifetimes short and check the exp claim.
- Avoid pasting live production tokens into online tools; use a test token where you can.