CodeToolsHub.dev

CPF Validator (check digits & format)

Live

Check whether a CPF has valid check digits.

All generated data is fictional and intended for development, testing, QA, prototyping, and automation only. Do not use it for fraud, impersonation, or illegal activity.

Configuration

Output· 6 lines · json
ValidValid CPF.
Formatted
111.444.777-35
Fiscal region
ES, RJ

About this tool

Paste a CPF (formatted or just digits) to check it. The validator strips punctuation, rejects trivial repeated sequences like 111.111.111-11, and recomputes the two mod-11 check digits. It also shows the fiscal region encoded in the 9th digit. Validation is technical only — it does not confirm the CPF belongs to a real person.

Example output

{
  "valid": true,
  "reason": "Valid CPF.",
  "Formatted": "111.444.777-35",
  "Fiscal region": "ES, RJ"
}

Frequently asked questions

Does a valid CPF mean it is registered?
No. This only checks the format and check digits — not whether the CPF exists at the Receita Federal.

Related tools

CodeToolsHub.dev

Realistic fictional data for development, testing, and AI.

© 2026 CodeToolsHub.devAll generated data is fictional. Not affiliated with Microsoft or Visual Studio Code.