The new docs.trellix.com features a modernized UI and AI-powered conversational search. Content is currently available in English, with additional languages launching in early November 2026. We hope you enjoy the updated experience.

Brazil CPF (Tax Registration)

Prev Next

Number issued by Brazilian Federal Revenue to Brazilians and resident foreigners who, directly or indirectly, pay taxes in Brazil.

Validator

Brazil CPF (Tax Registration) — Validates the position weighted Mod 11 checksum.

Matched expressions

Regex expressions

Description

Score

(?i:\b[0-9]{11}\b)

Matches an 11-digit number of the format NNNNNNNNNNN.

1

(?i:\b[0-9]{3}\.[0-9]{3}\.[0-9]{3}-[0-9]{2}\b))

Matches an 11-digit number of the format NNN.NNN.NNN-NN.

1



Ignored expressions

None