UUID Generator
Generate random v4 or time-sortable v7 UUIDs, one at a time or in bulk.
GeneratorsWhat a UUID is for
A UUID is a 128-bit identifier built to be unique without a central authority assigning it. That is its whole purpose: two systems that never talk to each other can generate identifiers without risking a collision, which a counter cannot do.
v4 and v7: the difference that matters
Version 4 is entirely random. Version 7 puts the creation time first, so two UUIDs created at different moments sort themselves. The difference shows up in the database: used as a primary key, v4 scatters writes across the whole index and fragments it, while v7 concentrates them at the end, as a counter would. On large tables that is a measurable performance difference.
When v7 is the wrong choice
Precisely because it embeds the time, a v7 reveals when it was created. If the identifier is public and that moment is something you would rather not disclose — when a user signed up, when an order was placed — v4 remains the right pick.
Collisions
A v4 UUID has 122 random bits. The chance of generating the same one twice stays negligible even after billions of draws, provided the random source is good — which is why this tool uses the browser's cryptographic source rather than an ordinary random function.
Frequently asked questions
v7 if the identifier becomes a database key, because it does not fragment the index. v4 if the identifier is public and you do not want it revealing when it was created.
They use the browser's cryptographic random source, the same one used for security operations. They are never transmitted or stored anywhere.