UUID Generator

Generate various versions of UUIDs, support batch generation, format conversion and validation

Generate Options

Generate Results (0)

暂无生成结果,请先生成UUID

About UUID

What is UUID?

UUID (Universally Unique Identifier) is a 128-bit identifier used to uniquely identify information in distributed systems. It consists of 32 hexadecimal digits, typically separated by hyphens in 8-4-4-4-12 format.

Use Cases

  • Database primary keys and unique identifiers
  • API request IDs and session identifiers
  • File system identifiers
  • Node identifiers in distributed systems
  • Test data generation
  • Frontend component key properties

UUID Version Differences

Version 1 (Time-based)Generated based on timestamp and MAC address, contains time information, suitable for scenarios requiring time sorting. But may expose MAC address information.
Version 4 (Random)Completely randomly generated, the most commonly used version. Simple and fast generation, extremely low collision probability, suitable for most application scenarios.
Version 5 (Namespace-based)Generated based on namespace and name, the same namespace and name always generate the same UUID. Suitable for scenarios requiring deterministic UUID generation based on URL or domain name.
Version 7 (New Time-based)2022 new standard, generated based on timestamp, provides better time precision and backward compatibility. Suitable for scenarios requiring time information but not wanting to expose MAC address.