CNPJ Generator
Generate valid CNPJ numbers for testing
CNPJ Generator
Generate valid Brazilian CNPJ numbers with correct check digits
No CNPJs generated yet
Choose a quantity and click "Generate" to create valid Brazilian CNPJ numbers with correct check digits.
About CNPJ Format
The CNPJ (Cadastro Nacional da Pessoa Jurídica) is the Brazilian national registry of legal entities. It consists of 14 digits in the format XX.XXX.XXX/XXXX-XX.
- The first 8 digits identify the company (base number)
- The next 4 digits identify the branch (0001 for headquarters)
- The last 2 digits are check digits verified by modulo 11 algorithm
- The generated numbers are mathematically valid (correct check digits) but do not correspond to any actual registered company
How to Use
Examples
CNPJ Generator
Our online CNPJ generator allows you to create valid CNPJ numbers instantly. Ideal for developers who need to test systems, validate forms, or populate development databases.
How to Use - FAQ
Is the generated CNPJ real?
No. Generated CNPJs are mathematically valid (they respect the check digits) but do not exist in the Brazilian Federal Revenue database. They are generated only for testing and development purposes.
How many CNPJs can I generate?
There is no limit. You can generate as many CNPJs as you need, as many times as you want.
Are the numbers truly random?
Yes. We use the browser's cryptographically secure random number generator (crypto.getRandomValues).