Test data for Brazilian software
EN
Fictitious data for software testing. Using fake documents for fraud is a crime in Brazil (Penal Code, arts. 297–299, 307).

Brazilian test data generators

Fictitious Brazilian documents, vehicle codes, banking data, people and companies with correct check digits, ready for fixtures, seed scripts and form tests.

15 tools

What these generators are for

Brazilian systems validate almost every identifier with a check digit. A sign-up form that asks for a CPF (the individual taxpayer ID) rejects 123.456.789-00, an ERP refuses a CNPJ (company ID) with a wrong digit, and a checkout runs the Luhn test on card numbers. To exercise those flows without customer data you need values that pass validation but belong to nobody. That is what each generator produces.

The tools fall into four groups:

  • Documents: CPF, CNPJ (numeric and the new alphanumeric format), CNH driver’s licence, título voter ID, PIS/PASEP social-security number, RG identity card (São Paulo pattern), civil certificate numbers and state tax registrations (IE) for all 27 states.
  • Vehicles: RENAVAM vehicle registry codes and licence plates in the old or Mercosur format.
  • Finance: test card numbers, bank accounts for five major banks and boletos (Brazil’s bank payment slips).
  • People and companies: complete records with name, documents, contact details and a synthetic address.

How to choose

If you are testing a single field, such as an input mask, a validation rule or a unique index, use the generator for that document, for example the CPF generator or the CNPJ generator. If you need whole rows to seed a staging database or a demo, go for the fake person generator or the fake company generator, which combine several consistent fields (state, area code, postal code). For payment integrations, the boleto generator builds typeable lines with correct check digits that cannot be paid.

Bulk generation and export

Every generator takes a Quantity from 1 to 1000 per click. Grab the output with Copy or download it in three formats:

  • Export CSV: a header row plus one row per record, quoted per RFC 4180; good for spreadsheets and COPY.
  • Export JSON: a pretty-printed array, ready for Jest, Cypress or Playwright fixtures.
  • Export SQL: one INSERT INTO devbr_<tool> (columns) VALUES (...); per record, every value a single-quoted text literal. Rename the table and adjust column types before running it.

The With mask (punctuation) option controls whether documents come formatted or as bare digits, so you can test both input paths.

Privacy and responsible use

Everything is computed in your browser and nothing is sent to a server. The data is fictitious and meant only for software testing, staging and demos. Do not use it for real sign-ups or to get around identity checks.

Updated 2026-11-13 · Rafael Lima