UUID Generator
Generate cryptographically random version 4 UUIDs using your browser's secure random source. Choose how many you need and click Generate.
Generate version 4 UUIDs
A UUID (universally unique identifier) is a 128-bit value used as a primary key, a correlation id in logs, or any identifier that must be unique without a central authority handing out numbers. Version 4 UUIDs are made almost entirely of random bits, so two independently generated ids practically never collide. This generator uses your browser's cryptographically secure random source and can produce anywhere from one to a thousand at a time.
How to use it
- Set How many UUIDs you need.
- Click Generate.
- Copy the result — one UUID per line — into your code, migration or test data.
When you would reach for it
Seeding a database with stable primary keys, creating correlation ids to trace a request across services, building test fixtures that need unique references, or generating idempotency keys for API calls. Because generation is client-side you can produce ids offline and in bulk without hitting a rate limit.
Why version 4
Version 4 needs no MAC address, timestamp or coordination, which makes it the safest default for most applications and avoids leaking the host or creation time that time-based UUIDs can expose. If you need a content-derived identifier instead, hash your data with the hash generator.
Privacy
Generation runs entirely in your browser and works offline once loaded. Nothing is uploaded or stored.
Frequently asked questions
What version of UUID is this?
Version 4 (random). It uses crypto.randomUUID() where available, falling back to the secure crypto.getRandomValues API.
Are these unique?
v4 UUIDs have 122 random bits, making practical collisions astronomically unlikely — you would need to generate billions per second for many years before a clash became probable.
What does a v4 UUID look like?
Thirty-two hexadecimal digits in five groups, for example f47ac10b-58cc-4372-a567-0e02b2c3d479. The digit before the third group is always 4 (the version), and the first digit of the fourth group is 8, 9, a or b (the variant).
Is this random source secure?
Yes. The values come from the Web Crypto API, the same cryptographically secure generator browsers use for other security-sensitive work — not the predictable Math.random().
Can I generate many at once?
Yes — set the count (up to 1000) and every UUID is generated in a single batch, ready to copy as a list for seeding a database or a test fixture.
Is anything uploaded?
No. UUIDs are generated entirely in your browser — nothing is sent to a server.