CPF and CNPJ validator
Check whether a CPF or CNPJ is valid and compare the details it holds with what the applicant declared.
ID number result 390.533.447-05
The number is well built and its check digit matches, but this does not prove it belongs to the applicant.
| Check | Result |
|---|---|
| Length and characters | Pass |
| Number layout | Pass |
| Check digit | Pass |
| Detail | In number | Declared | Result |
|---|---|---|---|
| Date of birth | – | – | Not held in number |
| Sex | – | – | Not held in number |
| Region | ES, RJ (7) | ES | Matches |
| Country | – |
|---|---|
| Usual form | – |
| Number kind | – |
Check a list of ID numbers
Up to 100 numbers for the selected country and ID number
| ID number | Result | Date of birth | Sex | Region | Declared details |
|---|
Numbers this tool checks
Many national ID numbers contain a date of birth, sex or region, plus a check digit that can catch a mistyped digit. The table shows which details each number holds.
| Country | ID number | Check digit | Date of birth | Sex | Region |
|---|---|---|---|---|---|
| Brazil | CPF | ✓ | – | – | ✓ |
| Brazil | CNPJ | ✓ | – | – | – |
| Chile | RUT / RUN | ✓ | – | – | – |
| China | 居民身份证 | ✓ | ✓ | ✓ | ✓ |
| Czechia | Rodné číslo | ✓ | ✓ | ✓ | – |
| France | NIR | ✓ | ✓ | ✓ | ✓ |
| India | Aadhaar | ✓ | – | – | – |
| Indonesia | NIK | – | ✓ | ✓ | ✓ |
| Italy | Codice fiscale | ✓ | ✓ | ✓ | ✓ |
| Mexico | CURP | ✓ | ✓ | ✓ | ✓ |
| Mexico | RFC | ✓ | ✓ | – | – |
| Poland | PESEL | ✓ | ✓ | ✓ | – |
| Romania | CNP | ✓ | ✓ | ✓ | ✓ |
| Singapore | NRIC / FIN | ✓ | – | – | – |
| Spain | DNI / NIE / NIF | ✓ | – | – | – |
Run these checks on every application in your onboarding or credit decision flow. Start your trial
How CPF and CNPJ check digits work
A CPF has eleven digits and identifies an individual taxpayer, with its final two digits serving as check digits calculated from earlier digits using mod 11. A CNPJ has fourteen characters, with the company identified by the first eight and its establishment by the next four. Its final two characters are mod 11 check digits.
Compare any date of birth, sex or region shown by the number with the applicant’s form. A difference is a reason to follow up with the applicant. A valid result does not show that the number was issued, remains in use or belongs to the applicant.
CPF and CNPJ questions
How can I check whether a CPF is valid?
The tool checks the CPF’s structure and check digits and shows whether it is valid. That result does not show that the CPF was issued or belongs to the applicant.
What does the ninth digit of a CPF mean?
The ninth digit identifies the fiscal region that issued the CPF, a group of states. A CPF does not contain the holder’s date of birth or sex.
How do I check the CNPJ check digit?
The CNPJ’s final two characters are check digits calculated using mod 11. The tool checks those digits along with the number’s format.
Does a CPF contain the holder’s date of birth?
No. A CPF does not contain the holder’s date of birth or sex. It does contain a fiscal-region code.
Does a valid CPF belong to the applicant?
A valid result means the CPF passed the checks shown by the tool. Only the issuing registry can confirm whether it was issued or belongs to the applicant.