Build and sign HS256, HS384 and HS512 tokens from your own claims
JWT Decoder
Paste a token from a request and see who it is for, when it expires and whether its signature holds, without sending it to anyone.
Loading tool…
How to use jwt decoder
Paste the token, with or without Bearer in front.
Read the header, the payload and the claims table with dates.
Check the banner: expired, not yet valid, or how long it has left.
Enter the secret or public key to verify the signature.
What this tool does
- Shows exp, nbf, iat and auth_time as UTC, local time and relative time, updated every second.
- Verifies HS256, HS384 and HS512 with a secret given as text, Base64 or hex.
- Verifies RS, PS and ES (256, 384, 512) and EdDSA with a PEM public key or a JWK.
- Explains what is wrong with a malformed token, an unsigned alg none token or an encrypted JWE.
How the result is verified
Signatures are checked with the browser's Web Crypto verify function, the same primitive libraries use. The tool says plainly when no key was given, because decoding alone proves nothing.
Frequently asked questions
Is it safe to paste a real token here?
The token is decoded and verified only in this tab; nothing is sent anywhere. Still treat live tokens like passwords: anyone who copies one can use it until it expires.
Why does my HS256 signature not verify?
Usually the secret format is wrong. If your server stores the secret Base64 encoded, choose Base64 so the raw bytes are used, not the Base64 text. Also check for a trailing space or newline in the secret.
Is my data uploaded to a server?
No. Everything you drop, paste or type is processed by code running in this browser tab. You can check it yourself: open your browser's developer tools, watch the Network panel, and use the tool. No request carries your data.
Related tools
Base64 or data URLs back to text, images or downloadable files
Epoch seconds, ms, µs and ns to dates in any time zone and back
MD5, SHA-1, SHA-256, SHA-384, SHA-512 and HMAC for text or files