</> 4Generate

CNPJ Generator

Generate valid CNPJ numbers for testing

CNPJ Generator

Generate valid Brazilian CNPJ numbers with correct check digits

Number of CNPJs to generate, between 1 and 100

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

1. Choose the quantity of CNPJs 2. Click the "Generate" button 3. Use the "Copy" button to copy the result 4. Optional: toggle between formatted and unformatted

Examples

Generated CNPJ example: 11.222.333/0001-81 Unformatted example: 11222333000181

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).