Datatypes › Romania › Personally identifiable information

Romanian personal numerical code (CNP)

Cod numeric personal (CNP)

ID ro_cnp

DatatypePersonal data (PII)identifierDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Cod numeric personal, the 13-digit personal identifier in Romania. It encodes the sex and century of birth, the date of birth (YYMMDD), the county of birth or registration, a serial number and a check digit.

Categories
Personally identifiable information, Person related
Countries
Romania
Languages
Romanian
W3C DPV
pd:OfficialID
Microsoft Purview
Romania personal numeric code (CNP), EU national identification number, EU Tax Identification Number (TIN), EU Tax identification number
python-stdnum
stdnum.ro.cnp
Quality
100/100
Metacrafter rules
no detection rule yet
Supported by tools
AWS Glue Sensitive Data Detection, Azure AI Language PII detection, Datadog Sensitive Data Scanner, DataPrep, Microsoft Purview Data Loss Prevention, python-stdnum, Snowflake sensitive data classification, validator.js

Regular expression

^[1-9]\d{12}$

Python re syntax.

Test a value

Examples

ValueDescription
1461014075258 Synthetic number with a valid check digit
6861202422810 Synthetic number with a valid check digit
14610140752587 invalid One character too many

Translations

LanguageNameDescription
RomanianCod numeric personal (CNP)

Sources

Use this record