Pular para o conteúdo
Back to the blog
Guide June 19, 2026 11 min read

Alphanumeric CNPJ: The New CNPJ Format in 2026

From July 2026, new companies receive a CNPJ with letters and numbers. Understand what changes, why the alphanumeric format was created, how the structure and check digit work, and what to review in your systems before the switch.

Documents and stamps on a desk, representing company registration in the CNPJ

The CNPJ is about to change its look for the first time in decades. From July 2026, new registrations start receiving a number that mixes letters and numbers — the so-called alphanumeric CNPJ. For anyone who already has a CNPJ, nothing changes. But for whoever builds software, issues invoices or registers suppliers, it is time to understand what is coming.

This guide explains, in plain terms, what the alphanumeric CNPJ is, why it was created, how the new structure and check digit work, and what you need to review before the switch. If you want to try it in practice, the Alphanumeric CNPJ Validator and the Alphanumeric CNPJ Generator already work with the new format.

60 million

is roughly the number of CNPJs already issued in Brazil — a volume that was exhausting the possible combinations in the purely numeric format.

Receita Federal do Brasil, 2024

What the alphanumeric CNPJ is and why it exists

The CNPJ has always been a 14-digit number. The problem is mathematical: with around 60 million registrations already issued and a growing pace of new companies, the combinations available in the purely numeric format started to run short. Instead of making the number longer — which would break almost every system in the country — Receita Federal chose to widen the alphabet: keep the 14 positions, but allow letters in the first 12.

The gain is huge. Each position that used to have 10 possibilities (0 to 9) now has 36 (0 to 9 plus A to Z). That multiplies the possible combinations by orders of magnitude and secures CNPJ numbers for many generations, without touching the field size.

When it takes effect and who is affected

The change was made official by Normative Instruction RFB No. 2,229/2024, published in October 2024, and goes live in July 2026. From that date, the new format starts coexisting with the current one in a planned transition.

Alphanumeric CNPJ timeline

  1. Oct 2024

    Rule published

    Normative Instruction RFB No. 2,229/2024 makes the alphanumeric format official.

  2. Jul 2026

    Issuing begins

    New registrations can receive an alphanumeric CNPJ; existing numbers do not change.

  3. 2027

    Full adoption

    The new format becomes the standard for new registrations, requiring every system to accept it.

Fonte: Receita Federal do Brasil / Normative Instruction RFB No. 2,229/2024.

How the new CNPJ is structured

The anatomy of the number is the same as today — only the set of accepted characters changes in each part. Here is how the 14 positions break down:

Structure of the alphanumeric CNPJ
PositionsWhat it isFormat
1 to 8Root — identifies the company (HQ and branches share the same root)Alphanumeric (A–Z, 0–9)
9 to 12Establishment order (0001 is HQ; 0002 onward, branches)Alphanumeric (A–Z, 0–9)
13 and 14Check digits, computed from the previous 12 positionsNumeric (0–9)

Fonte: Structure defined by Receita Federal for the alphanumeric CNPJ.

In practice, an alphanumeric CNPJ looks like the official example 12.ABC.345/01DE-35: the mask is identical to the usual one, but with letters inside the number. The last two digits (the 35) are still a verification result, always numeric.

Does the check digit change?

The check-digit calculation is still the same modulo 11 as always, with a single adjustment to accommodate letters: the value of each character becomes its ASCII code minus 48. So digits 0 to 9 still count as 0 to 9 and letters are A=17, B=18, and so on up to Z=42. The two check digits themselves stay numeric.

If you need to implement or check that calculation, we wrote a full step-by-step, with a conversion table, a worked example and ready-to-use code, in how to validate and calculate the CNPJ check digit. For a quick check, the validator shows the calculation on screen.

What changes for companies, ERPs and invoicing

Most of the work is not on the company itself, but on the systems that handle the CNPJ. Whoever treats the number as an integer, validates it with patterns that only accept digits or stores the field as a number in the database will need adjustments. The most sensitive points:

What to review in your systems before 2026
WhereRiskWhat to do
DatabaseCNPJ stored as an integerMigrate to 14-character text, preserving leading zeros and letters
ValidationRegex that accepts only digits across the 14 positionsAccept letters and numbers in the first 12 positions and digits in the 2 check positions
NF-e and NFC-e issuingSchemas and validators that reject letters in the CNPJFollow the SEFAZ technical note and update fiscal validators
Integrations and ERPsMasks and routines that assume a numeric formatTest with sample alphanumeric CNPJs before the switch

Fonte: Attention points mapped from the alphanumeric CNPJ specification.

The good news: since the mask and the size do not change, screens, reports and printouts keep working. The real risk is in the hidden rules — that numeric field in the database, that parse that drops letters, that old validation nobody remembers exists.

How to prepare: a checklist

Frequently asked questions

Does the alphanumeric CNPJ replace the numeric one?

No. The two formats will coexist. Current numeric CNPJs stay valid indefinitely; the alphanumeric one is assigned only to new registrations from July 2026.

Will I have to change my company CNPJ?

No. Anyone who already has a CNPJ keeps the number exactly as it is, at no cost and with no reissue.

Does the alphanumeric CNPJ change other registrations?

No. The change affects only the composition of the CNPJ number itself. Partner CPFs, state registration and other records follow the usual rules.

Referências e leitura complementar

  1. Receita Federal do Brasil (2024). CNPJ Alfanumérico — Perguntas e Respostas. gov.br / Ministério da Fazenda link .
  2. Receita Federal do Brasil (2024). Instrução Normativa RFB nº 2.229, de 15 de outubro de 2024. Diário Oficial da União link .
  3. Conselho Federal de Contabilidade (2025). CNPJ alfanumérico: modelo será implementado em julho de 2026. CFC link .

See your first competitor in minutes

14-day free trial, no card. Within minutes, the first detection shows up on your dashboard.

Create free account
Share:
Time to hit the field

Put it to work right now.

14-day trial, no card required. In a few minutes the first detection lands on your dashboard.