JWT Vulnerability Check

Decode a JWT and test it for alg=none and weak HMAC signing secrets, entirely in your browser.

Without one, the token is still decoded and tested against a list of common weak secrets. The token and the key stay in this tab and are never put in the page address.

No token yet

Paste a JSON Web Token above to decode it and check it for common weaknesses.

Related tools

What it does

Decodes any JSON Web Token into its header and payload, explains every claim (issuer, subject, audience, expiry and the rest) with readable dates, and tests the token for classic weaknesses: the alg=none trick that leaves a token unsigned, HMAC secrets that are weak or guessable, and a key id that looks injectable. Findings are listed most severe first. Give it a secret and it recomputes the HS256, HS384, or HS512 signature; give it a PEM public key and it verifies RS, PS and ES tokens too. Every check runs on tokens you are authorized to test.

How to use it

Paste a token in the header.payload.signature form. The decoded header and payload, the claim explanations, the expiry status and any findings appear immediately, and the token is always tried against a built in list of common secrets. To verify the signature, type the HMAC secret into the key box, or paste the issuer's BEGIN PUBLIC KEY block for an RS, PS or ES token. Open Try extra secrets to add your own candidates, one per line; a match is reported as a critical finding. The token and the key stay in the tab and are never written to the page address.

Why this one

The usual move is to paste a token into jwt.io or an online cracker, but a real token is a live credential and those sites receive it on their servers. Here the token never leaves your device, so there is nothing to log, retain, or leak. No sign in, no rate limits, and it keeps working offline.

FAQ
Is it safe to paste a real token?
The token stays in your browser and is never sent anywhere, so pasting one here is far safer than pasting it into an online decoder. Even so, treat anything you have pasted into any tool as potentially exposed and rotate or revoke it afterward as good hygiene.
What is alg=none?
alg=none is a JWT header that declares the token has no signature. A server that honors it will accept a token with any payload, so an attacker can forge an admin token by editing the claims. If this tool flags alg=none, make sure your backend rejects unsigned tokens.
Can it crack strong secrets?
No. It only catches weak, common, or guessable HMAC secrets by testing a small built in list plus any wordlist you provide. A long random secret will not be found, which is exactly why you should use one.

Keyboard shortcuts: press ? anywhere on this page to see them.