Skip to content

CUID2 Generator

Generate CUID2-style identifiers: 24 lowercase characters that start with a letter and come from a SHA3-512 hash of the time, random entropy, a counter and a process fingerprint. They are hard to guess and safe as database keys, element IDs and URLs.

Reset

Frequently asked questions

What is CUID2?

The second version of the collision-resistant unique identifier scheme. Instead of exposing a timestamp like the first CUID, it hashes time, entropy, a counter and a fingerprint with SHA3, so the ID reveals nothing and cannot be predicted.

Why does the ID start with a letter?

So it is valid where identifiers must not begin with a digit, such as HTML IDs, CSS selectors and many programming languages.

Are these IDs compatible with the cuid2 library?

They follow the same construction and format: a random lowercase letter followed by base36 characters of a SHA3-512 hash, 24 characters in total. Like the library's own output they are opaque strings, so any CUID2 consumer accepts them.

Do CUID2 IDs sort by time?

No. The hash removes any order. Use a ULID, KSUID or UUID v7 when you need time-ordered keys.

How unique are they?

With about 120 bits from the hash, collisions are practically impossible even across many machines.

How many can I generate?

Up to 100 per request.

About OneClick Pro

OneClick Pro is a free collection of more than 150 web tools for everyday work: converting images and units, formatting and validating code, checking domains and SEO, and working with text, dates and numbers. Every tool runs without registration or subscription, and what you enter is only used to calculate your result and is never stored. Use it as a quick toolbox for one-off tasks, or bookmark the tools you rely on every day.