CPF Generator

Generate valid Brazilian CPF numbers with verification digits for development testing.

For software testing only

Generated CPFs are fictional and have no legal value. Do not use them in real sign-ups, purchases, or any official purpose.

Carregando ferramenta...

How to use

  1. 1Choose generate with or without mask.
  2. 2The valid CPF appears immediately.
  3. 3Copy it for your tests.

About

Generates CPFs with mathematically valid verification digits for development testing, with or without punctuation. For testing only — the numbers do not correspond to real people.

How to generate a valid CPF for testing

The CPF (Cadastro de Pessoas Físicas) is an 11-digit number used to identify taxpayers in Brazil. The UtilNexo generator creates CPFs that pass the check-digit validation but are fictional — ideal for software testing without impersonating a real number.

A CPF has nine base digits and two check digits. The last two digits are calculated from the first nine using a modulus-11 algorithm. The generator applies this calculation to produce structurally valid numbers.

It is important to stress: generated CPFs are not registered with the Brazilian Federal Revenue and do not correspond to any person. They are meant for filling test forms, validating systems, and simulating registrations during development.

All processing happens in the browser. The number is never sent to any server, and generation is instant — just click to get a new CPF with or without punctuation.

Examples

  • Generate with mask → 123.456.789-09 (standard format with dots and hyphen).
  • Generate without mask → 12345678909 (only the 11 digits, no punctuation).

Limitations

  • Generated CPFs are fictional and cannot be used for real registrations, purchases, or any official purpose — that would be fraud.
  • The generator does not validate whether the number exists in the Federal Revenue database; it only ensures the check digits are correct.

How to use the CPF generator

  1. 1Click Generate with mask or Generate without mask.
  2. 2Copy the CPF to use in your tests.

Frequently asked questions

Is the generated CPF real?

No. It is structurally valid (passes the check digit), but it is fictional and belongs to no one.

Can I use the generated CPF to register?

No. Using a CPF that is not yours in real registrations is illegal. The tool is exclusively for testing and development.

What are the check digits?

They are the last two digits of the CPF, calculated from the previous nine. They help detect typing errors, but do not prove the number exists.