# 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.

## 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.

Your ad here?

[Email us](mailto:hi@dennn.is?subject=Advertising%20on%20OneClick%20Pro)

[Ad 433 tools for your AI agents through one MCP server.](https://multitaskai.com/?ref=oneclickpro)
