GUID Generator for Random Version 4 UUIDs

Generate one or many random UUID v4 identifiers instantly.

Frequently asked questions

What version of UUID does this generate?

Version 4 (random), generated using the browser's cryptographically secure random number generator.

How many UUIDs can I generate at once?

Up to 50 at a time, one per line, ready to copy.

Are the generated UUIDs guaranteed to be unique?

No generator can promise that, but a version 4 UUID contains 122 random bits, so an accidental repeat is extraordinarily unlikely. If a duplicate would cause harm, also add a unique constraint in your database.

Is a UUID the same as a GUID?

In practice, yes. GUID is the name Microsoft tools use for the same 128-bit identifier format, so a v4 UUID from this page can be used wherever a GUID is expected.

Can I get UUIDs without hyphens or in uppercase?

Not from this tool, which only produces the standard lowercase form with hyphens. Remove the hyphens or change the case in your editor or code after copying.

Is a random UUID a good primary key?

Many systems use them that way, and they can be created without asking the database. Because they are random rather than sequential, they can make inserts into very large indexed tables slower than sequential IDs.