JWT Decoder

Decode a JWT header and payload and see exp, nbf and iat as dates. Decoding does not verify the signature: the content is untrusted.

Input

Ctrl + Enter to run

Result

Decode a signed JWT (three-part compact JWS) and see its header and payload as readable JSON, with exp, nbf and iat converted to UTC and relative to now.

Decoding is not verifying: anyone can create a token with any content. To know whether the signature is genuine, use the JWT verifier with the right key. The token never leaves your browser.

How to use it

  1. Paste the token (a “Bearer” prefix is accepted).
  2. Press Run.
  3. Review the claims and warnings (alg none, expiry).

Example

Example input
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJ1c2VyLTEyMyIsIm5hbWUiOiJFamVtcGxvIiwicm9sZSI6InRlc3RlciIsImlhdCI6MTc2NzIyNTYwMCwiZXhwIjo0MTAyNDQ0ODAwfQ.6CGJfEG9ShjTwW5fwktuWdZslH9HdLYGBCb4fbYr74Y
Result
// Header
{
  "alg": "HS256",
  "typ": "JWT"
}

// Payload
{
  "sub": "user-123",
  "name": "Ejemplo",
  "role": "tester",
  "iat": 1767225600,
  "exp": 4102444800
}

// Signature (Base64url, unverified)
6CGJfEG9ShjTwW5fwktuWdZslH9HdLYGBCb4fbYr74Y

Limitations

  • JWE (five-part encrypted tokens) is not supported.
  • It does not verify the signature or fetch keys (remote jku, x5u or JWKS are never requested).
  • 32 KiB maximum size.

FAQ

Is it safe to paste a real token here?
The token is processed only in your browser, with no network or storage. Still, a valid token is a credential: avoid pasting it into any tool unless needed and clear it afterwards.
Why does it say “signature not verified”?
Because decoding only reads Base64url. The signature can only be checked with the issuer’s secret or public key.

Related tools

References