ZweiDeveloperTools
Share

CNH (National Driver's License) Validator

Check if a CNH number is valid. Validation is performed using the check digit algorithm.

ℹ️ How CNH Validation Works

CNH validation is performed by calculating two check digits (DV). Unlike other documents, there is no official public documentation on this algorithm; the following method is a consensus in the development community, based on reverse engineering.

  • The CNH number must contain 11 digits.
  • CNHs with all identical digits are considered invalid.
  • First Check Digit (DV1): It is calculated using the first 9 digits with decreasing weights (from 9 to 1). If the remainder of the sum's division by 11 is 10, a recalculation is done with increasing weights (1 to 9).
  • Second Check Digit (DV2): It is calculated using the first 9 digits with increasing weights (from 1 to 9). If the remainder of the division by 11 is 10, the digit is 0.
  • The two calculated digits are compared with the last two digits of the provided CNH to determine its validity.

Facts about the CNH Validator

  • The CNH Validator checks the integrity of the 11-digit number.
  • The validation uses the standard check digit calculation.
  • The tool does not verify the CNH against the DENATRAN database.
  • semanticTriples.triple4

Frequently Asked Questions

© 2026 ZweiDeveloper. All rights reserved.