How to use CPF generator
- 01Choose the optionsRegion, punctuation, how many.
- 02GenerateValid test numbers.
- 03CopyOne or all of them.

Random, but with real check digits.
Each number is random, and its two check digits are worked out with the Receita Federal’s module 11 rule, so validation code accepts it. Pick a fiscal region and how many you need.
Developers and testers need CPF numbers that pass validation to try out sign-up forms, checkouts and databases, without using anyone’s real CPF. This generator makes random CPFs whose two check digits are worked out with the Receita Federal’s module 11 rule, so any correct validator accepts them.
Options
- With punctuation: 000.000.000-00, or 11 plain digits.
- How many: 1 to 50 numbers at once. Tap one to copy it, or copy them all, one per line.
- Fiscal region: the 9th digit shows where a CPF was first issued, such as 8 for São Paulo or 7 for Rio de Janeiro and Espírito Santo. Leave it on Any for a random region.
How the check digits are calculated
- Multiply the first 9 digits by 10, 9, 8 … 2 and add the results.
- Divide the total by 11. If the remainder is 0 or 1, the first check digit is 0; otherwise it is 11 minus the remainder.
- Repeat with the first 10 digits, now including the first check digit, multiplied by 11, 10 … 2, to get the second check digit.
Use them only for testing
The numbers are random, so one may happen to belong to a real person. Use them only in test systems, never to sign up for a real service, make a purchase or identify yourself. Using a CPF that isn’t yours can be a crime in Brazil.
At a glance
- Price
- Free. No sign-up, no watermark.
- Privacy
- Your text stays in your browser. Nothing is uploaded.
- Works in
- Chrome, Edge, Firefox and Safari, on phones and computers
Questions
Are these real people’s CPFs?
They are random numbers with valid check digits. One may happen to match a real CPF, so use them only to test software, never as an identity.
What does the region mean?
The ninth digit of a CPF shows the fiscal region where it was first issued, such as 8 for São Paulo. You can fix it or leave it random.
Is anything sent to a server?
No. Numbers are generated in your browser.
Will a generated CPF pass a Receita Federal lookup?
No. It only passes the arithmetic check. A real lookup checks the official register, and a random number almost certainly isn’t registered to the name you type.
Why are numbers like 000.000.000-00 never generated?
Numbers with all digits the same pass the arithmetic but are never issued, and most validators reject them, so the generator skips them.
Can I validate a CPF here too?
Yes. Open the Validate tab, or use our CPF validator page.