Test data✓ In-browser processing

CPF/CNPJ Generator and Validator

Generate and validate mathematically valid Brazilian CPF and CNPJ numbers for software testing.

What does this tool solve?

Generate and validate mathematically valid Brazilian CPF and CNPJ numbers for software testing. This page is designed to solve the task quickly with a responsive interface, examples and local processing whenever technically possible.

How to use

  1. Enter, paste or select the requested input.
  2. Adjust the options for the scenario you want to reproduce.
  3. Run the action, review the output and use the copy or download buttons.
Practical example: Try cpf/cnpj generator and validator with fictional or non-sensitive sample data, review the output and keep only what you need.

Common use cases

  • Prepare test data for forms, APIs and non-production databases.
  • Cover positive, negative and boundary scenarios without copying real personal data.
  • Create reproducible examples for automation and documentation.

Limitations and care

The output depends on the supplied data and should be reviewed before production use.

Privacy

Avoid entering real personal data, production passwords, tokens or confidential documents. When local processing is indicated, files stay on your device during the operation.

Frequently asked questions

Do I need to install software?

No. The tool runs in a modern browser with JavaScript enabled.

Is my content sent to a server?

The main operation runs in your browser whenever the page indicates local processing. Values entered in tools are not sent as analytics event parameters.

Can I use the output without review?

Review the output, your system rules and the limitations described on this page before production use.