UUID Generator

Generate one — or a thousand — random UUID v4 strings in a click, each built from your browser's cryptographically secure random numbers. Copy them one by one, grab all of them at once, and switch between lowercase and UPPERCASE.

What a UUID v4 is

A UUID (Universally Unique Identifier) is a 128-bit label written as 32 hex digits in five groups: 8-4-4-4-12. Version 4 means the identifier is built from randomness: of its 128 bits, 6 are fixed (the version marker 4 and the variant bits) and 122 are random. That leaves 5.3 × 10³⁷ possible values, so the odds of two systems picking the same one are essentially zero — you can mint UUIDs offline, on any machine, with no registry and no coordination.

How these UUIDs are generated

Each UUID comes from your browser's cryptographically secure random source: the native crypto.randomUUID() when available, otherwise crypto.getRandomValues() with the version-4 and variant bits set by hand. Nothing is sent to a server and nothing is stored. UUIDs live in the list until the next generation, so stay on the page if you still need them — deep links like ?n=5&u=1 reproduce the settings, not the values (a shared UUID list is a shared secret).

Domande frequenti

Are these UUIDs really random?

Yes. They come from crypto.randomUUID() / crypto.getRandomValues — the operating system's cryptographically secure generator, not Math.random(). Every value is fresh, unguessable and never transmitted.

Can two UUIDs ever collide?

For practical purposes, no. UUID v4 has 122 random bits; you would need to generate about 2.7 quintillion UUIDs to reach a 50% collision chance. Database engineers use them as primary keys precisely for this reason.

Lowercase or uppercase — which is correct?

Both are valid: the UUID spec says case is not significant, so "a1b2…" and "A1B2…" denote the same identifier. Lowercase is the conventional output of most libraries and databases; pick uppercase only if a legacy system expects it.

What is a UUID used for?

Row IDs in databases, API keys and trace IDs, idempotency keys for payments, session tokens, device identifiers — anywhere you need a unique label that many machines can mint independently without asking a central authority.

Testo e Dev