UUID Generator
Generate universally unique identifiers (UUID v4) using the Web Crypto API — random and cryptographically secure.
Generate universally unique identifiers (UUID v4) using the Web Crypto API — random and cryptographically secure.
A UUID (Universally Unique Identifier), also called a GUID in the
Microsoft world, is a 128-bit identifier designed to be unique in space and time
without needing a central authority. It is represented by 32 hexadecimal digits
grouped into five blocks separated by hyphens, in the format 8-4-4-4-12 —
for example, 3f2504e0-4f89-41d3-9a0c-0305e82c3301.
UUIDs are widely used as database primary keys, API resource identifiers, temporary file names and idempotency keys — situations where generating unique IDs in a distributed way (across multiple servers, without coordination) is essential.
Version 4 is the most common: almost all of its bits are random. This
tool uses crypto.randomUUID() when available — or, as a fallback,
crypto.getRandomValues() — both cryptographically secure generators from
the Web Crypto API. This guarantees high-quality randomness, without the
predictability of Math.random().
With 122 effectively random bits, the probability of collision (two identical UUIDs) is astronomically low — in practice, negligible even when generating billions of identifiers.
Yes. They are valid UUID v4s, generated by a cryptographically secure generator. They are suitable for database keys, API identifiers and the like.
In theory yes, but the probability is so low it is considered negligible in practice. It would take billions of generated UUIDs for the chance of collision to become even minimally relevant.
They are essentially the same thing. GUID (Globally Unique Identifier) is the name used by Microsoft; UUID is the RFC standard term. The 128-bit format is identical.