CodeToolsHub.dev

CNH Generator (valid format, fictional)

Live

Generate valid-format, fictional CNH numbers.

All generated data is fictional and intended for development, testing, QA, prototyping, and automation only. Do not use it for fraud, impersonation, or illegal activity.

Configuration

Output

Configure the options and press Generate to produce output.

About this tool

Builds the 9 base digits and computes the two CNH check digits, skipping the rare ambiguous case so the output validates under any implementation. Fictional and for technical testing only.

How it works

  1. Choose how many CNH registration numbers to generate.
  2. Optionally set a seed for reproducible output.
  3. Press Generate, then Copy, Download JSON or Download CSV.

Example output

[
  "75339659900",
  "17103732405"
]

API endpoint

curl "https://codetoolshub.dev/api/v1/br/cnh?count=3"
API

Frequently asked questions

Are these CNH numbers real?
No. They have valid check digits so validators accept them, but they are random and not issued to any driver.
Do they pass CNH validators?
Yes — the two check digits are computed with the standard algorithm, so format validators accept them.
Can I use it for anything official?
No. These are fictional numbers for development and testing only; misuse is prohibited.

Related tools

CodeToolsHub.dev

Realistic fictional data for development, testing, and AI.

© 2026 CodeToolsHub.devAll generated data is fictional. Not affiliated with Microsoft or Visual Studio Code.