CNPJ Generator & Validator
Generate and validate Brazilian CNPJ numbers with correct check digits. Fully client-side, no data sent anywhere.
Examples of use
- Generate valid CNPJ numbers for QA testing of Brazilian systems
- Validate user-entered CNPJs in form validation logic
- Create test data for financial or government applications
When to use this tool?
- When testing Brazilian forms that require CNPJ input
- When validating CNPJ entries in QA and automation testing
- When generating test data for financial or government systems
- When developing CNPJ validation logic
Frequently asked questions
- What is a CNPJ?
- CNPJ (Cadastro Nacional da Pessoa Jurídica) is the Brazilian corporate taxpayer registration number. It consists of 14 digits, including two check digits calculated using a specific algorithm.
- Are the generated CNPJs real?
- No. The generator creates CNPJ numbers that pass the check digit algorithm but are not necessarily registered with the Brazilian IRS (Receita Federal). They are for testing purposes only.