Browser-side openssl rand replacement. Hex, base64, base64url, and alphanumeric secrets with the equivalent terminal command.
Lowercase hex. 32 bytes → 64 hex characters.
100% local. Generated using the browser's WebCrypto API (crypto.getRandomValues) — the same CSPRNG backing Node's crypto.randomBytes and OpenSSL. Nothing is sent to any server.
Generate cryptographically secure random strings — hex, base64, base64url, alphanumeric — for API keys, session secrets, OAuth tokens, JWT keys, CRON_SECRET, and database passwords. Includes one-click presets for common use cases (AUTH_SECRET, JWT key, etc.) and the equivalent terminal command for each output so you can reproduce it on any machine with `openssl`. Uses the browser's WebCrypto API — secrets are never sent to any server.
Secret Generator produces cryptographically secure random strings directly in the browser using the WebCrypto API, ensuring your API keys, tokens, and database passwords never leave your device. It provides one-click presets for common formats like JWT keys and session secrets, alongside the exact OpenSSL terminal command needed to reproduce each output locally. This makes it an efficient, privacy-focused alternative to manual command-line generation or unverified web utilities.
Good to know: For fully automated secret generation pipelines or headless environments, native terminal commands or programmatic scripts may be more appropriate than a web interface.
Generate cryptographically secure random strings for API keys, JWT secrets, and database passwords directly in your browser.
Select a secret preset or format
Choose from common presets like AUTH_SECRET and JWT key, or manually select a format such as Hex, Base64, or Alphanumeric.
Configure the secret length
Adjust the character length or byte size to meet the specific security requirements of your application or environment variable.
Generate the secure random string
Click the generate button to produce a cryptographically secure string using the browser's WebCrypto API for maximum privacy.
Copy the secret and terminal command
Copy the generated secret to your clipboard and save the provided openssl terminal command to reproduce the result later.
Estimated time: PT1M
Share this tool
Generate strong, customizable secure passwords instantly.
Generate v4 UUIDs instantly, single or in bulk.
Generate MD5, SHA-1, SHA-256, SHA-512 hashes from text.
Build and sign JWTs with HS256/384/512. Verify signatures. Runs in your browser.
Encode and decode text with ROT13, Caesar, Atbash, and Vigenère ciphers.
Check password strength: entropy, crack time, patterns, and breach check.
AES-256-GCM encrypt and decrypt text with a passphrase — runs in your browser.
Generate HMAC-SHA256/512 signatures for API authentication and webhooks.
Generate live TOTP/2FA codes from a base32 secret. Scan QR with any authenticator.
Compute SHA-1/256/384/512 of any file and verify integrity — 100% browser-based.
Convert text or Markdown to a Word .docx file with live preview, RTL, and page-setup options.
Draw a Secret Santa with exclusions and share a private reveal link for each person.
Make custom bingo cards from your own words — play, print, or share a link.
Convert images to video with the Ken Burns zoom/pan effect. Add music and export as WebM.
Load and compare multiple URLs side by side in resizable iframes.
Rank anything with quick 1-v-1 matchups → a full ordered list you can share.
Convert Markdown to a fully customized, RTL-ready PDF.
See your public IP address plus full location, ISP, ASN, timezone, coordinates, and more.