CPF Generator & Validator
Generate and validate Brazilian CPF numbers with the correct check digits. Fully client-side, no data sent anywhere.
Examples of use
- Generate valid CPF numbers for QA testing of Brazilian systems
- Validate user-entered CPFs in form validation logic
- Create test data for financial or government applications
When to use this tool?
- When testing Brazilian forms that require CPF input
- When validating CPF entries in QA and automation testing
- When generating test data for financial or government systems
- When developing CPF validation logic and need reference values
Frequently asked questions
- What is a CPF?
- CPF (Cadastro de Pessoas Físicas) is the Brazilian individual taxpayer registration number. It consists of 11 digits, including two check digits calculated using a specific algorithm.
- Are the generated CPFs real?
- No. The generator creates CPF numbers that pass the check digit algorithm but are not necessarily registered with the Brazilian IRS (Receita Federal). They are for testing purposes only.
- How does validation work?
- Validation checks that the CPF has exactly 11 digits and that the two check digits match the values calculated from the first 9 digits using the official algorithm.