How to use the JWT Decoder
- Paste your JWT
- See the decoded header and payload
- Check the expiry time
Read a JSON Web Token
Paste a JWT, with or without “Bearer ”, to see its header (algorithm and type), its payload (claims), and the issued-at, not-before and expiry times in your local time and UTC. A badge shows whether the token has expired.
Decoded on your device
Tokens can grant access to accounts, so never paste them into sites that upload them. Here the decoding happens in your browser and nothing is sent anywhere.
Decoding is not verifying
A JWT's header and payload are just Base64URL-encoded JSON, so anyone can read them — never put secrets in a payload. Checking the signature needs the secret or public key. This page decodes but doesn't verify, so always verify signatures in your server code, and sign new tokens there with a library.
In code
- Python (PyJWT) —
jwt.decode(token, options={"verify_signature": False})to inspect; verify in production. - JavaScript — the
jwt-decodenpm package, orJSON.parse(atob(token.split('.')[1]))for simple tokens. - Java / Spring Boot —
JwtDecoderin Spring Security, or the jjwt library. - Flutter — the
jwt_decoderpackage. - Command line —
cut -d. -f2 | base64 -d(add padding if needed); in PowerShell, split on “.” and Base64-decode the second part. - Postman —
JSON.parse(atob(token.split('.')[1]))in a test script.
Every JWT has the form header.payload.signature, whether it comes from Microsoft Entra ID, Auth0 or your own server.