/
UUID/ID Generator

UUID/ID Generator

Generate UUIDs, ULIDs, nanoids, and other unique identifiers with various formats.

Standard Formats

UUID v4

Random 128-bit identifier

550e8400-e29b-41d4-a716-446655440000
UUID v7

Time-based, sortable UUID

01890a5d-ac96-774b-b5ff-b4a9ef1a8c45
ULID

Lexicographically sortable

01ARZ3NDEKTSV4RRFFQ69G5FAV

Modern Formats

nanoid

URL-safe, compact (21 chars)

V1StGXR8_Z5jdHi6B-myT
CUID

Collision-resistant

cl9ebqhxs00c0l4gb9e93p
Short ID

Compact 8-character ID

KjXTPq9A

Use Cases & Recommendations

Database Primary Keys
  • • UUID v4 - Most databases, random
  • • UUID v7 - Better performance, sortable
  • • ULID - MongoDB, time-sorted
Web Applications
  • • nanoid - URLs, tokens, session IDs
  • • Short ID - User-facing IDs
  • • CUID - Client-generated IDs
Security Note:
All IDs are generated client-side using cryptographically secure random sources. UUID v4 uses crypto.randomUUID() when available.