CUID v1 validator
Check for a leading “c” followed by 24 lowercase letters or digits.
Format validation does not prove origin, uniqueness, or access rights.
IDs are sent to our server for validation. Do not submit confidential values.
Implementation details
Uses site format rule checked against cuid@3.0.0.
Example and common errors
cjld2cjxh0000qzrmn831i7rn matches the format. Uppercase letters, hyphens, internal spaces, or a length other than 25 fail. Spaces before and after the input are trimmed.
A 25-character CUID2 beginning with c can match too. Use your application's schema to distinguish formats.