What is a UUID Generator?
A UUID (Universally Unique Identifier) generator creates 128-bit identifiers using cryptographic randomness. Version 4 UUIDs have 122 random bits, making collisions virtually impossible. Widely used for database primary keys, session IDs, and distributed system identifiers.
Frequently Asked Questions
Are UUIDs truly unique?
Practically yes. The probability of collision is ~1 in 5.3 × 10³⁶.
What version is generated?
Version 4 (random), the most commonly used for general-purpose identification.
Can they be used as database keys?
Yes. Common in distributed databases, though they use more storage than integers.