JWT Decoder
Decode JWT headers and claims, check expiry, and verify HS256, HS384 or HS512 signatures in your browser.
Decode a JSON Web Token (JWT) to read its header and payload. Paste a token (a leading "Bearer " is ignored) and you'll see the algorithm and every claim, with timestamps such as exp, iat and nbf shown as dates, and a notice if the token has expired or isn't valid yet. For HMAC tokens (HS256, HS384 and HS512) you can enter the shared secret to check the signature. Tokens signed with RS or ES keys are decoded, but checking them needs the issuer's public key. Decoding runs in your browser, so tokens and secrets never leave it.
Header
algAlgorithm | HS256 |
|---|---|
typType | JWT |
Payload
subSubject | user_8271 |
|---|---|
nameName | Ada Lovelace |
emailEmail | ada@example.com |
rolesRoles | ["editor","billing"] |
issIssuer | https://auth.example.com |
audAudience | example-api |
iatIssued at | 1767225600 |
nbfNot before | 1767225600 |
expExpires | 1830297600 |
Verify signature
Signature (Base64URL): FDLxk7jjbzaOOUPAnb2mIHWba6eJHR_mPrRt5vyJoFs
Decoding happens in your browser. Tokens and secrets are never sent anywhere.
Common use cases
- Check which claims, roles or scopes an access token carries
- Find out why an API says a token has expired
- Debug a login flow with Auth0, Cognito, Firebase or your own server
- Verify an HS256 token with your test secret
How to use
- Paste the token.
- Read the header and the payload claims.
- Check the expiry notice.
- For HS tokens, enter the secret to verify the signature.
FAQ
Is a JWT encrypted?
Usually not. The header and payload are only Base64URL-encoded, so anyone with the token can read them. Don't put secrets in a JWT payload.
Is it safe to paste a real token here?
The token isn't sent anywhere, but treat live tokens like passwords: anyone who has one can use it until it expires. Use a test token where you can.
Why does decoding not prove a token is genuine?
Anyone can make a token with any payload. Only checking the signature with the right key proves it came from the issuer and wasn't changed.
Related tools
- JWT Signer DemoCreate signed JSON Web Tokens for testing: write the claims, pick HS256, HS384 or HS512, add an expiry, and…
- Bcrypt GeneratorGenerate bcrypt password hashes with configurable rounds.
- Scrypt GeneratorGenerate scrypt key derivation hashes.
- NanoID GeneratorGenerate compact, URL-friendly unique IDs.
- OTP GeneratorGenerate one-time passwords for authentication.
- HTTP Request BuilderBuild an HTTP request with headers, auth and a body, then copy it as cURL, fetch, Python requests or HTTPie…