UUID v4 random
click to copy
RFC 4122 compliant. 122 bits of randomness. Format: xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx
UUID v7 time-ordered
click to copy
Time-sortable. First 48 bits = Unix millisecond timestamp. Great for database primary keys.
ULID sortable + compact
click to copy
Crockford's Base32. 48-bit timestamp + 80-bit randomness. Lexicographically sortable. 26 chars.
Nano ID compact
click to copy
URL-friendly unique ID. Configurable size and alphabet. ~1.2M years for 1% collision chance at 1k IDs/sec (21 chars).