Home / Developer / JWT Decoder

JWT Decoder

A JWT decoder Base64url-decodes the header and payload segments of a token so you can read their JSON, without checking the signature.
Decoded
Header
{
  "alg": "HS256",
  "typ": "JWT"
}

Payload
{
  "sub": "123",
  "name": "Ada",
  "iat": 1700000000
}

A JWT packs a header and a payload as Base64url-encoded JSON, joined by dots with a signature. This decodes the first two parts so you can inspect claims like the subject, issuer and expiry. It does not verify the signature.

How it works

The token is split on the dots; the header and payload segments are Base64url-decoded and parsed as JSON. Decoding is not validation — it reveals the contents but says nothing about whether the signature is authentic.

Questions

Does this verify the token?

No. It only decodes the header and payload. Verifying the signature requires the secret or public key and is deliberately not done here.

Is it safe to paste a real token?

Decoding runs locally in your browser, but treat any live token as a secret — anyone who sees it can use it until it expires.