Toolman

JWT Decoder

Paste a JWT to inspect it. Tokens are decoded locally in your browser, so you can safely paste a real access token.

Header

Payload

Claims

Paste a token above.

Signature

This tool decodes only. Verifying a signature requires the secret or public key, which should never be pasted into a web page.

What a JWT actually is

A JSON Web Token is three Base64url-encoded parts joined by dots: header.payload.signature. The header names the signing algorithm, the payload carries the claims, and the signature proves the first two parts have not been altered by anyone without the key.

The payload is not encrypted. Anyone holding the token can read every claim in it — exactly what this page does. Never put a password, a card number or anything else sensitive in a JWT.

Standard claims

ClaimMeaning
issIssuer — who created the token
subSubject — usually the user ID
audAudience — who the token is intended for
expExpiry time, as a Unix timestamp in seconds
nbfNot valid before this time
iatIssued at
jtiUnique token ID, used for revocation lists

Algorithms

FamilyExampleKey model
HMACHS256One shared secret signs and verifies. Simple, but every verifier can also mint tokens.
RSARS256Private key signs, public key verifies. The right choice when third parties must verify.
ECDSAES256Same asymmetric model as RSA with much smaller keys and signatures.
EdDSAEd25519Modern, fast, and hard to implement incorrectly.

Security pitfalls

Frequently asked questions

Is it safe to paste a real token here?

On this page, yes — decoding is done by JavaScript in your browser and there is no backend to receive it. Still treat any token you paste anywhere as potentially compromised, and prefer expired ones for debugging.

Can this tool verify the signature?

No, deliberately. Verification needs the signing secret or public key, and asking you to paste a secret into a web page would be bad practice regardless of how the page behaves.

Why is my token rejected as malformed?

A JWT must have exactly two dots. Common causes are a truncated copy, a leading Bearer  prefix left in, or whitespace inserted by line wrapping.

Is a JWT encrypted?

No. A standard JWT (JWS) is signed, not encrypted, so the payload is readable by anyone. Encrypted tokens exist as a separate standard, JWE, and look different — five parts instead of three.

How long should a token last?

Access tokens: 5–15 minutes. Refresh tokens: days or weeks, stored securely and revocable. Long-lived access tokens are the most common JWT mistake because there is no way to cancel them.

Related tools