Hashing

Random String

Generate secure random strings, passwords, and API keys.

How to use it

  1. Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type Random String and press Return.
  2. No input is needed. Set the options you want.
  3. Adjust the Options on the right if you need to. The defaults are listed below.
  4. Press Generate, or ⌘↵.
  5. Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.

The OpenSSL Base64 and OpenSSL Hex presets make keys in the same format as openssl rand -base64 and openssl rand -hex. Length is the number of random bytes, like the number in the openssl command, so 32 gives a 44-character Base64 key or 64 hex characters. They're generated inside Devly with Apple's secure random generator; nothing runs in Terminal.

Options

OptionValuesDefault
LengthNumber of characters to generate4–25632
QuantityNumber of strings to generate1–501
PresetCharacter set presetCustom, Password, API Key, PIN, Hex, Alphanumeric, OpenSSL Base64, OpenSSL HexPassword
Lowercase (a-z)Include lowercase lettersOn or offOn
Uppercase (A-Z)Include uppercase lettersOn or offOn
Digits (0-9)Include numbersOn or offOn
Symbols (!@#$...)Include special charactersOn or offOn
Exclude ambiguous (0OIl1)Remove characters that look similarOn or offOff

Example

Real output from Devly, with the default options.

Input
(none, default options)
v1^.On^VAPEH[vvy<qrX(EbKoG+tNC4H

From Terminal

With the free command-line tool installed:

Terminal
devly randomstring
# or pipe text in
pbpaste | devly randomstring

Quick Switch also finds it by: random, string, password, api, key, generator, secure, token.

More Hashing tools