FlyUtils

CPF & CNPJ Generator (Testing)

Create random CPF or CNPJ values that pass check-digit validation so you can fill forms and fixtures during development.

For software testing and QA only. Do not use generated CPF/CNPJ numbers for fraud, identity theft, opening accounts, or any illegal purpose. Misuse may be a crime.

How it works

  1. 1

    Choose CPF or CNPJ (and formatting options if shown).

  2. 2

    Click Generate to create a synthetic value with valid check digits.

  3. 3

    Copy it for staging/tests only — not for real-world identity use.

Why use this tool

  • Runs entirely in your browser — nothing is uploaded to a server.
  • 100% free, no sign-up, no limits.
  • Works in any modern browser — no app install, no extension, no account.

Synthetic documents for QA — not real identities

Developers often need sample CPF/CNPJ strings that survive format validators. This generator builds random digits and appends correct check digits so your test suites and staging forms accept the input. Generated values are synthetic and are not checked against official registries. They can mathematically coincide with a real number, so use them only in controlled testing environments — never to impersonate someone, open accounts, or commit fraud.

How to use CPF & CNPJ Generator (Testing)

Configure the options in CPF & CNPJ Generator (Testing), then click generate. Each click produces a new value in your browser — copy what you need.

Tips for better results

Review options before generating. Click again if you need another candidate. Prefer copying instead of screenshotting secrets.

Privacy and offline-friendly processing

Whenever possible, CPF & CNPJ Generator (Testing) processes your data locally with JavaScript in this page. That means drafts, secrets, and unfinished work stay on your device by default. Prefer this workflow when you do not want to upload sensitive text, tokens, passwords, or files to a third-party service.

Frequently asked questions

Can I use these numbers in production?

No. They are for automated tests, demos, and local development only.

Will they match a real person or company?

They are random. Any collision with a real document would be accidental — do not treat them as registered IDs.

Is my data uploaded when I use this tool?

For most FlyUtils tools, no. Processing happens in your browser with JavaScript. If a tool ever needs a server, that will be stated clearly on the page.

Is CPF & CNPJ Generator (Testing) free to use?

Yes. CPF & CNPJ Generator (Testing) is free, with no sign-up and no artificial usage caps for normal personal and work use.

Does CPF & CNPJ Generator (Testing) work on mobile?

Yes. The page is mobile-first, so you can paste input, tweak options, and copy results from a phone or tablet.

Found this useful?

Share it with someone who could use it too.