UUID Generator

Generate cryptographically random UUID v4 values — single or bulk — using your browser's secure crypto.randomUUID() API.

Privacy: All processing happens in your browser. Your input is never sent to our servers.
Max 1000 at once

What Is a UUID?

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 v4 — Random

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

Common Use Cases

Nil UUID

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.

Awesome findWhatIsMyIP Blog

Frequently asked questions

What kind of UUID does this generate?

Version 4 UUIDs: 122 random bits from the browser's crypto API. The chance of two colliding is negligible for any realistic number of IDs.

Can I use a UUID as a database primary key?

Yes, though random v4 UUIDs can fragment index locality on some databases. Where that matters, use a time-ordered scheme such as UUIDv7 or ULID instead.

Are the UUIDs generated locally?

Yes. They are created in your browser with crypto.getRandomValues and are never sent anywhere, so each one is yours alone.