Tools
Support
WORKSPACE

CPF & CNPJ

Generate and validate Brazilian CPF and CNPJ for testing.

WELL / TOOLS

Free for everyone. Sustained by those who can contribute.

No ads and no limits. A voluntary contribution helps with hosting and new tools. Support is optional and unlocks no perks.

The tool creates random numbers with correct check digits, for testing forms and systems, and validates the documents you enter.

How to use

  1. Choose CPF, CNPJ or alphanumeric CNPJ and the quantity.
  2. Click Generate and copy.
  3. To validate, paste the document and click Validate.

Frequently asked questions

Do the generated numbers belong to anyone?

They are random and meant for testing. A number may match a real document, so do not use them in real registrations.

Does validating confirm the document exists?

No. It only checks the check digits, without querying the Brazilian tax authority.

Other tools