
JWT decoder and signature checker
Paste a JWT to read its header and payload and see when it expires. Decoding does not verify the token: to check the signature, give the key in the optional box below.
Runs in your browser. Pasted data never leaves it.
Verify the signature (optional)
Decoding needs no key, but a decoded token is not a trusted token: anyone can write a payload. To check the signature, give the key the token was signed with. It is used only in this page.
Header
Payload
Signature
How to use it
- Paste your token (with or without “Bearer ”). The header, payload and signature appear at once.
- Check the highlighted time claims: the page says if the token is expired or not yet valid.
- To check the signature, open Verify the signature and paste the secret or public key.
- Remember: decoding only reads the token. It does not prove it is genuine.
Questions
Does decoding a JWT prove it is valid?
No. The header and payload of a JWT are just Base64URL-encoded JSON, readable by anyone. Only checking the signature with the right key (and checking exp, iss and aud) shows the token is genuine. This page decodes without any key; open “Verify the signature” and give a key to check it.
How do I verify a signature here?
For HS256/384/512, enter the shared secret exactly as the issuer has it (tick the box if it is Base64). For RS/PS/ES/EdDSA, paste the issuer's public key as a PEM (-----BEGIN PUBLIC KEY-----) or a JWK (or a whole JWKS document: the first key is used). If you have a certificate, get the key with openssl x509 -in cert.pem -pubkey -noout. Verification uses your browser's built-in WebCrypto and never sends the key anywhere.
Should I paste a production token into an online decoder?
You should be careful with any site that sends tokens to a server. Here, the token is decoded in your browser and never leaves it, which you can check in your network tab. Even so, a live token is a password until it expires: prefer tokens from a test environment.
What does alg “none” mean?
It means the token is unsigned. A server must never accept it as proof of identity. Attacks against libraries that honoured “none” (or that let an attacker switch RS256 to HS256) are among the best-known JWT bugs.
Why are exp and iat numbers?
Time claims are Unix timestamps in seconds. This page shows them as dates, in your time zone and UTC, and tells you whether the token is expired or not yet valid.
What about encrypted tokens (JWE)?
A JWE has five parts and an encrypted payload. Nobody can read it without the key, so this page can only tell you that it is one.
Is what I paste or test sent anywhere?
No. This page works entirely inside your browser, and pasted data never leaves your device. It makes no network requests while you use it, and the page also tells your browser to block them (a Content-Security-Policy with connect-src 'none'), so even a bug could not send your data out. To check it yourself, open your browser's developer tools, go to the Network tab, and use the tool: nothing will appear. There is no account, no analytics and no logging.
