CNPJ Generator & Validator
Generate and validate CNPJ numbers online, including the new alphanumeric format. Official check-digit algorithm, free and private in your browser.
Generate
For testing only. Generated numbers are fictitious and are not checked against any official registry.
Validate
How it works
The first 12 characters may be digits or letters A-Z (each valued as its ASCII code minus 48); the last two are numeric check digits computed with modulo 11 and the weights 5-4-3-2-9-8-7-6-5-4-3-2 and 6-5-4-3-2-9-8-7-6-5-4-3-2.
FAQ
What is the alphanumeric CNPJ?
A new format where the first 12 positions can contain letters, coexisting with the numeric format.
Can check digits be letters?
No. The two check digits are always numeric.
Does it query the company registry?
No. Validation is only mathematical and runs in your browser.