Everything you need in one place

SolveItNow
CPF

Programming

CPF Generator

documents for testing

Generate mathematically valid CPF numbers for form testing, registration flows, API integrations, and sandbox environments. Generated CPFs pass digit verification but do not belong to any real person.

How to use

  1. 1Check the 'Format' option if you want the number with dots and a dash (e.g., 123.456.789-00).
  2. 2Click 'Generate' to create a structurally valid CPF number.
  3. 3Use the 'Copy' button to paste the number wherever you need it.
  4. 4Generate as many numbers as you want — each click creates a new random combination.

Practical examples

Fill out test forms

Generate valid CPFs to test registration validation in systems during development.

Seed staging databases

Use several generated CPFs to simulate user records without exposing real personal data.

Test formatting masks

Generate the number with and without formatting to check whether your application handles both formats correctly.

Frequently asked questions

Do generated CPFs belong to real people?

No. The numbers are generated mathematically to satisfy the verification digit algorithm, but are not linked to any real person.

Is it illegal to use a generated CPF for testing?

Using them in development and testing environments is legitimate. Fraudulent use — to deceive systems, make real registrations, or gain undue advantages — is illegal.

Can I generate a CPF with formatting (dots and dash)?

Yes. The tool generates the CPF in both formats: with mask (000.000.000-00) and without mask, to suit different use cases.

Related tools