cpf-generator

The CPF (Cadastro de Pessoas Físicas) is an essential document for Brazilian citizens. This generator creates valid CPF numbers that follow the official algorithm but don't belong to real people.

Our CPF generator is ideal for:

  • Developers testing systems that require valid CPFs
  • Designers creating interface mockups
  • Software testing and form validation

It's important to emphasize that the use of generated CPFs should be exclusively for testing and development purposes. Misuse of CPF numbers may constitute a crime.

How does the CPF algorithm work?

The CPF consists of 11 digits, with the last two being verification digits. The validation algorithm follows these steps:

  1. Multiply the first 9 digits by the decreasing sequence from 10 to 2
  2. Sum the results
  3. Divide the result by 11
  4. If the remainder is less than 2, the first verification digit is 0, otherwise, subtract the remainder from 11
  5. The process is repeated including the first verification digit to obtain the second

Did you know?

The CPF was created in 1965 and became mandatory for income tax declaration in Brazil in 1968.