UUID Generator
Generate random UUIDs one at a time or by the thousand, from a cryptographic source.
Processed on your device — no upload
Version 4 UUIDs are 122 random bits. Generating a billion of them every second for a century would give roughly a one-in-a-billion chance of a single collision — which is why they can be created independently on any machine without coordination.
How to use it
- Set how many you need.
- Choose a format.
- Copy or download the list.
How it works
A version 4 UUID is 128 bits, of which 122 are random and six are fixed to mark the version and variant. They are produced by crypto.randomUUID, the browser's own implementation, backed by the same cryptographic source as the password generator.
The point of a UUID is that it needs no coordination. Two machines with no connection between them can each generate identifiers all day and never collide. Generating a billion per second for a hundred years would give roughly a one-in-a-billion chance of a single duplicate — which is why they are the default for distributed systems, offline-first apps and anything that must create records before reaching a server.
The four formats are the same 128 bits written differently. Lowercase with hyphens is the canonical form from the specification. Braces are a Microsoft convention. Without hyphens is more compact for URLs and keys.
A worked example
You are seeding a database and need 500 primary keys before anything is inserted. Set the count to 500, download the list, and use it.
The trade-off worth knowing before choosing UUIDs for primary keys. Version 4 UUIDs are random, so consecutive inserts land in unrelated places in the index. On a large table that causes page splits and fragmentation, and both write throughput and index size suffer measurably compared with sequential integers.
The usual answers are an auto-increment integer as the internal key with a UUID as the public identifier, or UUID version 7, which puts a timestamp in the high bits so identifiers sort roughly by creation time while staying globally unique. This tool generates version 4, which remains the right choice when the identifier must be unguessable rather than sortable.
One security note. A version 4 UUID reveals nothing — no timestamp, no machine identifier, no sequence — which is exactly why it is suitable for a public URL where an incrementing integer would let anyone enumerate your records. That is not true of version 1, which embeds a timestamp and the network card's MAC address.
Questions
Are these v4 UUIDs?
Yes, version 4: 122 random bits from your browser's cryptographic generator, which is why they can be created independently on any machine without collision.
Is anything sent to a server?
No. They are generated in your browser by crypto.randomUUID, which needs no network at all.
Can two UUIDs collide?
In principle, yes; in practice, no. Generating a billion per second for a century gives about a one-in-a-billion chance of a single duplicate.
What is the difference between version 4 and version 1?
Version 4 is entirely random. Version 1 embeds a timestamp and the machine's MAC address, which makes it sortable and also leaks information about where it was created.
Should I use UUIDs as database primary keys?
They are convenient and they fragment large indexes, because random values scatter across the index. A common pattern is an integer internal key with a UUID as the public identifier.
What is UUID version 7?
A newer variant that puts a timestamp in the high bits, so identifiers sort by creation time while staying globally unique. It addresses the index fragmentation of version 4.
Are UUIDs safe to expose in a URL?
Version 4, yes — it reveals nothing and cannot be enumerated. Treat it as an identifier rather than a secret, though: it is not a substitute for an access check.
What is a GUID?
The same thing. Microsoft calls them GUIDs and often writes them in braces; the format and the standard are identical.
How many can I generate at once?
Up to 10,000 per batch. Beyond that the text box itself becomes the bottleneck rather than the generation.
Related Security tools
Password Generator
Strong passwords and passphrases
open$termiva pass --checkPassword Strength Checker
How long it would take to crack
open$termiva hash --sha256Hash Generator
SHA-256, SHA-512, MD5
open$termiva base64 --encodeBase64 Encoder and Decoder
Encode and decode, both ways
open