Skip to main content

ID generators

Mint public record IDs in this browser. NanoID is a short random string from an alphabet you set. ULID is 26 Crockford characters that sort by time.

2 tools

NanoID or ULID

Use NanoID when you want a compact URL-friendly id and you will enforce uniqueness in storage. Default length is 21. Use ULID when lexicographic order should follow creation time. A ULID is not a UUID. Collision risk for NanoID depends on length and alphabet size.

UUIDs stay on the UUID page

RFC 4122 and RFC 9562 UUIDs, including time-ordered version 7, are generated under UUID. That layout is 128-bit hex, not Crockford base32 and not a 21-character NanoID. A UUID is an identifier. A password is a secret. Do not mix those jobs.