Brazil CNPJ (National Registry of Legal Entities)

Prev Next

Cadastro Nacional da Pessoa Jurídica (CNPJ) is the Federal Tax Identification Number. The Brazilian National Registry of Legal Entities is a registry of corporations, partnerships, foundations, investment funds, and other legal entities.

Validator

Brazil CNPJ (National Registry of Legal Entities) — Validates both the latest, alphanumeric format of the CNPJ and the available (legacy) CNPJ numeric combinations.

Matched expressions

Regex expressions

Description

Score

\b[a-zA-Z0-9]{2}\.[a-zA-Z0-9]{3}\.[a-zA-Z0-9]{3}/[a-zA-Z0-9]{4}-[d]{2}\b

Matches an alpha-numeric of of the format

AA.AAA.AAA/AAAA-NN

1

\b[0-9]{2}\.[0-9]{3}\.[0-9]{3}/[0-9]{4}-[0-9]{2}\b

Matches a number of the format NN.NNN.NNN or NNNN-NN.

1



Ignored expressions

None