Skip to content

Pedro Ivotools

CNH Generator

Generate random Brazilian driver's license (CNH) numbers with consistent check digits for testing forms and validation code.

Local calculation
The result is calculated in your browser.
Private by default
Nothing you enter leaves your browser.
CNH number

How it works

Nine random digits are followed by two check digits calculated with the CNH modulus 11 rules, including the adjustment applied when the first digit overflows.

Questions

Can I use the generated numbers for real registrations?

No. They are random numbers that happen to pass the format and check-digit rules. Use them only to test software, never to impersonate a person or company.

  • CNH Validator

    Check whether a Brazilian driver's license (CNH) number has 11 digits and consistent check digits. A format check only.

  • CPF Generator

    Generate random CPF numbers with valid check digits for testing Brazilian forms and systems, with or without formatting.

Esc