JWT Tools

Decode, verify, and generate JSON Web Tokens

JWTs carry authentication and session data across nearly every modern API — and debugging one usually means staring at an unreadable base64 string. These tools handle the everyday JWT work, entirely in your browser.

What is a JWT?

A JWT (JSON Web Token) is a compact token used to prove who a user is and what they are allowed to do. It has three parts separated by dots: a header, a payload of claims (such as the user id and an expiry time), and a signature.

The header and payload are only Base64URL-encoded, not encrypted, so anyone who has the token can read them. The signature is what makes a JWT trustworthy: it proves the token was created by someone who holds the right secret or private key, and that it has not been changed since.

Which tool should I use?

I want to…Use
Read what is inside a token and check when it expiresJWT Decoder
Check that a token's signature is validJWT Verifier
Create and sign a test token with my own claimsJWT Generator
Compare the claims of two tokens side by sideJWT Compare
Inspect the keys in a JSON Web Key Set (JWKS)JWKS Viewer

Private by design

Tokens, secrets and keys never leave your browser. Decoding, verifying and signing all happen on your own computer, and nothing is sent to a server. Even so, avoid pasting live production tokens anywhere you do not need to — a valid token can be used to act as that user until it expires.

Frequently asked questions

What is the difference between decoding and verifying a JWT?

Decoding only reads the header and payload, which anyone can do. Verifying checks the signature with the correct secret or public key, which tells you whether the token is genuine and unchanged. Never trust a token's claims without verifying it.

Is a JWT encrypted?

A normal signed JWT is not encrypted. Its contents are only encoded, so do not put passwords or other secrets in the payload.

What do HS256 and RS256 mean?

They are signing algorithms. HS256 uses one shared secret to both sign and verify. RS256 uses a private key to sign and a public key to verify, so the verifier never needs the private key.

What is a JWKS?

A JSON Web Key Set is a JSON document that lists public keys. Identity providers publish one so other services can find the right key to verify the tokens they issue.