Paste a JSON Web Token to decode its header and payload instantly, see every claim in plain language with expiry dates converted for you, and verify the signature with your secret or public key. Everything runs in your browser using the Web Crypto API — the token is never sent to a server, which is exactly how a JWT tool should work.
Header
Payload (claims)
Claims in plain language
🔒 Decoding is not verification: anyone can read a JWT. Only trust a token after its signature verifies — and never paste production tokens into any website that sends them to a server. This one doesn’t.
What is a JWT?
A JSON Web Token (JWT, pronounced “jot”) is a compact, URL-safe way to carry claims between two parties — most commonly, to prove a user is logged in. When you sign in to an app, the server issues a JWT; your browser or app sends it back with each request, and the server verifies the signature instead of asking for your password again. JWTs are defined by RFC 7519 and are used by OAuth 2.0, OpenID Connect and most modern APIs.
The three parts of a JWT
| Part | Contents | Example |
|---|---|---|
| Header | JSON: the signing algorithm (alg) and token type (typ) | {"alg":"HS256","typ":"JWT"} |
| Payload | JSON: the claims — user ID, issuer, expiry and any custom data | {"sub":"42","exp":1893456000} |
| Signature | A cryptographic signature over the first two parts, made with a secret or private key | HMAC or RSA signature bytes |
The header and payload are only base64url-encoded, not encrypted — anyone holding the token can read them, which is what the decoder above does. The signature is what stops anyone from changing them.
How signature verification works
- HS256 / HS384 / HS512 (HMAC) — one shared secret both signs and verifies. Whoever has the secret can create tokens, so it must stay private. Paste the secret above to check an HMAC token.
- RS256 / RS384 / RS512 (RSA) — a private key signs, a public key verifies. Servers can publish the public key, and anyone can confirm a token is genuine without being able to forge one. Paste the PEM public key above to check an RSA token.
- Expiry is separate — a valid signature does not mean a token is still usable; the exp claim decides that, and this tool checks it for you.
Features
- Instant decoding — header and payload pretty-printed as you paste.
- Claims translated — registered claims explained in plain language, with exp, iat and nbf shown as human dates plus time remaining.
- Real verification — HMAC (HS256/384/512) and RSA (RS256/384/512) signatures checked with the browser's Web Crypto API, the same cryptography your browser uses for HTTPS.
- Base64url secret option — for Auth0/Firebase-style secrets that are stored encoded.
- Completely private — no server, no logging; the page works offline once loaded. Still, use test tokens for experiments and treat real ones carefully.
- Free, no sign-up.
Related developer tools
Also in this section: the HAR file sanitizer for cleaning network captures before sharing. More tools are being added one by one.
Frequently asked questions
Is it safe to paste a JWT here?
This tool runs entirely in your browser: the token is decoded and verified with local JavaScript and the Web Crypto API, and nothing is transmitted to a server. That said, a live JWT is a credential — for experiments, prefer test tokens, and rotate any token you suspect was exposed elsewhere.
What is the difference between decoding and verifying?
Decoding just base64url-decodes the header and payload so you can read them — anyone can do it, and it proves nothing. Verifying checks the cryptographic signature with the secret or public key; only a token that verifies (and is not expired) should be trusted.
Why does my signature show as invalid?
Usually one of three reasons: the secret or key is wrong (check whether your secret is base64url-encoded and tick the box), the token was modified after signing, or the algorithm in the header does not match the key you are using.
What does "alg: none" mean?
It means the token claims to be unsigned. Accepting none-alg tokens is a classic security bug; this tool will decode such a token so you can inspect it, but it cannot verify it, and neither should your server.
Can this tool create or sign JWTs?
No — it is a debugger: it decodes and verifies. Signing belongs on your server, where the secret or private key lives.
Is it safe to paste a JWT here?
This tool runs entirely in your browser: the token is decoded and verified with local JavaScript and the Web Crypto API, and nothing is transmitted to a server. That said, a live JWT is a credential — for experiments, prefer test tokens, and rotate any token you suspect was exposed elsewhere.
What is the difference between decoding and verifying?
Decoding just base64url-decodes the header and payload so you can read them — anyone can do it, and it proves nothing. Verifying checks the cryptographic signature with the secret or public key; only a token that verifies (and is not expired) should be trusted.
Why does my signature show as invalid?
Usually one of three reasons: the secret or key is wrong (check whether your secret is base64url-encoded and tick the box), the token was modified after signing, or the algorithm in the header does not match the key you are using.
What does "alg: none" mean?
It means the token claims to be unsigned. Accepting none-alg tokens is a classic security bug; this tool will decode such a token so you can inspect it, but it cannot verify it, and neither should your server.
Can this tool create or sign JWTs?
No — it is a debugger: it decodes and verifies. Signing belongs on your server, where the secret or private key lives.