Security•Client-Side Processing
Environment Variable Generator
Generate random, cryptographic secrets for JWT_SECRET, APP_KEY, and encryption passwords.
Developer workbench
⌘ / Ctrl + Enter to runConfigure. Run. Inspect.
Edit the JSON configuration. Generated templates are starting points and do not claim to describe an existing system.
47 input bytes
Output
How to Use Environment Variable Generator
01
Select key type (JWT secret, 256-bit encryption key, hex token).
02
Click 'Generate Secret'.
03
Copy directly to your .env file.
Frequently Asked Questions
How long should a JWT secret be?
For HMAC-SHA256, a secret key of at least 256 bits (32 bytes / 64 hex characters) is strongly recommended.
Related Developer Tools
Explore more free client-side developer utilities in this category