Secret Key Generator
Cloud — Uses Leviro servers and requires an internet connectionFree — Free to useGenerate cryptographically-strong secrets and session keys — pick crypto (hex) or openssl (base64) and a length.
Secret
Your secret will appear here.
Uses Leviro servers and requires an internet connection
About generating secret keys
Strong secrets — JWT signing keys, session secrets, API tokens — must come from a cryptographically secure random source, never a password or a predictable string. This tool draws random bytes from the server’s CSPRNG (the same primitive behind Node’s crypto.randomBytes and openssl rand) and encodes them as hex or base64 at the byte length you choose. It’s free for registered users and capped at 20 generations per day.
How to use Secret Key Generator
- 1Sign in, then choose hexadecimal crypto output or Base64 openssl-style output.
- 2Choose the number of random bytes and select Generate.
- 3Copy the generated secret and store it in the system that needs it.
Frequently asked questions
- What is the difference between byte length and character length?
- Hex uses two characters per random byte. Base64 encodes three bytes into roughly four characters, with possible padding.
- Why does this generator require an account?
- Generation runs on the Leviro server and is limited to 20 successful generations per signed-in account each day.
- Can I recover a generated secret later?
- No recovery interface is provided. Copy the value before leaving the page and store it in an appropriate secret manager or environment configuration.