Skip to content
Tools

JWT Signature Verifier

Verify a JWT HMAC signature against a secret and read its claims.

Local
Verifies HS256, HS384 and HS512 signatures with the secret you provide. RS and ES tokens need a public key and are not verified here.

What this tool does

This tool checks a JSON Web Token's signature against a secret and tells you whether it is valid. It also decodes the header and payload and notes whether the token has expired.

What verifying proves

A valid signature means the token was produced by someone holding the secret and has not been changed since. It does not by itself mean the token should be trusted: you still need to check the claims, such as the issuer, audience and expiry, against what your application expects.

Scope

It verifies HMAC signatures (HS256, HS384, HS512) with the secret you provide. Tokens signed with RS or ES algorithms need the issuer's public key, which this tool does not fetch, so those are decoded but not verified. Everything runs in your browser.

Common use cases

  • Confirming a token was signed with the expected secret.
  • Debugging why a token is rejected.
  • Checking a token's claims and expiry.

Frequently asked questions

What does a valid signature prove?
That the token was signed with your secret and has not been changed. You still need to check the claims, such as issuer, audience and expiry.
Can it verify RS256 tokens?
No. Those need the issuer's public key, which this tool does not fetch. It verifies HS256, HS384 and HS512.

Learning resources

Testsmith also runs hands-on courses and a free practice app for the skills behind this tool.

Feedback welcome

Found a bug in this tool, or want it to do something it does not? Tell us and we will take a look.