CNPJ generatorGerador de CNPJ
Valid test Brazilian company registry numbers (Cadastro Nacional da Pessoa Jurídica) for Brazil, with the correct structure and check digits. Generate up to 100 at once, copy them or download a CSV, and check any CNPJ against the rules. Everything runs in your browser.
- 28.815.852/0001-56
- 23.933.548/0001-90
- 77.986.932/0001-80
- 12.029.722/0001-58
- 33.905.022/0001-50
- 07.684.950/0001-21
- 81.320.241/0001-10
- 73.684.592/0001-81
- 17.554.511/0001-58
- 67.178.760/0001-64
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 CNPJ is built
Pattern: 00.000.000/0001-00
Eight-digit base, four-digit branch (0001 for the head office) and two mod-11 check digits.
Valid and invalid example
| Value | Result |
|---|---|
| 28.815.852/0001-56 | Valid |
| 28.815.852/0001-57 | Invalid last character changed |
About the CNPJ
Brazilian companies are registered with a 14-digit CNPJ: an eight-digit base, a four-digit branch number (0001 is the head office) and two mod-11 check digits.
Typical test cases: B2B checkout, electronic invoices (NF-e), supplier registration and ERP integrations.
More sample CNPJ numbers
23.933.548/0001-90 · 77.986.932/0001-80 · 12.029.722/0001-58 · 33.905.022/0001-50 · 07.684.950/0001-21 · 81.320.241/0001-10 · 73.684.592/0001-81 · 17.554.511/0001-58 · 67.178.760/0001-64
Common questions
- Are these real CNPJ 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 CNPJ 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
- CPF generator: Brazilian individual taxpayer 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 company ID formats
EIN (US) · CIF / NIF (ES) · UK VAT (GB) · SIREN / SIRET (FR) · TVA (FR) · Partita IVA (IT) · USt-IdNr. (DE) · ABN (AU) · all formats