Online CUID generator

Your generated CUID

Generating…

Original CUID for compatibility with existing applications. Generate in bulk and export TXT, JSON, or CSV.

Bulk CUID generator

Generate 1–1000 IDs. Choose original CUID for compatibility or CUID2 for a new application, then copy or download your batch as TXT, JSON, or CSV.

Min 1, max 1000

CUID vs CUID2

Both formats generate collision-resistant IDs without a central coordinator. They have different structures and are not interchangeable.

Original CUID: compatibility and readable time

Original CUID includes a timestamp, counter, host fingerprint, and random data. Its author has deprecated it because the timestamp and fingerprint can expose information. This generator remains available for existing systems that require the original format.

Validate a CUID or extract its timestamp. See the original CUID documentation for the format and deprecation notice.

CUID2: hashed inputs, no readable timestamp

CUID2 hashes its inputs and produces lowercase alphanumeric IDs beginning with a letter. The default length used here is 24 characters. CUID2 is not time-sortable, and its creation time cannot be decoded from the ID.

import { createId } from "@paralleldrive/cuid2";

const id = createId();

Use the CUID2 generator and consult the official CUID2 documentation for configuration. If time ordering is a requirement, compare UUID v7.

CUID is a collision-resistant identifier format for distributed applications. The original CUID combines a leading c, a timestamp, a counter, a host fingerprint, and random data. This tool uses the original cuid library for compatibility with existing applications.

The original CUID library is deprecated by its author because its embedded timestamp and fingerprint can reveal information. Keep CUID when you need compatibility with an existing system. For new applications, consider CUID2, which hashes its inputs and does not expose a decodable timestamp.

Yes. Original CUIDs embed a base-36 timestamp measured in milliseconds since the Unix epoch. This does not apply to CUID2: its timestamp is an input to a hash and cannot be decoded from the ID.

Choose CUID or CUID2, enter a whole number from 1 to 1000, and select Generate. Copy the entire batch or download it as plain text, a JSON array, or a CSV file with an id column.

No. Collision resistance is not a guarantee of uniqueness. Risk depends on the generator, generation volume, and environment. Use a unique constraint in your database and handle a collision if one occurs.

CUID and UUID are different formats. A UUID is 128 bits and usually displayed as 36 characters with hyphens. UUID versions differ: v4 is random, while v7 includes a timestamp. Original CUID is an alphanumeric string with its own timestamp, counter, fingerprint, and random fields.