Skip to content
Home/Developer/CNPJ Generator

CNPJ Generator

Generate fictitious valid Brazilian company IDs (numeric or alphanumeric CNPJs) for software testing, or validate a CNPJ.

Important: CNPJ numbers are for testing only

The generated identifier passes the mathematical check, but it does not prove that a company is registered with Brazil's Federal Revenue Service. It may match an existing registration. Use it only for testing or education. Do not use it to represent a real company, open accounts, or sign contracts. Making a false statement in a document to prejudice a right, create an obligation, or alter a legally relevant fact may constitute an offense under Article 299 of the Brazilian Penal Code.

CNPJ type

About CNPJ Generator

Generate fictitious valid Brazilian company IDs (numeric or alphanumeric CNPJs) for software testing, or validate a CNPJ.

How it works

Numeric and alphanumeric CNPJ check digits follow the tool's Brazilian validation rules.

How to use

  1. Select the CNPJ type.
  2. Generate a test CNPJ.
  3. Or enter a CNPJ to validate it.

Practical example

Generate a numeric or alphanumeric test identifier and run its validation.

Useful tips

A valid checksum does not establish that a company exists. Generated identifiers may coincide with real ones.