UUID Generator
Generate one or many random v4 UUIDs, each with its own copy button.
Your generated UUIDs will appear here, each with its own copy button.
Formula used
Version 4 UUID layout (32 hex digits, 4 hyphens):
xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx
- '4' marks the version
- 'y' is 8, 9, A, or B (the RFC 4122 variant)
- the remaining 122 bits are random
Generated with crypto.randomUUID().
Related calculators
Worked example
Count: 2
Example output:
3f2504e0-4f89-41d3-9a0c-0305e82c3301
9a0c2b1e-7c6d-4f12-8b3a-1d2e3f4a5b6c
Each line gets its own copy button.
Frequently asked questions
Are these UUIDs truly random?
They are version 4 UUIDs: 122 random bits with fixed version and variant bits, generated by the browser's crypto module. They are unpredictable but not guaranteed unique across all time.
Can a UUID collide?
The chance is astronomically small — about 1 in 2.7 quintillion per generation at scale. For practical use it is effectively impossible.
Are they safe to use as database keys?
Yes. Random v4 UUIDs make good primary keys and avoid revealing row counts or creation order the way sequential integers do.
Do you store or send my UUIDs?
No. Generation happens entirely in your browser. Nothing is uploaded or logged.