CPF generator

CPF State

Generated CPF

Action

Status

83693387125

Not copied

61776357418

Not copied

29280911570

Not copied

Need to validate an existing CPF?

Validate CPF

Validating a CPF in a form or extracting it from a log?See the CPF regex

How to use the CPF Generator?

1

Configure Generation

Set the quantity of CPFs (up to 100) and select the state of origin to define the fiscal region on the 9th digit.

2

Set Punctuation

Check 'Generate with Punctuation' to include dots and hyphen (000.000.000-00) or leave unchecked for numbers only.

3

Generate CPFs

Click 'Generate CPF' to instantly create valid numbers calculated using the official Modulo 11 algorithm.

4

Copy Results

Copy any individual CPF with a single click, copy all at once, or download the full list as a TXT file.

Features of the CPF Generator

Origin by State

Generate CPFs associated with a specific Brazilian state or fiscal region via the 9th digit, or choose the random option.

Batch Generation

Generate from 1 to 100 CPF numbers simultaneously to quickly populate forms and test databases.

With or Without Punctuation

Easily switch between masked format (000.000.000-00) and raw numeric digits according to your system requirements.

1-Click Copy & Download

Copy individual CPFs with a single click, copy the entire list, or download all generated results in a TXT file.

What is CPF?

The CPF (Cadastro de Pessoa Física) is a personal identification number used by the Brazilian government to recognize citizens and foreign residents in Brazil. Composed of 11 digits, it is essential for various activities such as opening bank accounts, making purchases, hiring services, and other processes that require identification.

CPF Structure and Validation

The CPF is structured as follows: the first nine digits are arranged into three groups of three numbers, separated by periods, followed by a hyphen and the last two digits, which are known as check digits (DV).

For example, the number 12345678909 is presented as 123.456.789-09.

Important Rules:

  • The first nine digits of the CPF cannot all be the same.
  • The two check digits must follow a specific formation rule.

How to Determine the State of Issuance of a CPF

The Brazilian state where a CPF was issued can be identified by the last digit before the two check digits.

Reference Table of Numbers for Each State:
Reference Table of Numbers for Each State:
1: Federal District, Goiás, Mato Grosso do Sul, and Tocantins
2: Acre, Amapá, Amazonas, Pará, Rondônia, and Roraima
3: Ceará, Maranhão, and Piauí
4: Alagoas, Paraíba, Pernambuco, and Rio Grande do Norte
5: Bahia and Sergipe
6: Minas Gerais
7: Espírito Santo, Rio de Janeiro
8: São Paulo
9: Paraná and Santa Catarina
0: Rio Grande do Sul

Practical Example:

Consider the fictitious CPF 987.654.321-98. The last digit before the check digits (1) indicates that this CPF was issued in one of the following states: Federal District, Goiás, Mato Grosso do Sul, or Tocantins.

Frequently Asked Questions about the CPF Generator

Everything you need to know about generating CPFs for testing and development.