CPF Generator

From 1 to 100 CPFs per generation
State (UF)Defines the 9th digit (issuing tax region)
FormatHow the CPFs will be displayed

About the CPF Generator

Generate valid CPFs for software testing, with or without mask and optionally locking the state (UF) of origin. The numbers follow the official check digit algorithm, so they pass any format validation — but do not match real taxpayers. Use only for development purposes.

How to generate CPFs in 4 steps

  1. Choose the quantity (1 to 100).
  2. Select the state (UF) or leave it as Random.
  3. Decide whether you want the 000.000.000-00 mask.
  4. Click Generate and use the copy buttons.

9th digit by state

The 9th digit of a CPF identifies the issuing tax region. The table below shows the full mapping.

9th digitStates
0RS
1DF, GO, MS, MT, TO
2AC, AM, AP, PA, RO, RR
3CE, MA, PI
4AL, PB, PE, RN
5BA, SE
6MG
7ES, RJ
8SP
9PR, SC

Frequently asked questions