Secret Generator

Generate cryptographically secure random secrets in Base64 or hexadecimal format, just like openssl rand.

Runs in your browser — your data never leaves your device

Frequently Asked Questions

How does the secret generator work?

It uses the browser Web Crypto API to generate random bytes with a cryptographically secure random number generator, then encodes those bytes as Base64 or hex.

Does this match OpenSSL output?

Yes. Select Base64 or hex and a byte count to get the same format as openssl rand -base64 N or openssl rand -hex N. The default is 32 random bytes.

Is the secret sent to a server?

No. Generation happens locally in your browser and the secret is not uploaded.

How many bytes should I use?

32 bytes (256 bits) is a common choice for application secrets and symmetric keys. Choose the byte length required by your application.