A JWT generator builds and cryptographically signs JSON Web Tokens for testing authentication flows, debugging JWT-based APIs, and learning how token-based auth works. Select an HMAC algorithm, add standard and custom claims, enter a secret key, and get a signed JWT instantly — all in your browser using the Web Crypto API.

Header

Standard Claims (Payload)

Include current timestamp

Custom Claims

Signature

Use a strong random secret in production. Never expose your real secret key.

Encoded Token

Click "Generate JWT" to create a signed token...