Hashing
Nanoid
Generate compact, URL-safe unique identifiers.
How to use it
- Open Devly from the wrench in your menu bar, or press ⌃⌥⌘D. Press ⌘P, type Nanoid and press Return.
- No input is needed. Set the options you want.
- Adjust the Options on the right if you need to. The defaults are listed below.
- Press Generate, or ⌘↵.
- Use Copy or ⇧⌘C to copy the result. ⌘L clears everything.
Options
| Option | Values | Default |
|---|---|---|
| SizeLength of the ID (default 21) | 2–64 | 21 |
| QuantityNumber of IDs to generate | 1–100 | 1 |
| AlphabetCharacter set to use | Default (64 chars), URL-Safe, Lowercase, Numbers Only, Hex, Custom | Default (64 chars) |
| Custom AlphabetYour own character set (min 2 chars) | Text (e.g. Enter custom characters...) | — |
| Show collision probabilityDisplay estimated collision info | On or off | On |
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
Hash GeneratorGenerate MD5, SHA-1, SHA-256, and other hashesHMAC GeneratorGenerate HMAC signatures for message authenticationPassword HashGenerate secure password hashes with PBKDF2ChecksumCalculate CRC32, CRC16, and Adler-32 checksumsUUID GeneratorGenerate UUIDs in various formatsULID GeneratorGenerate time-sortable unique identifiers (ULID)