UtilHero

ID Generator

UUID, ULID, CUID2, and NanoID — generated in your browser, copy one or all.

Random 128-bit UUID — the ubiquitous default.

Quantity

About ID Generator

This ID generator creates unique identifiers in the format you need: UUID v4 and v7, ULID, CUID2, and NanoID. Generate one or many at once and copy them instantly. All randomness comes from the browser's Web Crypto RNG, so the IDs are strong and generated locally.

Frequently asked questions

UUID v4 vs v7 — which should I use?
v4 is fully random and the ubiquitous default. v7 embeds a timestamp so IDs sort by creation time, which is friendlier for database indexes.
What are ULID and NanoID good for?
ULIDs are sortable, 26-char, Crockford base32 IDs; NanoIDs are compact 21-char URL-safe IDs. Both are great when you want shorter, URL-friendly identifiers.
Are the IDs generated securely?
Yes. They use crypto.getRandomValues (the Web Crypto RNG), not Math.random, and are created entirely in your browser.

More tools