Random API keys, tokens and secrets in bulk. Runs entirely in your browser — nothing is uploaded.
6 answers to what people ask most about the Random Key Generator.
Pick a preset and click Regenerate. Each key is made with your browser's secure random generator, so it is suitable for secrets and tokens.
Use the 256-bit hex secret preset, which gives 64 hex characters. That is 256 bits of randomness, a common size for signing secrets.
Hex uses 0 to 9 and a to f, Base64url uses letters, numbers, hyphen and underscore and packs more randomness per character, and alphanumeric uses letters and numbers only.
Type it in the Prefix field. The Live API key and Test API key presets use sk_live_ and sk_test_, similar to the style many payment APIs use.
Set Copy all as to .env and click Copy all. You get one line per key in KEY=value format.
Yes. It's free with no sign-up or limits, and it runs entirely in your browser, so what you type or paste never leaves your device. It works on phones and computers alike.
Something not working? Tell us and we'll fix it.
Report an issueStrong random passwords from your browser's crypto.
Hide emails, phones, cards and more in any text.
Memorable random-word passphrases with entropy.
Test a password's strength and crack time privately.