Default URL-safe ID (21 chars)
Input: Length: 21, Alphabet: A-Za-z0-9_-
Output: V1StGXR8_Z5jdHi6B-myT
500+ fast, free tools. Most run in your browser only; Image & PDF tools upload files to the backend when you run them.
Generate secure, URL-friendly unique string IDs with customizable alphabet and length using the Nano ID standard.
The Nano ID Generator creates compact, secure, URL-friendly unique identifiers following the Nano ID specification — a modern alternative to UUID designed for use in URLs, tokens, and short unique codes. Nano IDs default to 21 characters using a URL-safe alphabet (A-Za-z0-9_-), providing ~126 bits of entropy, but both the alphabet and length are fully configurable. You can use numeric-only alphabets for PIN codes, lowercase-only for readable slugs, or custom character sets for domain-specific needs. The generator uses a cryptographically secure random source (Web Crypto API) just like the popular nanoid npm package.
Input: Length: 21, Alphabet: A-Za-z0-9_-
Output: V1StGXR8_Z5jdHi6B-myT
Input: Length: 6, Alphabet: 0123456789
Output: 738241
Input: Length: 8, Alphabet: abcdefghijklmnopqrstuvwxyz
Output: kqpzwxnv
Input: Length: 10, Alphabet: bcdfghjklmnpqrstvwxyz0123456789
Output: k7z3p9n2qm