UUID Structure
A standard UUID looks like this: 550e8400-e29b-41d4-a716-446655440000. It consists of 32 hexadecimal digits displayed in 5 groups separated by hyphens (8-4-4-4-12).
Why Use UUIDs?
Common Use Cases
Technical Details
Size and Format
- 128 bits (16 bytes) total length
- 32 hexadecimal characters
- 36 characters with hyphens
- Standard format per RFC 4122
Collision Probability
With UUID v4, you would need to generate approximately 2.71 × 1018 UUIDs to have a 50% chance of one collision. That's equivalent to generating 1 billion UUIDs per second for about 85 years.
Compatibility
UUIDs are natively supported in most modern databases (PostgreSQL, MySQL 8.0+, SQL Server, Oracle) and programming languages (Java, Python, JavaScript, PHP, C#, Go, Rust).