JWT Decoder
Decode a JSON Web Token to inspect its header, payload, expiry and claims.
Processing: This tool runs entirely in your browser. Your input and any file you open stay on your device — nothing is uploaded to a server.
How to use the jwt decoder
- Paste the full token, including both dots.
- Read the decoded header and payload.
- Check the expiry line to see whether the token is still valid.
About this tool
A JSON Web Token is three Base64url segments separated by dots: a header describing the algorithm, a payload of claims, and a signature. The first two are encoded, not encrypted — anyone holding the token can read them, which is why tokens should never carry secrets.
This decoder splits the token, decodes the header and payload, and translates the standard time claims (exp, iat, nbf) into local dates so you can see at a glance whether a token has expired. It does not verify the signature: that requires the issuer's key, and sending your signing key to a web page would be a bad idea. Verify signatures in your own backend.
Common uses
- Debugging why an API rejects a token as expired.
- Checking which scopes or roles a token carries.
- Confirming which issuer and algorithm a token declares.
Frequently asked questions
- Does this verify the signature?
- No, and deliberately so — verification needs the secret or public key, which should stay on your server. This tool only decodes the readable parts.
- Is it safe to paste a token here?
- Decoding happens in your browser and the token is not transmitted. Still, a live access token is a credential; prefer an expired or test token when you can, and rotate anything you have handled carelessly.
- Why is the payload readable at all?
- JWTs are signed, not encrypted. The signature proves the payload has not been altered; it does not hide it. Use JWE if the contents must be confidential.
Related tools
Base64 Encoder & Decoder
Encode text to Base64 or decode Base64 back to text, with UTF-8 and URL-safe support.
JSON Formatter
Format, validate and minify JSON with clear error messages that point at the exact position.
SHA-256 Hash Generator
Generate SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text using the Web Crypto API.
Unix Timestamp Converter
Convert Unix timestamps to human dates and back, in local time and UTC, with ISO 8601 output.