JWT Secret Key Generator
Generate secure JWT secret keys for HS256, HS384, HS512.
,
256 bits
Strong (HS256)
Recommendations
- HS256 needs at least 256 bits. HS384 needs 384. HS512 needs 512.
- Store the secret as an environment variable, never commit it to git.
- Rotate keys periodically and on every suspected leak.
- This page runs 100% in your browser. The key is never sent over the network.