JWT Decoder

Paste a JWT and see exactly what's inside. We decode and explain โ€” never validate against a key, never send your token anywhere.

What is a JWT?

JWT in 30 seconds

A JSON Web Token is a compact, URL-safe way to carry signed claims between two parties โ€” typically as proof of identity ("this user is logged in"). It looks like three Base64URL strings separated by dots:

HEADER . PAYLOAD . SIGNATURE

  • Header โ€” the algorithm and token type.
  • Payload โ€” the claims (who, when, what).
  • Signature โ€” proves the token wasn't tampered with, signed using a secret only the issuer has.

Standard claims (RFC 7519)

  • iss โ€” issuer (who created it)
  • sub โ€” subject (who it's about, often a user ID)
  • aud โ€” audience (who it's intended for)
  • exp โ€” expiration (Unix timestamp; reject if past)
  • nbf โ€” not before (Unix timestamp; reject if future)
  • iat โ€” issued at (Unix timestamp)
  • jti โ€” JWT ID (unique identifier for the token)

Security warnings

  • JWTs are not encrypted. The payload is just Base64. Don't put secrets in there.
  • Decoded โ‰  verified. Anyone can change the payload and re-Base64 it. Only the signature check proves it wasn't tampered with โ€” and that needs the issuer's key.
  • Algorithm "none" is a famous attack. Some libraries accept alg: "none" tokens as valid. Don't.