UUID Generator

Online UUID generator for generating UUID values, suitable for unique identification and database records.

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

  1. UUID v1: Generated based on timestamp and node ID
  2. UUID v3: Generated based on MD5 hash of namespace and name
  3. UUID v4: Completely randomly generated
  4. UUID v5: Generated based on SHA-1 hash of namespace and name
  5. UUID v6: Improved version based on time ordering
  6. UUID v7: New version based on time, providing time ordering
  7. NIL UUID: Special UUID with all zeros

How to Use

  1. Version Selection:

    • Choose the required UUID version
    • Different versions are suitable for different scenarios
  2. Quantity Setting:

    • Use the input box to set the number of UUIDs to generate (1-100)
    • Default generates 5 UUIDs
  3. 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

  1. General Purpose:

    • Recommended to use v4 version
    • Completely random, most widely applicable
  2. Need for Time Correlation:

    • Can use v1/v6/v7 versions
    • Contains timestamp information
  3. Name-based Generation:

    • Use v3/v5 versions
    • Same input produces the same output