# JWT Signer / Verifier

> Sign and verify HS256/384/512 JSON Web Tokens. Runs entirely in your browser — nothing is uploaded.

Source: https://toffeekit.com/tools/jwt-signer

**Category:** [Security](https://toffeekit.com/category/security) · **Price:** Free · **Runs:** in your browser, nothing is uploaded

Open the tool: https://toffeekit.com/tools/jwt-signer

**Also useful for:** jwt, json web token, hs256, hmac, sign, verify, token, exp

## How it works

1. Choose Sign or Verify at the top.
2. To sign, edit the Header and Payload JSON, use the iat now and exp +1h, +1d or +7d buttons, pick an Algorithm and enter the Secret.
3. To verify, paste the token in Token, enter the Verification secret and read the Result.
4. Turn on Secret is Base64-encoded if your secret is in Base64, then copy the token.

## FAQ

### How do I create a JWT for testing?

In Sign mode, edit the payload, choose an algorithm, enter a secret and copy the generated token. It updates as you edit.

### How do I verify a JWT signature?

Switch to Verify, paste the token and the same secret that signed it. The result says Signature valid or Invalid signature.

### What is the difference between HS256, HS384 and HS512?

All use HMAC with a shared secret. They differ in the SHA hash size, 256, 384 or 512 bits, and the larger ones produce a longer signature.

### Why does verification fail for RS256 or ES256 tokens?

Those use a public and private key pair. This tool verifies only HMAC tokens, HS256, HS384 and HS512.

### How do I set a token expiry?

Use the exp +1h, +1d or +7d buttons to add an exp claim relative to now. The verifier also tells you if a token has expired or is not valid yet.

### Is JWT Signer / Verifier free and private?

Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.

## Privacy

JWT Signer / Verifier runs entirely in your browser. Your files and text are processed on your device and are never uploaded.

## Related tools

- [Password Generator](https://toffeekit.com/tools/password-generator) — Strong random passwords from your browser's crypto.
- [Text Redactor](https://toffeekit.com/tools/text-redactor) — Hide emails, phones, cards and more in any text.
- [Passphrase Generator](https://toffeekit.com/tools/passphrase-generator) — Memorable random-word passphrases with entropy.
- [Password Strength Checker](https://toffeekit.com/tools/password-strength-checker) — Test a password's strength and crack time privately.
- [Text Encrypt / Decrypt](https://toffeekit.com/tools/text-encryption) — Encrypt messages with a password using AES-256.
- [File Encrypt / Decrypt](https://toffeekit.com/tools/file-encryption) — Password-protect any file with AES-256 encryption.

