CPF generatorGerador de CPF
Valid test Brazilian individual taxpayer numbers (Cadastro de Pessoas Físicas) for Brazil, with the correct structure and check digits. Generate up to 100 at once, copy them or download a CSV, and check any CPF against the rules. Everything runs in your browser.
- 518.476.417-84
- 084.256.046-72
- 423.059.325-29
- 262.324.704-86
- 157.386.190-13
- 484.684.513-39
- 787.094.965-56
- 477.697.021-00
- 294.941.469-99
- 861.518.796-78
Checked in your browser against the published rules. Nothing is sent anywhere, and a valid result does not mean the number was ever issued.
Synthetic test values for software testing. Not issued by any authority and not linked to any person or company.
How a CPF is built
Pattern: 000.000.000-00
Nine digits and two mod-11 check digits. The ninth digit is the fiscal region where it was issued.
Valid and invalid example
| Value | Result |
|---|---|
| 518.476.417-84 | Valid |
| 518.476.417-85 | Invalid last character changed |
About the CPF
Brazil’s Receita Federal issues the CPF to every taxpayer. It has nine digits plus two mod-11 check digits, and the ninth digit identifies the fiscal region of issue (8 for São Paulo, 7 for Rio de Janeiro and Espírito Santo, and so on). The tool matches that digit to the state of the generated address.
Typical test cases: Brazilian e-commerce checkout, PIX and banking flows, invoices (nota fiscal) and any form that asks for CPF.
More sample CPF numbers
084.256.046-72 · 423.059.325-29 · 262.324.704-86 · 157.386.190-13 · 484.684.513-39 · 787.094.965-56 · 477.697.021-00 · 294.941.469-99 · 861.518.796-78
Common questions
- Why are numbers like 111.111.111-11 rejected?
- They pass the arithmetic but are never issued, so most validators reject CPFs made of one repeated digit. The tool never produces them.
- Are these real CPF numbers?
- They follow the published structure and pass the check-digit rule, so validators accept them. They are generated at random and are not taken from any register. A random value can still coincide with a number issued to someone, so use them only in test systems.
- Can I use a generated CPF on a real application?
- No. Using an identity or tax number that is not yours on a real application, tax return or bank form is fraud in most countries. These values are for developers and testers working on their own systems.
Related tools
- CNPJ generator: Brazilian company registry number
- Brazil address generator: addresses with real cities and postcodes
- Fake Brazil profile: name, address, date of birth and ID numbers together
- Test data generator: export profiles with ID columns as CSV, JSON or SQL
Other personal ID formats
SSN (US) · ITIN (US) · DNI (ES) · NIE (ES) · NINO (GB) · SIN (CA) · CURP (MX) · RFC (MX) · NIR (FR) · Codice fiscale (IT) · Steuer-ID (DE) · BSN (NL) · Rijksregisternummer (BE) · NIF (PT) · all formats
Sample profiles with a CPF
Test people for Brazil, each with a generated CPF and a drawn profile picture.
- Fabrícia BarrosFemale, 30 · born 1996-07-26São Caetano do Sul, SPCPF 911.547.298-18fabriciabarros@example.net
- Laura RibeiroFemale, 39 · born 1987-05-27Aurora do Tocantins, TOCPF 859.987.881-68laura.ribeiro33@example.com
- Júlia LopesFemale, 55 · born 1971-02-16Apiacá, ESCPF 725.447.557-09julia.lopes08@example.com
- Henrique SouzaMale, 60 · born 1966-02-19Sabará, MGCPF 492.435.406-61henrique.souza81@example.org
Synthetic people with drawn pictures: not real individuals. Generate more profiles.