Secret Generator
Generate cryptographically secure random secrets in Base64 or hexadecimal format, just like openssl rand.
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.
Related Tools
Password Generator
Create strong, secure, and random passwords.
Password Strength Checker
Check how strong a password really is: pattern-aware entropy, estimated crack time, and what weakens it.
JWK / JWKS Generator
Generate JWK and JWKS key sets for RS256, ES256, ES512, HS256, and HS512.
RSA Key Generator
Generate public and private RSA key pairs.
Share Secret
Share a secret with a password-protected, encrypted link.