UUID & ID Generator

Server-side unique identifiers using cryptographic randomness. One click to copy.

UUID v4

········-····-····-····-············

Random, 122 bits of entropy

UUID v7

········-····-····-····-············

Timestamp + random, monotonic, sortable

ULID

··························

Timestamp + random, Crockford Base32

Nano ID

·····················

URL-safe, 21 chars, 126 bits

About these formats
UUID v4
UUID v4 is a 128-bit identifier generated from 122 bits of cryptographically secure randomness. Defined in RFC 9562, it is the most widely used UUID version. Ideal when you need a unique identifier with no embedded metadata.
UUID v7
UUID v7 encodes a Unix timestamp in its first 48 bits, followed by random data. This makes it lexicographically sortable by creation time — perfect for database primary keys, as it preserves insertion order and improves index locality.
ULID
ULID (Universally Unique Lexicographically Sortable Identifier) combines a 48-bit millisecond timestamp with 80 bits of randomness, encoded in Crockford Base32. At 26 characters, it is shorter than a UUID and case-insensitive.
Nano ID
Nano ID is a compact, URL-safe identifier using a 64-character alphabet (A-Z, a-z, 0-9, _ and -). At 21 characters it provides 126 bits of entropy — comparable to UUID v4 — in a shorter, URL-friendly format.