A version 4 UUID is 122 random bits formatted as 36 characters, giving effectively zero chance of collision without any central coordination. That is why they are used for database keys, correlation ids, and file names. This generator uses the browser’s cryptographic random source and can produce up to 500 at a time.
Negligible. You would need to generate about 2.7 × 10¹⁸ UUIDs to reach a one-in-a-billion chance of a single duplicate — more than any practical system will ever create.
None, functionally. GUID is Microsoft’s name for the same 128-bit identifier, conventionally written in braces. The bytes are identical.
It depends. UUIDs avoid coordination between services but harm index locality in B-tree databases because inserts land randomly. UUID v7, which is time-ordered, exists specifically to solve that.
Yes. They come from crypto.randomUUID, backed by the platform’s CSPRNG, not from Math.random.
All free tools · Blog · About · Contact