How to Read a JWT Without a Library
What the three parts of a JSON Web Token contain, which claims matter, and why decoding is not the same as verifying.
A JSON Web Token is three Base64URL segments separated by dots: the header, the payload and the signature. Decoding the first two is a plain Base64URL decode, which is why the contents are visible to anyone who holds the token.
Paste a token to see its algorithm, claims and expiry. This tool only decodes; it does not verify the signature, so never treat a decoded token as proof that it was issued by a trusted party.
Runs locally in your browser — nothing is uploaded.
No. Signature verification needs the issuer's secret or public key. Decoding only reveals what the token claims.
JWT payloads are Base64URL-encoded, not encrypted. Only JWE tokens are encrypted; ordinary JWS tokens are signed, not secret.
No. Decoding happens in your browser. Still, avoid pasting production tokens into any web page you do not control.
The `alg` header is where many JWT vulnerabilities live: accepting `none`, trusting the token's chosen algorithm, or confusing HMAC and RSA keys. Verification code should pin the expected algorithm and reject anything else.
Claims are advisory until the signature is checked. `exp`, `aud` and `iss` should all be validated server-side; a client that merely decodes a token is displaying data, not authenticating anyone.