Reference

UUID Reference

What each UUID version is made of, when to choose it and what the bits guarantee — with a generator one click away.

One name, several constructions

A UUID is always 128 bits. The version field says how those bits were produced: random (v4), time based (v1, v7), name based (v3, v5) or vendor defined (v2). The version does not change the storage size, only the guarantees you get about ordering and uniqueness.

Identifiers are not secrets

A UUID is designed to be unique, not unguessable. v1 embeds a timestamp and often a MAC address; v7 embeds a millisecond timestamp. If an identifier must not be enumerable, treat it as public data and authorize the request, or use a separate random token.

All entries

New tools, straight to your inbox

One short email when we add tools worth using. No spam, unsubscribe anytime.