DevNet KitTHE EVERYDAY TOOLBENCH
Network & Security · Local-first

JWT Decoder / Signer / Verifier Online

Decode JWT claims or create and verify HS256 JWTs locally.

Open JWT Decoder / Signer / Verifier

Free · No sign-up · Browser-based processing

What JWT Decoder / Signer / Verifier does

Create an HS256 JSON Web Token from a JSON payload, or check the HMAC-SHA256 signature of an existing three-part token against a secret you provide. Signing and verification use the browser Web Crypto API; the secret and token stay in this browser tab.

Common uses

  • Generate an HS256 test token for a local API
  • Check whether an HMAC-signed token matches a known test secret
  • Inspect the claims in a token while debugging authentication

How to use JWT Decoder / Signer / Verifier

  1. To sign, enter a JSON claims object in Input and a test secret in the Secret field. Run the tool and copy the resulting three-part token.
  2. To verify, replace Input with a three-part JWT and enter the secret that signed it. Run the tool to see whether its HS256 signature matches.
  3. Read the decoded header and payload after verification. Check expiration, issuer, audience and any application-specific claims separately.

Privacy: Runs locally in your browser. Input is not uploaded to the DevNet Kit server.

JWT Decoder / Signer / Verifier example

Try the tool with this representative input:

{"sub":"123","name":"Ada","iat":1710000000}

JWT Decoder / Signer / Verifier FAQ

Which algorithms can this tool sign and verify?

HS256 only. It does not sign or verify RS256, ES256 or unsigned tokens.

Does a valid signature mean the token is authorized?

No. The signature check does not validate exp, nbf, iss, aud, revocation or application permissions. Your server must check those claims.

Is the secret sent to DevNet Kit?

No. Signing and verification run locally through the browser Web Crypto API. Avoid pasting production secrets into any online tool.

Check an HS256 test token against a shared secret

Use the verify operation with a three-part HS256 JWT and the same secret used to sign it. Signature verification checks whether the header and payload match the supplied HMAC key.

A matching signature does not enforce expiration, not-before, issuer, audience, revocation or application permissions. Perform those checks in your application. Use test tokens and test secrets when debugging authentication.

Worked example

Input and settings:

Signing payload: {"sub":"demo-user","aud":"local-api"}
Algorithm: HS256
Secret: a disposable test secret

Expected result or interpretation:

Signing creates a three-part JWT. Verification with the same secret should report a matching signature; changing the payload or secret should fail.

Questions about this workflow

Can this tool verify RS256 or ES256 JWTs?

No. Its signing and verification operations support HS256 with a shared secret. Use a library supporting the token algorithm and key type for RS256 or ES256.

Why can an expired JWT have a valid signature?

The signature covers the token contents, including its expiry claim, but expiry enforcement is a separate decision. A correctly signed token can still be expired or unsuitable for the intended audience.

Continue this workflow

References