UUID Generator

Bulk-generate UUID v4 from secure randomness, with a custom count, uppercase, no-hyphen and braces options, and one-click copy per item or all at once. Runs fully in your browser; nothing is uploaded.

Generation options
Results (click any row to copy it)

What is actually in those 128 bits

A UUID is 128 bits, written as 32 hex digits in five groups. A few bits are fixed: the version (4 bits) and the variant (2–3 bits). That leaves the amount of genuine randomness depending on which version you use.

VersionBuilt fromRandom bitsUse when
v1Timestamp plus MAC addressLowRarely — leaks the machine's MAC and the creation time
v3MD5 hash of a namespace and nameNone — deterministicYou need the same ID for the same input
v4Random122The default choice for identifiers
v5SHA-1 hash of a namespace and nameNone — deterministicLike v3, but with the stronger hash
v7Timestamp plus random74Sortable IDs — the timestamp prefix makes them index-friendly

How safe is a v4 UUID from collisions?

With 122 random bits there are about 5.3 × 10³⁶ possible values. You would need to generate roughly 2.7 × 10¹⁸ of them before a 50% chance of a single collision — billions per second for decades. For practical purposes, a v4 UUID is unique without any coordination between systems, which is precisely what makes it useful in distributed applications.

UUID versus an auto-increment integer

Version 7 exists to resolve exactly that tension: the timestamp prefix keeps UUID uniqueness while making the values roughly time-ordered, so they behave much better as primary keys.

Do not use a UUID as a secret

A UUID is an identifier, not a credential. Because it is 122 random bits from a non-cryptographic source in some implementations, and because identifiers are routinely logged, cached and shared, treating an unguessable-looking ID as an access token is a recurring security mistake. Authorise the request; do not rely on the ID being hard to guess.

Related tools

Random generator Hash generator Password generator

FAQ

Are UUID and GUID the same thing?
Essentially, yes. GUID (Globally Unique Identifier) is Microsoft's name for UUID; the two share the same format and meaning — 128 bits, usually written as 32 hexadecimal digits in 8-4-4-4-12 groups separated by 4 hyphens.
Can generated UUIDs collide?
UUID v4 has 122 random bits, so collisions are theoretically possible but the probability is so low it is negligible in practice — which is why UUIDs are widely used as database primary keys, request IDs and session IDs.
Is UUID v4 randomly generated?
Yes. Almost all of a UUID v4 is random. This tool uses the browser's cryptographically secure random source (crypto.getRandomValues) rather than an ordinary pseudo-random generator, which makes the results suitable as unpredictable identifiers.
Is my data uploaded when generating UUIDs?
No. UUIDs are generated entirely in your browser and nothing is ever sent to a server.