Skip to content

UUID Generator

Generate random version 4 UUIDs in your browser.

Generate one or more random version 4 UUIDs above. A UUID (universally unique identifier) is a 128-bit value written as 32 hexadecimal digits in five groups, commonly used as a primary key or a correlation id. Version 4 UUIDs are random, so the chance of a collision is negligible in practice.

These are generated with the browser’s `crypto.randomUUID()`, which is cryptographically secure. Nothing is generated or logged on a server.

Frequently asked questions

What is a version 4 UUID?

A version 4 UUID is generated from random numbers rather than a timestamp or MAC address. It has 122 random bits, which makes accidental collisions astronomically unlikely, so it is a safe default for ids that must be unique without coordination.

Are these UUIDs safe to use as database keys?

Yes for uniqueness. Be aware that random UUIDs as primary keys can fragment index locality in some databases; if that matters, consider a time-ordered id (like UUIDv7 or ULID) instead.