Secrets for developers
Keys and passwords in exactly the format your framework expects — generated in your browser, nothing is stored.
Pattern Generator
Describe the structure, not just the length: licence keys, coupon codes, test data.
Laravel APP_KEY Generator
A valid Laravel APP_KEY: 32 random bytes, base64-encoded, generated in your browser.
Django SECRET_KEY Generator
50 characters from Django’s own alphabet, identical to get_random_secret_key().
Rails secret_key_base Generator
128 hex characters from 64 random bytes, in exactly the format Rails expects.
JWT Secret Generator
Keys for HS256 and HS512, at least as long as the hash output.
Auth.js AUTH_SECRET Generator
32 random bytes in base64, equivalent to openssl rand -base64 32.
Nuxt Session Password Generator
At least 32 characters for NUXT_SESSION_PASSWORD.
Database Password Generator
Only characters that survive a connection string without encoding.
WordPress Salt Generator
All eight security keys and salts for wp-config.php, generated in your browser.
Every tool on this page is also available machine-readable: API
Frequently asked questions
What is a framework secret?
A random value a framework uses to sign and encrypt sessions, cookies or tokens. It is not a password for humans but a key for the application — which is why it has to come from a cryptographically secure source.
Where does the value belong in my project?
In an environment variable, usually through a .env file or your hosting platform's secret management. It does not belong in the repository — not even in an example file that accidentally carries real values.
When do I have to rotate a secret?
As soon as you suspect it leaked: committed by accident, written to a log, sitting on a compromised server. Plan the rotation deliberately — depending on the framework it invalidates existing sessions or makes encrypted data unreadable.