UUID Generator
UUID (Universally Unique Identifier) is a standardized identifier format used to generate unique identifiers in distributed systems. It is a 128-bit number, typically represented as 32 hexadecimal digits, separated into 5 groups by hyphens.
UUID Version Descriptions
- UUID v1: Generated based on timestamp and node ID
- UUID v3: Generated based on MD5 hash of namespace and name
- UUID v4: Completely randomly generated
- UUID v5: Generated based on SHA-1 hash of namespace and name
- UUID v6: Improved version based on time ordering
- UUID v7: New version based on time, providing time ordering
- NIL UUID: Special UUID with all zeros
How to Use
-
Version Selection:
- Choose the required UUID version
- Different versions are suitable for different scenarios
-
Quantity Setting:
- Use the input box to set the number of UUIDs to generate (1-100)
- Default generates 5 UUIDs
-
Namespace Setting (v3/v5 only):
- Choose a predefined namespace (DNS/URL/OID/X500)
- Enter a name for generation
Use Cases
- Database primary keys
- Unique identifiers in distributed systems
- Unique naming for files or resources
- Session IDs
- Transaction record identifiers
Technical Features
- Generation process is completed locally in the browser
- Supports all standard UUID versions
- Ensures global uniqueness
- Supports batch generation
Usage Recommendations
-
General Purpose:
- Recommended to use v4 version
- Completely random, most widely applicable
-
Need for Time Correlation:
- Can use v1/v6/v7 versions
- Contains timestamp information
-
Name-based Generation:
- Use v3/v5 versions
- Same input produces the same output