Romanian Personal Numerical Code (CNP)

Prev Next

Personal Identification Number (C.N.P.) is a unique 13-digit number assigned to each person born in Romania and Romanian residents.

Validator

Romanian Personal Numerical Code (CNP) — Validates the position weighted Mod 11 checksum with date of birth and country code.

Matched expressions

Regex expressions

Description

Score

\b[1-9][0-9]{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12][0-9]|3[01])(?:0[1-9]|[1-3][0-9]|4[0-6]|51|52)[0-9]{4}\b

Matches a 13-digit number without a delimiter, where:

  • Character 1: 1–9

  • Character 2–3: 0–9

  • Character 4–5: 01–12

  • Character 6–7: 01–31

  • Character 8–9: 01–46 or 51 or 52

  • Character 10–13: 0–9

1



Ignored expressions

None