
Restaurant, travel, rentals…
Organize group expenses with the agility of a spreadsheet.
A CPF number is the Brazilian individual taxpayer number. CPF stands for Cadastro de Pessoas Físicas, the registry of individuals kept by the Receita Federal, Brazil's federal revenue service, which issues the numbers. It has 11 digits, written 000.000.000-00, and the last two are check digits. In Brazil you are asked for it almost everywhere: opening a bank account, getting a phone plan, shopping online, and at the checkout so it goes on the electronic invoice (nota fiscal).
A CPF is written as 000.000.000-00: eleven digits in three groups of three separated by dots, then a dash and the last two. The first nine digits are the base number (the ninth also marks the fiscal region) and the last two are the check digits.
Take 481.683.895-30, the number worked through below: 481.683.895 holds the nine base digits (5, the last one, is the fiscal region digit) and 30, after the dash, are the two check digits.
Forms and APIs usually accept it either way: with the dots and dash (481.683.895-30) or as 11 digits only (48168389530). How the check digits work
No. The numbers on this site are drawn at random and only follow the check-digit rule, so they pass the format check of a form. They never come from real records. Use them in test forms, staging and QA, and never as identification or in a real transaction. A real CPF is issued by the Receita Federal, and Brazilians and foreigners alike apply for it there.
Here is the check on 481.683.895-30, a number this generator produced. Its base is the first nine digits.
First check digit: multiply the nine base digits by the weights 10 down to 2, add the results and divide the sum by 11.
4×10 + 8×9 + 1×8 + 6×7 + 8×6 + 3×5 + 8×4 + 9×3 + 5×2 = 294
294 mod 11 = 8
11 − 8 = 3Second check digit: add the first check digit to the end of the base, multiply those ten digits by the weights 11 down to 2 and divide by 11 again.
4×11 + 8×10 + 1×9 + 6×8 + 8×7 + 3×6 + 8×5 + 9×4 + 5×3 + 3×2 = 352
352 mod 11 = 0
0 < 2 → 0The rule is the same for both: if the remainder is less than 2, the check digit is 0; otherwise it is 11 minus the remainder. That gives 3 and 0, the last two digits of 481.683.895-30, so the number passes.
A passing check only means the number is well formed. It does not mean the CPF was issued or belongs to anyone, and this site never looks up real records.
Numbers made of one repeated digit, such as 111.111.111-11, pass the math too, but real validators reject them. This generator never outputs them.
The ninth CPF digit is traditionally associated with a Brazilian fiscal region. This generator lets you keep that digit random or lock it to a specific region when you need localized test data.
This tool calculates both verifier digits with the modulo 11 checksum rules used in CPF validation. It also avoids generating the well-known repeated-digit sequences that many systems reject immediately.
Use the mask option when you need punctuation in the standard 000.000.000-00 format, or disable it when an API expects digits only. Increase the amount field to create bulk samples for QA, demos, and automated tests.

We got more utilities for you...
Select several utilities and put them in a dashboard.