UUID Generator — free random v4, no signup
Create random UUID (v4) identifiers in your browser. Nothing is sent or stored.
Options
Formula & explanation
What a UUID is. A UUID (Universally Unique Identifier) is a 128-bit value used to label data without a central authority handing out numbers. It is written as 32 hexadecimal digits in five groups, like f47ac10b-58cc-4372-a567-0e02b2c3d479. Version 4 is the random variant: 122 of its bits are random and the rest fix the version and variant markers, so any process can mint one on its own.
How this generator works. It uses the browser's cryptographic random source (crypto.randomUUID / getRandomValues), not Math.random, so the output is suitable for keys and tokens. Everything runs on your device — nothing is uploaded. You can produce one or many at once and toggle uppercase, hyphens, and surrounding braces to match the format your platform expects.
Why they don't collide. With 122 random bits the space is about 5.3×1036 values. You would need to generate billions of UUIDs per second for many years before the chance of a single duplicate became meaningful, which is why v4 is safe as database keys, request/correlation IDs, idempotency keys, and file names created on different machines without coordination.
Where to be careful. A UUID is unguessable but it is not a secret or an access token — treat authorization separately. If insert performance on a clustered index matters, random v4 values scatter across the index; consider a time-ordered scheme (UUID v7) or keep an internal integer key and expose the UUID publicly.
Example
Frequently asked questions
What is a UUID v4?
A 128-bit identifier whose bits are random except for the version and variant markers. It needs no central coordination to stay unique, so any client or service can generate one independently.
Are these UUIDs truly random?
Yes. They use the browser's cryptographic random source (crypto.randomUUID / getRandomValues), not Math.random, so they are suitable for keys and tokens.
UUID v4 vs an auto-increment ID — which should I use?
Use an auto-increment integer when a single database owns the sequence and you want compact, ordered keys. Use a UUID v4 when IDs must be created without a central counter (offline clients, multiple services, sharded tables) or when a public ID shouldn't reveal how many records exist.
When should I NOT use a UUID?
Don't use it as a security token or password — unguessable is not the same as authenticated. And if insert order on a big indexed table is your bottleneck, random v4 hurts locality; look at UUID v7 (time-ordered) instead.
Can I generate many at once?
Yes, up to 100 per run. Each line is one UUID, ready to copy.
What do the uppercase, hyphens and braces options do?
They format the output to match your platform: uppercase hex, with or without the dividing hyphens, and wrapped in { } braces — the style some Microsoft/GUID contexts expect. The underlying value is the same.
Is anything sent to a server?
No. Everything runs locally in your browser; nothing is uploaded or stored.