UUID Generator

Generate and copy various unique identifiers (UUIDs).

ID Generation Settings
Select the format and options for IDs to generate
Generated IDs
Random
List of generated IDs. Click to copy.
ID Format Details

RFC 4122 UUID Standard

UUID v1: Timestamp + MAC Address
Time ordering guaranteed, machine identifiable
UUID v3: Namespace + Name + MD5
Deterministic, same input produces same result
UUID v4: Completely Random
Most common, 122-bit random
UUID v5: Namespace + Name + SHA-1
More secure hash than v3
UUID v6: Time-sortable v1
DB index optimization
UUID v7: Timestamp + Random
Latest standard, sortable

Alternative ID Formats

NanoID: URL-safe ID
Variable length, custom character set
CUID2: Collision-resistant ID
Distributed environment safe, variable length
ULID: Sortable ID
26 characters, Base32 encoded
KSUID: K-sortable ID
Time sorted, Base62 encoded
Snowflake: Distributed System ID
Developed by Twitter, 64-bit integer

Usage Recommendations

  • General purpose: UUID v4, UUID v7
  • Database primary keys: UUID v7, ULID, KSUID
  • For URLs: NanoID, CUID2
  • Deterministic generation: UUID v3, UUID v5
  • Distributed systems: Snowflake, KSUID
  • Time ordering important: UUID v6, UUID v7, ULID