JWT Decoder
Paste a JWT to see its header and payload as JSON. Decoded claims are not trusted — this page will not treat an expiry, issuer or role as an authorization decision. A signature is checked only if you provide a key.
Token and optional key
A valid signature only means the token was signed by this key. Claims are still not trusted and are never used as an access decision.
Limits
- Tokens are limited to 512 KB.
- No signature is checked unless you supply a key. alg "none" cannot be verified and is flagged.
- Supported signature algorithms: HS256/384/512 (shared secret as UTF-8), RS256/384/512, PS256/384/512, ES256/384/512 (PEM public key or JWK). Encrypted JWE tokens are not decrypted.
- Issuer, audience, expiry, issued-at, not-before, subject and scope are displayed only and are never used as a grant of access.
- This page does not fetch JWKS URLs or talk to an identity provider.
- The input is limited to 2 MB of UTF-8 text (8 MB if you load a file). Larger files can run out of memory in a phone browser tab.
Decoded header and payload
Header
Payload
How to use JWT Decoder
- Paste the tokenA JWT is three Base64URL parts separated by dots. Header and payload are decoded immediately.
- Read the claims as data, not as proofInspect the JSON. Expiry, issuer, audience and roles are displayed only — they are not enforced.
- Optionally check the signatureFor HS256/384/512 paste the shared secret. For RS/PS/ES algorithms paste a PEM public key or a JWK. A match only means the signature is valid, not that the token should be accepted.
Decode is not verification, and verification is not trust
A JWT is just Base64URL-encoded JSON plus an optional signature. Anyone can write a payload. This page always shows a warning that claims are untrusted. It does not check exp, nbf, iss, aud, typ or nonce, and it will not apply a JWKS URL or a clock skew policy.
If you paste a key, Web Crypto can check HS256, HS384, HS512, RS256, RS384, RS512, PS256, PS384, PS512, ES256, ES384 and ES512. A valid signature only means the token was signed by that key. It is still your job (on a server) to decide whether the claims are acceptable. Do not paste a private key.
Frequently asked questions
Is my text or file uploaded?
No. Everything runs in your browser tab with JavaScript. Nothing you type, paste or drop is sent to a server, logged or stored by ALink Tools.
Why do you keep saying claims are not trusted?
Because a decoded JWT is just data. Accepting a token is a server-side decision that includes signature, issuer, audience, expiry and more. Doing that in a web page would be the wrong place and could be misleading.
Can I verify a token here?
You can check the signature if you already have the HMAC secret or the public key. That still does not mean the token is authorized. We never fetch keys from the internet.
What about encrypted JWE tokens?
They are not supported. This page only decodes compact JWS (header.payload.signature).
Related tools
All toolsHMAC Generator
Compute HMAC-SHA-1, SHA-256, SHA-384 and SHA-512 of text or a file, entirely in your browser.
Hash Generator
MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of text or files.
Base64 Encoder & Decoder
Encode or decode UTF-8 text, URL-safe Base64, and local files.
URL Encoder / Decoder
Percent-encode or decode URLs, query strings and form values.