Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Encoding & Decoding

JWT Signer

Build a signed JSON Web Token (JWS) from a JSON payload and a secret, or paste a token to recompute its HMAC signature and confirm it is authentic and unexpired. All signing runs with the Web Crypto API inside your browser.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

The HMAC key the token is signed with. It is used, never stored, and never leaves this tab.

0 adds no exp claim. Otherwise an exp claim is added based on iat (or now).

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

Signing and verifying in one place

In sign mode you paste a JSON object of claims and get a compact JWS: a base64url header, a base64url payload and an HMAC signature joined by dots, plus the algorithm, byte sizes and token length. In verify mode you paste a finished token, the tool recomputes the signature and answers Signature VALID or INVALID, reporting the exp and nbf timeline.

A realistic test loop

It fits local API work: mint a short-lived HS256 token to exercise a bearer-token endpoint you are building, then paste a token your issuer produced to confirm it verifies with the shared secret you hold.

What each option alters

Mode switches between signing and checking. Signing algorithm chooses HS256, HS384 or HS512. The secret is the HMAC key and is never stored. The typ toggle adds "typ":"JWT" to the header, add-issued-at stamps iat with the current time, and Expires in adds an exp claim a set number of minutes after iat (or now); 0 adds none.

Where it stops

Only the HMAC family is supported: RS, ES and PS tokens, which need a private key, cannot be signed here and cannot be verified either. Verification proves the signature matches the secret you supplied and checks exp and nbf, but it cannot prove that secret is genuinely the issuer’s. A header using a crit extension is flagged.

The secret stays in the tab

Signing runs through the Web Crypto API inside this page, so the secret and the claims are used locally, never uploaded and never logged. You can confirm it in DevTools → Network, and the page works with no connection.

Questions

Does my secret leave my browser?

No. The secret is used as the HMAC key by the Web Crypto API inside this tab. Nothing is uploaded and no request is made — you can confirm in DevTools → Network.

Which algorithms are supported?

HMAC algorithms HS256, HS384 and HS512, which share a symmetric secret and are by far the most common for self-issued tokens. RS/ES/PS tokens need a private key and are not signed here; tokens signed with them cannot be verified either.

Does verifying prove the token is trustworthy?

It proves the signature matches for the secret you supply and reports whether the exp/nbf claims are in range. It cannot prove the secret itself is the issuer’s — make sure you paste the real secret.

See category