Coverage · Mexico
Mexican CURP detection and redaction
OpenAnonymizer finds the Mexican CURP in text and replaces it with a placeholder. The number is confirmed by its official label and its check digits are verified. It runs on a CPU, with no GPU and no API calls.
At a glance
- Country
- Mexico MX
- Format
- CURPClave Única de Registro de Población
- Placeholder
- Each distinct value gets its own number: MX_CURP_1, MX_CURP_2, and so on.
- How it is confirmed
- Official label and checksum
- Used for
- Identifying Mexican citizens and residents in government records, schools, employment and health care.
About the CURP
The CURP is issued by RENAPO, the national population registry.
It is 18 characters: letters from the person's names, the date of birth, sex, a two-letter state code, more letters from the names, a character that tells apart duplicates, and a check digit.
- In
- CURP: XEXX800101HNEXXX05
- Out
- CURP:
How OpenAnonymizer handles it
Checked by checksum. The format's check digits are verified, so most mistyped or made-up numbers fail. A number with the right label and shape is still masked when its checksum fails, so a typo doesn't let it through.
- It runs locally on a CPU, with no GPU and no API calls, so the text never leaves your machine.
- Every package ships every detector, so this format is covered in each of them.
- It covers 34 languages.
Related formats
The same country, or the same kind of number elsewhere.