CUID2 Generator
Generate collision-resistant CUID2 IDs.
CUID2 IDs
CUID2 (by Eric Elliott) generates collision-resistant IDs without sequential leakage. Good for distributed apps. The original CUID format leaked timestamp data, which is why CUID2 randomized the structure. URL-safe lowercase alphabet only.
About
CUID2 by Eric Elliott is a non-leaking, collision-resistant ID format. Lowercase URL-safe, no timestamp leakage, designed for distributed apps. Pick the length (default 24).
How to use
- Pick the length.
- Generate.
FAQ
Why CUID2 over UUID?+
CUID2 IDs don't leak creation time the way ObjectID and ULID do. Smaller URL-safe alphabet means shorter strings for the same uniqueness. Generally better for shared / public IDs.