NextAuth Secret
Generate a secret for `NEXTAUTH_SECRET` in a NextAuth setup.
What it's for
Use this when you want to create a `NEXTAUTH_SECRET` value in the browser. It is the secret used for session signing and auth flows.
Paste example
NEXTAUTH_SECRET=your-generated-secretLength
Choose a length or enter one.
Details
Adjust character groups and exclusions.
Only open when needed
Details
Adjust character groups and exclusions.
Generated output
Length
32
Charsets
4
Lowercase + Uppercase + Numbers + Symbols5 Excluded
- Generating...
Reloading clears the results.
All tools
Switch between every tool and preset here.
Login
Login Password
A stronger password preset for regular login use.
.env
.env Secret
A safer preset that fits well in `.env` files and config values.
API
API Key
For API secrets and other shared secret values.
URL
URL-safe Token
For URL-friendly tokens that allow only `-` and `_`.
Hex
Hex Secret
For secrets that are easier to handle in hexadecimal form.
QR
QR Code
Turn a URL or text into a QR code.