What is a CUID?

A CUID, or collision-resistant unique identifier, is a string format designed to be compact and extremely unlikely to collide across distributed systems. It is commonly used when you want something shorter than a UUID but still suitable for unique records.

CUID2 is a newer generation of the same idea. It keeps the collision resistance goal while allowing more control over the identifier length and fingerprinting behavior.

Tool description

This tool generates classic CUIDs or CUID2 identifiers in the browser. You can choose the mode, set how many IDs to generate, and adjust CUID2 length and fingerprint options.

It is useful for testing databases, seeds, fixtures, or any workflow that needs many unique-looking identifiers at once.

Examples

  • A single default CUID2 value
  • A classic CUID for legacy systems
  • A bulk batch of generated IDs for test data

Features

  • Switch between CUID and CUID2 generation modes
  • Generate up to 1000 identifiers at once
  • Download the generated output as plain text

Options explained

Quantity controls how many IDs are produced. In CUID2 mode, length controls the output size and fingerprint adds extra entropy tied to the current environment.

In classic CUID mode, the identifier format is fixed and those CUID2-specific options are ignored.