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
- 1Choose the quantity (1 to 100).
- 2Select the state (UF) or leave it as Any state.
- 3Decide whether you want the 000.000.000-00 mask.
- 4Copy the list with Copy all or one number at a time; Generate again draws new ones.
9th digit by state
The 9th digit of a CPF identifies the issuing tax region. The table below shows the full mapping.
| 9th digit | States |
|---|---|
| 0 | RS |
| 1 | DF, GO, MS, MT, TO |
| 2 | AC, AM, AP, PA, RO, RR |
| 3 | CE, MA, PI |
| 4 | AL, PB, PE, RN |
| 5 | BA, SE |
| 6 | MG |
| 7 | ES, RJ |
| 8 | SP |
| 9 | PR, SC |