CPF Test Generator

Generate fictional CPF-formatted test data for forms and software. Every number is deliberately checksum-invalid and cannot be used as a real document.

Fictional CPF — test data only

This number looks like a CPF, but is deliberately invalid and cannot be used as a real document.

Validate CPF

Generation and validation run locally. No number is saved or sent.

How to use it

  1. 1Generate a fictional CPF-formatted number.
  2. 2Use it only in development, QA, form tests, or staging.
  3. 3Optionally check only the mathematical checksum of a CPF in the separate validator.

About the cpf test generator

Fictional CPF test data helps developers and QA teams test input masks, fields, and staging flows without using personal data. This tool preserves the visual CPF format while deliberately changing a check digit so the result fails mathematical validation.

A CPF-shaped number is not a real CPF. The local validator checks only the check-digit algorithm; it does not contact Brazilian tax authorities or confirm existence, ownership, or registration status. Never use generated numbers in real registrations.

Frequently asked questions