Skip to main content
Back to tools

JWT Generator

Sign and generate HS256 JSON Web Tokens

About JWT Generator

JWT Generator lets you sign and generate hs256 json web tokens.

Category: API.

Frequently asked questions

What algorithms are supported?

HS256, HS384, and HS512 (HMAC with SHA-2). These are symmetric algorithms — the same secret is used to both sign and verify the token.

What is the 'exp' claim?

The expiration time claim. A Unix timestamp after which the token must not be accepted. Always set an expiration on tokens used for authentication.

Is it safe to generate tokens here?

All signing runs in your browser using the Web Crypto API. Your secret never leaves your device. Still, treat generated tokens as development/testing tokens only.

Related tools