Hashing

Nanoid

Generate compact, URL-safe unique identifiers.

How to use it

  1. Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type Nanoid 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.

Options

OptionValuesDefault
SizeLength of the ID (default 21)2–6421
QuantityNumber of IDs to generate1–1001
AlphabetCharacter set to useDefault (64 chars), URL-Safe, Lowercase, Numbers Only, Hex, CustomDefault (64 chars)
Custom AlphabetYour own character set (min 2 chars)Text (e.g. Enter custom characters...)—
Show collision probabilityDisplay estimated collision infoOn or offOn

Example

Real output from Devly, with the default options.

Input
(none, default options)
ID
oKIlEURTWOeE6X-g8zf_U
Collision probability
~1304P IDs for 1% collision

From Terminal

With the free command-line tool installed:

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

Quick Switch also finds it by: nanoid, id, unique, identifier, uuid, short, url-safe.

More Hashing tools