JWT Decoder & Verifier
Web tool · Free · Works without an account · Runs on your device
Paste a JWT to read its header and payload, see whether it has expired in your local time and UTC, and get plain-English explanations of each claim. You can verify the signature with a secret or public key using your browser's WebCrypto; decoding and verification make no network requests, but you should still never paste production secrets into a website.
Paste a token to see its header and payload, expiry in your local time and UTC, plain-English claim explanations and security warnings. Optionally check the signature with your secret (HS256/384/512) or public key (RS, PS, ES, EdDSA). Decoding and verification make no network requests, so your token stays on your device.
Updated
How to use the JWT Decoder & Verifier
- Paste the token (a leading “Bearer ” is fine).
- Read the decoded header and payload, the expiry status and any warnings.
- Open “Verify signature” and enter the HMAC secret, or paste the public key (PEM, certificate or JWK).
- Check the result: valid, invalid or cannot verify, with the reason.
- Copy the decoded JSON if you need it — then clear the page when you are done.
- Is it safe to paste my token here?
- Nothing you paste is sent anywhere: decoding and verification run in your browser and make no network requests. You can confirm that in your browser's Network tab (the site only counts that the tool was opened, with no token data). Even so, a JWT is a credential: do not paste tokens or secrets from production into any website, and treat a token you have pasted somewhere you do not control as compromised if it is still valid.
- Does decoding a JWT prove it is genuine?
- No. The header and payload are only Base64URL-encoded, so anyone can read or forge them. Only a successful signature check with the right key shows the token was not altered, and even then your server must still check the expiry, issuer and audience.
- Which algorithms can it verify?
- HS256, HS384 and HS512 with a shared secret; RS256/384/512, PS256/384/512, ES256/384/512 with a public key as PEM, X.509 certificate or JWK (including a key set chosen by kid); and EdDSA (Ed25519) where your browser supports it. Tokens with alg “none” have no signature to check.
- Why does it say “cannot verify”?
- It means the check could not run, not that the token is bad: for example no key was given, the key is the wrong type or curve for the algorithm, or the algorithm is not supported. “Invalid” means the check ran and the signature did not match.
- What is wrong with alg “none”?
- A token with alg none is unsigned, so anyone can write one with any claims. Servers must refuse it. This tool warns about it, including odd spellings like “None”, which some libraries have wrongly accepted.
- Is a short HS256 secret a problem?
- Yes. HS256 should use a random secret of at least 32 bytes. Short or common secrets can be guessed offline from a single token. When you verify, the tool warns if your secret is shorter than the hash size or is a well-known placeholder.
- Why is my exp showing a date far in the future?
- JWT timestamps are in seconds since 1970. If a library wrote milliseconds, the value is 1,000 times too large and reads as a date thousands of years away. The tool flags values that look like milliseconds.
- Can it decode encrypted tokens (JWE)?
- No. A JWE has five parts and its payload is encrypted, so it cannot be read without the decryption key. The tool recognises the format and says so.
Also in Developer tools
- QR & Barcode GeneratorUPI payment, WhatsApp, website, Wi-Fi, contact and event QR codes, plus product barcodes — styled, checked and print-ready.
- Bug ReporterOne click: screenshot, console logs, network requests, browser details and steps — a complete bug report.
- Excel ⇄ CSV ⇄ JSON ConverterConvert between Excel, CSV, JSON, XML, SQL, YAML and more, preview, edit and clean the table — in your browser.
- QR & Barcode ScannerScan QR codes and barcodes with your camera or from a photo — open links, UPI and Wi-Fi safely.
- Screen RecorderRecord your screen, a window or a tab with your voice — right in the browser, no install.
- Meeting & Time Zone PlannerFind a meeting time that works across India, the US, UK, Gulf and more — and share it.
Need a tool like this built around your business?
Tell us how it works today. We’ll come back with a clear plan, timeline and estimate — usually within two business days.