validate_cpf
Validates a Brazilian CPF (Cadastro de Pessoas Físicas) using the official Receita Federal checksum algorithm. Use this tool when processing Brazilian user registrations, invoices, tax forms, e-commerce orders, or any document requiring a valid Brazilian individual taxpayer number. Input must be an 11-digit string (with or without formatting). Returns whether the CPF is mathematically valid, along with the cleaned CPF. Does not verify if the CPF exists in the Receita Federal database — only validates the format and checksum.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpf | Yes | The Brazilian CPF to validate. Formatting (dots and dash) is automatically removed. Example: '123.456.789-09' or '12345678909' |