UUID Generator
Generate unique identifiers (UUID/GUID)
About UUID/GUID
A UUID (Universally Unique Identifier) or GUID (Globally Unique Identifier) is a 128-bit number used to uniquely identify information in computer systems. The probability of generating duplicate UUIDs is practically zero, making them perfect for distributed systems.
UUID Versions
- Version 1: Time-based, includes timestamp and MAC address. Predictable but unique.
- Version 4: Random-based, most commonly used. Completely random with no traceable information.
Format
Standard UUID format: xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx
Example: 550e8400-e29b-41d4-a716-446655440000
Common Uses
- Database primary keys and unique identifiers
- Session IDs and tokens
- File naming and versioning
- Distributed system coordination
- API request tracking
- Resource identification in microservices
Advantages
- No central authority needed for generation
- Can be generated offline
- Practically impossible to have collisions
- Standardized across platforms
- Perfect for distributed systems