Create short, random, URL-safe IDs like V1StGXR8_Z5jdHi6B-myT, up to a thousand at a time. Pick the length and the characters (URL-safe, letters and digits, no look-alike characters, digits only or your own set) and add a prefix such as ord_. The page also tells you how many IDs you could create before a duplicate becomes a 1% risk, so you can pick a safe length.
useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict21 is the Nano ID default.
Up to 1,000 at once.
Added in front; it does not add randomness.
Used only for the duplicate estimate below.
import { nanoid } from 'nanoid';
const id = nanoid();Generating runs in your browser. What you type never leaves this device.
Cryptographically random, with no bias towards any character
Any length from 2 to 256
URL-safe, alphanumeric, lowercase, no look-alikes, digits, hex or custom alphabets
Optional prefix such as ord_ or usr_
Duplicate-risk estimate for your rate of creation
Code snippet with the same settings for the nanoid package
Short IDs without look-alike characters are easy to read out over a support call.
Share links like /p/V1StGXR8 that do not reveal how many records you have, unlike 1, 2, 3.
Fill a sheet or seed a database with unique IDs.
The default, 21 characters from a 64-character alphabet, has 126 bits of randomness, about as much as a UUID v4. Shorter IDs or smaller alphabets collide sooner. The estimate on the page uses the birthday bound to show when a 1% chance of any duplicate is reached.
UUID Generator
Generate unique UUIDs
Password Generator
Generate secure passwords
Random String Generator
Random strings from letters, digits, hex or your own characters
Hash Generator
Generate MD5, SHA hashes
JSON Formatter
Format and validate JSON
JSON Sort Keys
Alphabetize JSON keys at every level
JSON Flatten
Nested JSON to dot-path keys
JSON Unflatten
Dot-path keys back to nested JSON
Built by Edesy
Edesy builds AI products for Indian businesses. Start self-serve, no demo call needed.
AI agents that answer and make phone calls 24/7. Handle appointments, inquiries and support in Indian and global languages.
₹50 free credit. No demo call needed.