CPF Validator

Use our CPF validator! Just enter a CPF number and click on 'Validate CPF' to check if it is valid.

How it works

  • The validation is done on the server and does not store any information.
  • The validator checks if the CPF follows the rules of the Federal Revenue Service.
  • The format of the CPF and its check digits are verified.
  • The system accepts CPFs with or without punctuation (123.456.789-10 or 12345678910).
  • The validation result is displayed through a green icon (valid) or a red icon (invalid).

How to use the API

You can integrate our CPF validator into your application using our REST API.

Endpoint

POST /api/validators/cpf

Request example

{
  "cpf": "123.456.789-10"
}

Response

{
  "isValid": false
}