Qitero Qitero

Brazil CPF & CNPJ Generator / Validator — Test Data Tool

Generate and validate valid Brazilian CPF (Individual) and CNPJ (Company) numbers for sandbox testing, Pix checkouts, and fiscal compliance.

⚡ Interactive widget ready. Client-side engine active.

🏛️ Brazil 10 Fiscal Regions (UF) Reference Table

The 9th digit of a Brazilian CPF number defines its issuing state/region under Receita Federal guidelines:

8: SP (São Paulo)
7: RJ, ES (Rio de Janeiro / Espírito Santo)
6: MG (Minas Gerais)
0: RS (Rio Grande do Sul)
9: PR, SC (Paraná / Santa Catarina)
5: BA, SE (Bahia / Sergipe)
4: AL, PB, PE, RN (Pernambuco, etc.)
3: CE, MA, PI (Ceará, Maranhão, etc.)
2: AC, AM, AP, PA, RO, RR (North)
1: DF, GO, MT, MS, TO (Center-West)

❓ Frequently Asked Questions

What is a Brazilian CPF number and how is it structured?

CPF (Cadastro de Pessoas Físicas) is an 11-digit taxpayer registration number formatted as XXX.XXX.XXX-XX. The 9th digit designates the fiscal state/region of issuance (e.g., 8 is São Paulo), and the last 2 digits are calculated using the Modulo 11 verification algorithm.

What is a Brazilian CNPJ number?

CNPJ (Cadastro Nacional da Pessoa Jurídica) is a 14-digit corporate tax ID formatted as XX.XXX.XXX/YYYY-ZZ. Digits YYYY denote branch/headquarters code (usually 0001), and ZZ are Modulo 11 check digits with weights from 2 to 9.

Why are CPF and CNPJ mandatory for Brazil Pix payments?

The Central Bank of Brazil (BCB) mandates CPF or CNPJ identity verification for all instant Pix transfers and electronic invoicing (NF-e) to prevent fraud and ensure KYC compliance.

How does the Modulo 11 checksum algorithm work for CPF?

The first check digit sums digits 1 through 9 multiplied by weights 10 down to 2, modulo 11. The second check digit sums digits 1 through 10 multiplied by weights 11 down to 2, modulo 11.