Generador UUID

Generar identificadores únicos (UUID) v1 (basado en marca de tiempo) y v4 (basado en aleatorio).

Opciones
UUIDs generados 1 UUID(s)
bfa85a47-93e6-44b9-99e1-aae7a48c2373
Acerca de las versiones UUID
UUID v1 Basado en marcas de tiempo. Contiene dirección MAC y marca de tiempo. Se puede ordenar por tiempo de creación.
UUID v4 Basado en aleatoriedad. El más usado. 122 bits de aleatoriedad.
What is a UUID?

A UUID (Universally Unique Identifier), also known as GUID (Globally Unique Identifier), is a 128-bit identifier that is unique across space and time. The standard representation is 32 hexadecimal digits displayed in five groups separated by hyphens (e.g., 550e8400-e29b-41d4-a716-446655440000).

UUID Versions

There are several UUID versions with different generation methods. UUID v1 uses timestamp and MAC address. UUID v4 uses random numbers and is most commonly used. UUID v3 and v5 use namespace and name hashing. Each version has specific use cases based on uniqueness requirements and privacy considerations.

Analizador Cron
  • Database primary keys in distributed systems
  • Session identifiers and tokens
  • File and resource naming
  • Tracking and correlation IDs in microservices
  • Unique identifiers in APIs
UUID Version Comparison
v1 Time-based: Uses timestamp + MAC address. Sortable but reveals creation time and machine.
v4 Random: Uses random numbers. Most common choice for general use. No information leakage.
Frequently Asked Questions

Are UUIDs truly unique?

While collisions are theoretically possible, the probability is astronomically low (1 in 2^122 for v4). You would need to generate 1 billion UUIDs per second for 85 years to have a 50% chance of collision.

Should I use UUID v1 or v4?

Use v4 for most cases as it doesn't reveal any information. Use v1 if you need time-sortable IDs and don't mind exposing creation timestamps.