JWT decoder.
Paste a JSON Web Token to read its header and claims, see when it expires, and optionally verify an HMAC signature with your secret. Tokens stay on your device.
Runs in your browser. Nothing you enter is sent to KRA Digital or anyone else.
How to use it
- Paste the token, with or without the “Bearer ” prefix.
- Read the decoded header and payload. Registered claims such as exp and iat are shown as dates.
- Check the status line for expiry and for unsafe settings such as alg “none”.
- For HS256, HS384 or HS512 tokens, enter the shared secret to check the signature.
Questions
Is it safe to paste a real token here?
Decoding happens in your browser and nothing is sent anywhere. Still, treat production tokens like passwords: prefer test tokens, and never paste them into tools you do not trust.
Does decoding prove a token is valid?
No. Anyone can create a token with any claims. Only verifying the signature with the right key, and checking issuer, audience and expiry, proves it.
Can it verify RS256 or ES256 tokens?
Not yet. Those use a public key in PEM or JWK form. This tool verifies HMAC (HS*) tokens with a shared secret.
Why can anyone read the payload?
A signed JWT is only Base64url-encoded, not encrypted. Don’t put secrets or sensitive personal data in it.
Read more
Developer guidesJSON Web Tokens (JWT) explained: structure, validation and security pitfalls
What a JWT is, how its header, payload and signature work, which claims to validate, HS256 vs RS256, where to store tokens, and the security mistakes to avoid.
Developer guidesEncoding vs hashing vs encryption: what’s the difference?
A plain-English explanation of encoding (Base64, URL encoding, UTF-8), hashing (SHA-256, HMAC, password hashing) and encryption (symmetric, asymmetric, TLS) — and the mistakes to avoid.
Related tools
- Developer
Base64 encoder & decoder
Encode text or files to Base64 and decode it back, with UTF-8 and URL-safe support.
Open - Developer
JSON formatter & validator
Format, validate, sort and minify JSON with clear error positions. Runs locally.
Open - Developer
Unix timestamp converter
Convert Unix epoch seconds or milliseconds to dates in any time zone, and back.
Open