CNP Validator
Check the structure, date of birth, county, and check digit.
OpenFast and Anonymous Validation
Check Romanian personal identification numbers online: validate a CNP, verify its check digit, and identify the encoded date of birth, sex, and county.
You can also use the CNP generator for software testing, forms, applications, QA, and technical documentation.
Check Romanian personal identification numbers online: validate a CNP, verify its check digit, and identify the encoded date of birth, sex, and county.
You can also use the CNP generator for software testing, forms, applications, QA, and technical documentation.
Main Tools
Fast tools for validation, generating test values, and identifying the encoded region.
Check the structure, date of birth, county, and check digit.
OpenAnalyze multiple numbers simultaneously for QA and internal audits.
OpenCreate valid CNP values for forms, demos, and testing.
OpenIdentify the county or Bucharest sector from positions 7 and 8.
OpenA CNP, or Personal Identification Number, is Romania’s primary system for identifying individuals. Every Romanian citizen receives a unique CNP, which is used in dealings with public institutions, hospitals, banks, employers, and the tax system.
Although many people see it as merely a string of digits on an identity card, its structure contains several important pieces of information about the individual.
CNP stands for “Personal Identification Number.” The number contains 13 digits and is assigned to one person only. No two people have the same CNP.
Example CNP:
1980605123457
Each digit or group of digits has a clearly defined purpose.
The general format is:
S YY MM DD JJ NNN C
The first digit indicates the person’s sex and the century in which they were born.
| Digit | Meaning |
|---|---|
| 1 | male born between 1900 and 1999 |
| 2 | female born between 1900 and 1999 |
| 3 | male born between 1800 and 1899 |
| 4 | female born between 1800 and 1899 |
| 5 | male born between 2000 and 2099 |
| 6 | female born between 2000 and 2099 |
| Digit | Meaning |
|---|---|
| 7 | male foreign resident |
| 8 | female foreign resident |
The next six digits represent the date of birth:
YY MM DD
Example:
1980605
The person is therefore a man born on June 5, 1998.
Two digits indicate the county where the birth was registered.
| Code | County |
|---|---|
| 01 | Alba |
| 02 | Arad |
| 10 | Buzău |
| 22 | Hunedoara |
| 29 | Neamț |
| 40 | Bucharest |
| 52 | Giurgiu |
| 99 | special cases |
This code is widely used by CNP validation systems.
The NNN group is a sequential number assigned on the relevant day.
It has no precise public meaning for ordinary users, but it helps distinguish people born on the same day in the same county.
The final digit of a CNP is used for validation.
It is calculated mathematically using the first 12 digits and a special constant:
279146358279
Its purpose is to detect typing errors and invalid CNPs. This is why a randomly invented CNP will often be invalid.
Example:
1960522401234
In Romania, the CNP is used almost everywhere:
Without a CNP, it is difficult to access most administrative services.
Not always.
Because a CNP contains real personal information, it must be treated as sensitive data. Publishing it online or sending it to unknown sources can create security risks and lead to identity fraud.
For this reason, many websites partially hide CNPs in public documents.
A CNP validator checks:
A CNP may look correct at first glance while still being mathematically invalid.
CNP generators are generally used for:
They must not be used for fraud or identity forgery.
A CNP is considered sensitive personal data under the GDPR. Companies and institutions must have a clear reason for collecting it and are required to protect it.
Misuse of CNPs may lead to penalties and legal consequences.
The CNP is one of the most important components of Romania’s administrative system. Its 13 digits are not chosen at random; they contain information about sex, date of birth, county, and the mathematical validation of the identity number.
Understanding how a CNP works is useful both for ordinary users and for developers, companies, and information systems that process personal data in Romania.