cnpj-validator

The CNPJ validator checks if a number follows the official algorithm established by the Brazilian Federal Revenue. This tool is essential for:

The validation only checks compliance with the algorithm, not the current status of the company with the Federal Revenue.

  • Verification of suppliers and business partners
  • Data validation in business systems
  • Checking tax documentation

How to identify headquarters and branches by CNPJ

In the CNPJ, digits 9 to 12 identify the type of establishment:

  • 0001: Company headquarters
  • 0002 onwards: Branches, in order of registration

Did you know?

A single company can have up to 9999 branches registered with distinct CNPJs, all sharing the same first 8 digits.