Skip to content

Alphanumeric CNPJ Generator

Generate valid alphanumeric CNPJs in the new RFB format (IN 2.119/2022). The first free tool for the 2026 Brazilian company ID format — ready for your test suite.

No sign-up 100% free Private
The result will appear here

Was this tool helpful?

Alphanumeric CNPJ Generator

Generate valid alphanumeric CNPJ numbers for software testing and development. Starting July 2026, Brazil's Receita Federal (Federal Revenue Service) will begin issuing CNPJs that contain both digits (0-9) and uppercase letters (A-Z), as established by Instrução Normativa RFB nº 2.119/2022. This change expands the CNPJ numbering capacity from 100 million to over 1.2 billion possible combinations.

The new format maintains 14 characters, but the 8-digit root and the 4-digit branch number can now include letters. Only the two check digits (positions 13-14) remain strictly numeric. The validation algorithm uses the ASCII-48 standard: each character is converted to its ASCII code minus 48, producing values 0-9 for digits and 17-42 for letters A-Z. The check digits are then computed using weighted sums and modulo 97, replacing the traditional modulo 11 used in numeric-only CNPJs.

Our generator implements the official algorithm published by Receita Federal and SERPRO. Generation is 100% client-side — no data is sent to any server. You can produce alphanumeric CNPJs individually or in batches of up to 50, with or without formatting (XX.XXX.XXX/XXXX-XX).

Legal notice: Generated CNPJs are fictitious and not registered with the Receita Federal. They are intended exclusively for software testing. Using fabricated CNPJs for fraud is a crime.

To verify an alphanumeric CNPJ, use our Alphanumeric CNPJ Validator. For traditional numeric CNPJs, see our CNPJ Generator and CNPJ Validator.

Frequently Asked Questions

What is the alphanumeric CNPJ?
It is the new CNPJ format established by IN RFB 2.119/2022 that allows letters A-Z in positions previously limited to digits only. It maintains 14 characters and enters into effect July 2026. To validate this format, use our Alphanumeric CNPJ Validator.
How does the ASCII-48 algorithm work?
Each character is converted to its ASCII value minus 48 (digits 0-9 become 0-9, letters A-Z become 17-42). The check digits are calculated using weighted sums and modulo 97, ensuring the integrity of the entire CNPJ. This replaces the modulo 11 used in traditional numeric CNPJs.
Are the generated alphanumeric CNPJs real?
No. They are mathematically valid but do not correspond to any real company in Receita Federal's database. Use them only for development and testing.