About the JWT Decoder
JSON Web Tokens are used for authentication in many web apps and APIs. The JWT Decoder splits a token into its header, payload and signature and shows the claims in readable JSON, including human-friendly issue and expiry dates.
Decoding happens locally in your browser. Even so, avoid pasting production tokens into tools you do not trust.
How to use the JWT Decoder
- Paste your JWT.
- View the decoded header and payload.
- Check the issued-at and expiry times.
- Copy any part you need.
Key features
- Header and payload decoding
- Readable expiry dates
- Claim explanations
- Local processing
Inside a JSON Web Token
A JWT has three Base64URL-encoded parts separated by dots. The header states the signing algorithm, such as HS256 or RS256. The payload holds claims: standard ones like sub (subject), iat (issued at), exp (expiry) and aud (audience), plus any custom data. The signature lets the server verify that the header and payload have not been altered.
Decoding only reads the header and payload, which anyone can do. It does not prove the token is genuine. That is why tokens should never contain passwords or other secrets.
Common uses
- Checking why an API rejects a token, for example because it expired.
- Inspecting the roles and permissions a token grants.
- Debugging login flows with OAuth and OpenID Connect providers.
- Learning how authentication tokens are structured.
Tips for the best results
- Compare exp with the current time to diagnose expired-token errors.
- Avoid pasting live production tokens into any online tool you do not trust; this one decodes locally.
Frequently asked questions
Does decoding verify the signature?
No. Decoding only reads the token. Signature verification requires the secret or public key.
Is a JWT encrypted?
Standard JWTs are only encoded, so anyone can read the payload. Never put secrets in a JWT payload.
What does exp mean?
exp is the expiry time as a Unix timestamp. After this time the token should be rejected.
Can I edit a token and use it?
Changing the payload invalidates the signature, so a properly configured server will reject it.
Is my token uploaded?
No. It is decoded in your browser.