CPF Validator

Paste a CPF to check whether its check digits are correct.
Computed locally in your browser with the CPF mod-11 check-digit scheme. Your CPF stays only on this page.

Validate a CPF check digit

Paste an 11-digit Brazilian CPF (NNN.NNN.NNN-NN) to confirm its two mod-11 check digits and read off the corrected value when a digit is wrong. Each check digit uses descending weights over the base digits, and CPFs whose digits are all identical are rejected the way real validators do. Dots, hyphens, and spaces are ignored, so both grouped and bare input work as-is. Need to create valid fixtures instead? Try the CPF generator.