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.
Was this tool helpful?
Thank you for your feedback!
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.