PIS, CNH, Voter ID & RENAVAM

Generate and validate Brazilian PIS/PASEP, Driver License (CNH), Voter ID (by state), and vehicle RENAVAM numbers for QA testing.

Document type
Quantity
Validate existing document
ResultValid

Result

  • 438.92593.69-9
  • 145.32637.84-4
  • 082.97381.95-0
  • 505.21459.51-2
  • 403.91660.77-1
Use from the terminal (JSON)

This tool also runs outside the site: the cli.js script uses the same logic as this page and returns the result as JSON. Parameters are the same as this page's URL — copy the command below with the values on screen.

Deno
deno run -q "https://tools.thecodecodex.com/cli.js?tool=br-docs"
Node.js / Bun
curl -s https://tools.thecodecodex.com/cli.js | node --input-type=module - br-docs doc=…
ParameterDescriptionDefault
docpis | cnh | titulo | renavampis
qquantidade para gerar (1-50)5
ufUF para Título de EleitorSP
mask1 = formatado com pontuação1
vnúmero para validar—

Requires Deno, Node.js or Bun. With Deno the script runs with no permissions: it cannot read files or access the network. Central Bank indicators are from the day the site was published.

More in Brazil Documents