1001Ferramentas
🆔Validators

CPF + Issue Date Validator

Validate the extended CPF format with a date (CPF + DDMMAAAA), used in some government files and layouts. Checks the number pattern only, not the check digit.

CPF and date in one text field

Some Brazilian government file layouts and payroll systems pack a CPF and a date onto the same line, in the style 123.456.789-09 01/01/2020. Before importing ten thousand rows and finding the problem halfway through processing, it helps to confirm the shape of the text. Paste one line here and the verdict appears instantly, no button involved: green if the format matches, red if something is out of place.

What the page accepts, literally: eleven CPF digits with dots and dash optional, one single whitespace character, then eight date digits as day, month and year with slashes optional. So 12345678909 01012020 and 123.456.789-09 01/01/2020 both pass, and you can mix the masks. Two spaces between the number and the date fail the check, because the pattern expects exactly one separator character.

Two things it does not do. It never verifies the CPF check digit, so 000.000.000-00 followed by a date shows green. And it never verifies the date is real: 32/13/2020 sails through. Treat it as a mask filter, and leave real validation to the next step of your import, with a CPF validator and a proper date parse. Since everything happens in the browser, the number you paste never leaves your machine.

Frequently asked questions

Does it actually validate the CPF?
No. The check digit is never calculated. The page only confirms that digits and separators sit in the expected positions.
Can I write the date without slashes?
Yes. Both 01/01/2020 and 01012020 are accepted, as long as there are eight digits and a single space separating them from the CPF.
Why did my line with two spaces fail?
The pattern allows one whitespace character between the number and the date. If your file is column-aligned with several spaces, normalize the line before testing.

Related Tools