CPF Validator
Check one or hundreds of Brazilian CPF numbers at once, with the reason each one fails.
CPFs to check
With or without dots and dash. Commas and semicolons also separate entries. Up to 1000 per check.
Results
Paste a CPF to check it as you type.
Validation runs entirely in your browser. No CPF is sent or stored. A valid result means the number is well formed, not that it is registered or active at the Receita Federal.
Frequently asked questions
How do I know if a CPF is valid?
A CPF is valid when its last two digits match the check digits computed from the first nine. Multiply the first 9 digits by 10 down to 2, sum, and take the remainder of dividing by 11: a remainder of 0 or 1 gives 0, anything else gives 11 minus the remainder. Repeat over the first 10 digits with weights 11 down to 2 for the second digit.
Does a valid CPF mean the person exists?
No. Check digit validation only proves the number is well formed. Whether it is registered, and its status (regular, suspended, cancelled), can only be checked on the Receita Federal website, which requires the holder's date of birth.
Why is 111.111.111-11 rejected?
All eleven sequences of a single repeated digit, from 000.000.000-00 to 999.999.999-99, pass the check digit math by coincidence. The Receita Federal never issues them, so every serious validator rejects them.
Which state issued a CPF?
The 9th digit is the fiscal region: 0 RS; 1 DF, GO, MS, MT, TO; 2 AC, AM, AP, PA, RO, RR; 3 CE, MA, PI; 4 AL, PB, PE, RN; 5 BA, SE; 6 MG; 7 ES, RJ; 8 SP; 9 PR, SC. It shows where the CPF was registered, which may differ from where the person lives now.
Is it legal to validate CPFs?
Yes. Checking the format of a number is harmless and is what every Brazilian form does. Just remember a CPF is personal data under the LGPD, so avoid pasting real customer lists into online tools that send data to a server. This one does not.