Toolvist

JWT Signature Verifier

Verify an HS256 JWT signature against a secret and inspect the header and payload claims.

Required only to verify the signature, not to decode the token.

Signature

—

Algorithm

—

Expiry

—

Status

—

Header

 

Payload

 

Claim checks

JWT Signature Verifier

Decode a JSON Web Token and verify its HMAC signature against a secret. This tool shows the header and payload, checks the signature with the browser crypto API, and flags expired or not-yet-valid tokens.

JWTs are URL-safe Base64 inside, so the URL-Safe Base64 tool shows the raw segments, while the JWT Decoder reads one without checking the signature.

How to use the JWT Verifier

  1. 1 Paste the JWT you want to inspect.
  2. 2 Enter the secret used to sign it, for an HS256 token.
  3. 3 Verify the signature and read the decoded header and payload claims.
  4. 4 Check the exp claim to confirm the token has not expired.

JSON Web Signature verification and claim expiration validation

The JWT Verifier inspects and validates JSON Web Tokens conforming to RFC 7519. It splits the token into its three constituent segments—Header, Payload, and Signature—and decodes the Base64URL encodings to verify the signature against your provided secret key (using HMAC algorithms like HS256) or public key (using RSA algorithms like RS256).

In addition to signature verification, the tool evaluates registered claims, checking whether the token is currently active (`nbf` - not before), whether it was issued in the past (`iat` - issued at), and whether it has expired (`exp`). This enables full debugging of OAuth2 and OpenID Connect authorization tokens.

  • Verifies cryptographic signatures across HMAC (HS256) and RSA (RS256) JWTs.
  • Validates registered token claims including expiration (`exp`) and active windows (`nbf`).
  • Decodes Header and Payload JSON structures for easy inspection of user claims.
  • Vital for debugging OAuth2, OpenID Connect, and microservice authentication tokens.

Frequently asked questions

Is the payload of a JWT secret?

No. The payload is Base64url-encoded, not encrypted, so anyone holding the token can read every claim. A JWT guarantees integrity — that nobody altered it — but not confidentiality. Never put sensitive data in one.

What is the alg:none vulnerability?

An attack where the header is changed to "alg": "none" and the signature removed. If a server trusts the header instead of enforcing its own expected algorithm, it accepts the forged token. Always pin the algorithm on the server side.

What is the difference between HS256 and RS256?

HS256 uses one shared secret for both signing and verifying, so every party that can verify can also forge. RS256 uses a private key to sign and a public key to verify, so a service can check tokens without being able to mint them — which is why it is preferred for third parties.

Related Security & Cryptography Tools

Browse all Security & Cryptography Tools →

You might also need

Tools from other categories that people pair with the JWT Verifier:

Browse the full tool directory →