CPF Generator and Validator

Generate CPF:
Only Numbers
Generate Date of Birth:
Generate valid CPF numbers with date of birth, both fictitious, for software testing purposes. Validate CPF by analyzing its verifying digits. This tool is intended for software developers and testers with the purpose of randomly generating fake CPF numbers, so that they can be used in system tests or demo presentations, avoiding the use and display of any real CPF number.

According to the CPF algorithm, its validation process consists of the calculation base of its last two digits, known as verifying digits, which indicate the authenticity of the other digits that make up the CPF number. Therefore, when a number is declared valid by this validator, it means that it is in compliance with the result expected by the CPF algorithm. However, it does not suggest the existence or regular cadastral situation. To check this, please visit the official website of the Federal Revenue of Brazil at this link, fill in the CPF and the date of birth of the holder and click on the 'Consultar' button to check the CPF registration status. You can also consult the types of registration status of the CPF at this link.

Regarding the generation of the date of birth, you can choose to generate a date according to one of the following age ranges:

  • Child: 0 to 12 years;
  • Teen: 13 to 19 years;
  • Adult: 18 to 65 years;
  • Senior: 65 to 100 years;
  • All: 0 to 100 years.

* CPF is an 11-digit document which is used to identify individual taxpayers in Brazil, see more about CPF in Meu CPF (My CPF) or on the Wikipedia website at Cadastro de Pessoas Físicas.
* This tool has no connection with the Federal Revenue of Brazil. The misuse of the information obtained here is the sole responsibility of the user.

* All processing of this tool is done in your browser
See also