Nano ID & ULID Generator

Generate Nano IDs and ULIDs in bulk. Cryptographically random, URL-safe, sortable.

Frequently asked questions

What is a Nano ID?

Nano ID is a tiny, URL-safe unique ID format: 21 cryptographically random characters from a 64-symbol alphabet. It is shorter than a UUID but has comparable collision resistance, popular in modern JavaScript projects.

What is a ULID and why is it sortable?

A ULID is a 26-character identifier where the first 10 characters encode the creation timestamp and the last 16 are random. Because the timestamp leads, ULIDs sort chronologically as plain strings, unlike random UUIDs.

Are the IDs cryptographically random?

Yes. Both use the browser's crypto.getRandomValues(), the same secure source used for keys, not the predictable Math.random().