Generate cryptographically random UUID v4 values — single or bulk — using your browser's secure crypto.randomUUID() API.
A UUID (Universally Unique Identifier), also known as GUID (Globally Unique Identifier), is a 128-bit label used to uniquely identify objects in computer systems. The standard format is 32 hexadecimal digits displayed in five groups separated by hyphens: xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx.
UUID version 4 uses cryptographically random values for all bits except two marker bits (version=4 and variant=RFC 4122). The probability of generating two identical v4 UUIDs is astronomically low — approximately 1 in 5.3 × 10³⁶. This makes them safe to generate independently without coordination.
This tool uses crypto.randomUUID() (where available) or falls back to crypto.getRandomValues(), both of which use the browser's cryptographically secure pseudo-random number generator (CSPRNG).
The nil UUID (00000000-0000-0000-0000-000000000000) is a special UUID where all 128 bits are zero. It's used as a sentinel value meaning "no UUID assigned" — similar to a null pointer. It is defined in RFC 4122 and is useful as a default/unset indicator in databases and APIs.