← All Tools

JWT Validate ValidatoršŸ”’ 100% local

Validate JWT tokens. Privacy-first, no server uploads, no tracking.

Related Tools

Credit Card ValidatorColor ContrastCron Visualizer

Reads a token and reports what it can: the decoded header and payload, then exp, nbf, iat, iss and aud compared against the clock, then a verdict on the alg. Add a second line beginning secret: and it recomputes the HMAC over the first two parts and compares it with the third. The header and payload are decoded and the signature is recomputed locally, so the token never leaves the machine.

How to use it

  1. Paste the token as the first line.
  2. Add secret: your-secret on a second line if you want the HS256 signature checked as well.
  3. Press Process and read the four sections: Structure, Claims, Algorithm, Signature.

Worked example

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjMiLCJyb2xlIjoiYWRtaW4ifQ.dGhpcy1pcy1ub3QtYS1yZWFsLXNpZ25hdHVyZQbecomes=== Structure === Header: {"alg":"HS256","typ":"JWT"} Payload: {"sub":"123","role":"admin"} Sig len: 28 decoded chars === Claims === exp: (none - token never expires) === Algorithm === alg: HS256 === Signature === Not verified - add "secret: <your-secret>" on line 2 to verify HS256 signatures. Note: JWTs are base64-encoded, not encrypted - the payload is readable by anyone.

This token carries no exp, nbf or iat, so the claims section is short. A token that has them gets one line per claim compared with the current time, which means the report describes the moment you ran it.

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjMiLCJyb2xlIjoiYWRtaW4ifQ.dGhpcy1pcy1ub3QtYS1yZWFsLXNpZ25hdHVyZQ secret: my-secretbecomes=== Structure === Header: {"alg":"HS256","typ":"JWT"} Payload: {"sub":"123","role":"admin"} Sig len: 28 decoded chars === Claims === exp: (none - token never expires) === Algorithm === alg: HS256 === Signature === āœ— Signature INVALID - secret does not match. Note: JWTs are base64-encoded, not encrypted - the payload is readable by anyone.

The same token with a secret line added. The recomputed HMAC does not match the third part, so the signature check fails and the header and claims are still printed - a bad signature never stops the structure report.

When to use it

What it does not do