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.
56368e2a-5a99-4c3a-8f56-d551eee76fdd
5f3b9cb5-12dc-4c22-9847-4e0ce0624a79
0edda839-c473-493f-96a1-4b43d8b49491
04a0f84d-3577-4aa0-b399-29f73d6ae34f
350cec6d-0b8c-4ee2-a3e1-bdb0f32f951f
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
    UUID Generator