How to generate and validate a CNH number
Generate 1 to 50 fictional registration numbers, copy the batch, or export JSON and CSV. Enter any eleven-digit test value in the validator to compare its provided and calculated check digits locally.
What is a fictional CNH used for?
Fictional numbers help test forms, validators, APIs, imports, and staging environments without using real personal data.
A structurally valid number does not prove that a driver license exists and must not be used for real registrations or impersonation.
Check-digit example
The registration number has nine base digits and two check digits. Base 802558383 produces 30, resulting in 80255838330, using two weight sequences and the applicable modulo-11 adjustment.
CNH registration number format
The generated CNH contains 11 continuous digits without dots or hyphens. This is suitable for testing fields that expect only the registration number.
Official reference and related test tools
Brazilian rules describe the national registration as nine characters and two check digits. See the government description of CNH production and issuance. Related test tools include the CPF Generator and CNPJ Generator.
Frequently asked questions
Does a generated CNH belong to a real person?
Not necessarily. The tool locally creates a fictional number with valid check digits and does not query official databases.
Can I use a generated CNH for testing?
Yes. It is intended for testing fields, validators, APIs, and staging environments.
Does a CNH registration number use punctuation?
No. The registration number is displayed as a continuous sequence of 11 digits.
Can I generate a CNH test batch?
Yes. Generate up to 50 registration numbers and copy or download the batch as JSON and CSV.