Custom Nano ID generator
Nano ID is a tiny, URL-safe unique-ID format. The default is 21 characters drawn from a 64-symbol alphabet, which gives collision resistance comparable to a UUID v4 in a shorter, copy-friendly string with no hyphens.
This generator uses rejection sampling over your chosen alphabet — the same unbiased technique as the reference library — backed by the browser’s cryptographic random source. Set any length, swap in a custom alphabet, and mint a single ID or a batch of up to a thousand. Everything runs entirely in your browser, nothing is uploaded.