πŸ†”

UUID Generator

UUID v4 (random) and v7 (time-ordered) with crypto.randomUUID
UUID generati

    

What is a UUID

A UUID (Universally Unique Identifier) is a 128-bit string used as a unique identifier in computer systems. Version 4 is fully random, while v7 embeds a Unix timestamp making them sortable. They're widely used as database primary keys, session tokens, resource IDs in REST APIs, and generally anywhere a unique ID is needed without central coordination.

Difference between UUID v4 and v7

  • v4: 122 random bits β€” maximum entropy, not sortable
  • v7: 48-bit timestamp + 74 random bits β€” time-sortable, ideal for DB indexes

UUID v4 example

550e8400-e29b-41d4-a716-446655440000 β€” 32 hex digits in 5 groups separated by hyphens (8-4-4-4-12). Our UUIDs use the browser's crypto.randomUUID(), cryptographically secure.

Frequently asked questions

Is a UUID safe to use as a password?

No, UUIDs are not meant to be passwords. They are unique identifiers, not secrets. For passwords use our dedicated password generator.

How unique is a v4 UUID?

A v4 UUID has 122 bits of entropy. The probability of collision between two randomly generated UUIDs is practically zero up to billions of UUIDs generated.