env.dev

JWT Generator

Create and sign JSON Web Tokens with custom claims online. Supports HS256, HS384, and HS512 algorithms.

Last updated:

Algorithm
Payload (JSON)
Secret
Generated Token

How to Use JWT Generator

  1. 1Select the signing algorithm (HS256, HS384, or HS512).
  2. 2Edit the payload JSON with your custom claims (sub, iss, exp, etc.).
  3. 3Enter your signing secret.
  4. 4Click "Generate JWT" to create the signed token.

Frequently Asked Questions

What algorithms are supported?

HS256 (HMAC-SHA256), HS384 (HMAC-SHA384), and HS512 (HMAC-SHA512). These are symmetric algorithms using a shared secret for both signing and verification.

Is the JWT generated securely?

Yes. The signing uses the Web Crypto API for HMAC computation. However, for production use, always generate tokens server-side and keep your signing secret confidential.

Is my secret sent to a server?

No. All JWT generation happens entirely in your browser using the Web Crypto API. Your secret and tokens never leave your device.