Skip to content
ZeroKit

JWT

A JWT (JSON Web Token) is three Base64url segments — header, payload and signature — that together let a server hand a client a verifiable statement.

The header names the signing algorithm, the payload carries claims such as sub and exp, and the signature is computed over the first two segments with a secret or private key.

The payload is only encoded, not encrypted. Anyone holding the token can read the claims, so a JWT must never contain secrets — only identifiers and metadata you would not mind showing.

Decoding and verifying are different jobs. Decoding is a Base64url parse; verifying requires the key and must happen server-side. A decoder that accepts a production signing secret is a credential-leak waiting to happen.

Apply it: JWT Decoder

JWT decoder that reveals the header, payload and claims, checks exp and nbf validity, and shows iat as ISO and relative dates — fully offline in your browser.

Open the free JWT Decoder →
  • Base64 — Base64 is an encoding that turns arbitrary bytes into 64 printable characters so binary da…
  • SHA-256 — SHA-256 is a cryptographic hash function that maps any input to a fixed 256-bit digest, us…