本文へスキップ

CURP calculator and generator

Work out a CURP from names, birth date and state with RENAPO's published rules, generate test CURPs, or check a CURP's last digit, all in your browser.

Document

CURPClave Única de Registro de Población

Population registry key · written like PEGL850312MDFRRC00

Where the rules come from

CURP from personal data

Sex

Or add the check digit to the first 17 characters

ブラウザで動作・アップロード不要しくみ

CURP generatorの使い方

  1. 1

    Enter the person's data

    On the Calculate tab type the first surname, the second surname if there is one, the given names, the birth date, the sex and the state of birth.

  2. 2

    Read the CURP

    The key appears as you type, with its decoded fields, and a note on the 17th character that only RENAPO can settle.

  3. 3

    Make test CURPs

    On the Generate tab choose a date range, sex and state, set how many and export them as TXT, CSV or JSON.

  4. 4

    Check a CURP

    Paste CURPs on the Check tab to see the birth date, sex and state they carry and whether the 18th digit is right.

制限と Pro

Free: one CURP at a time from personal data, test batches of up to 10,000 CURPs, and checks of up to 10,000 pasted lines.

With Pro there are no ads; nothing else changes. Pro を見る

CURP generator について

The CURP is the 18-character key RENAPO gives every person registered in Mexico, and almost every government form, school enrolment and payroll asks for it. It is built from the person's data: the first letter and first inner vowel of the first surname, the initial of the second surname and of the given name, the birth date as YYMMDD, H or M for sex, two letters for the state of birth (NE when born abroad), the first inner consonant of each surname and of the name, a character that separates people whose first sixteen match, and a check digit.

The calculator here follows the special cases RENAPO publishes in its 2021 rules and reproduces their worked examples: Ñ becomes X, María and José (also MA. and J.) are skipped in compound names, particles such as DE, DEL, LA or MC are ignored, a missing second surname or inner consonant becomes X, and when the first four letters spell a word on RENAPO's list of rude words the second turns into X. The 17th character is 0 for births up to 1999 and A from 2000, which is what everyone gets unless someone already holds the same first sixteen.

For testing, the generator produces CURPs for a birth-date range, sex and state, with letters drawn at random and the check digit computed. The Check tab reads any CURP back into birth date, sex and state, and flags a check digit that doesn't match.

RENAPO's record is the final word on a real person's CURP, and this page never consults it.

プライバシー

The names, birth date and state you type are used only by the calculation running in this page; they are not sent to RENAPO or to any server, and they are gone when you close the page.

CURP generator:よくある質問

Can this calculate my real CURP?
For most people, yes: the first sixteen characters come straight from the name, date, sex and state rules, and the 17th is 0 or A unless someone registered before you with the same sixteen. If that happened RENAPO assigned 1, 2 or B, C and so on, which no calculator can know, so for official use look your CURP up on gob.mx/curp.
Why is MARÍA or JOSÉ left out of my CURP?
So many people are called María or José that RENAPO skips them when the given name has more than one word. María Luisa Pérez Hernández gets PEHL, using the L of Luisa, and her 16th character comes from Luisa too. A plain María with no second name keeps the M, and the same applies to the abbreviations MA., MA, M., J. and J.
What do the 17th and 18th characters of a CURP mean?
The 17th distinguishes people whose first sixteen characters are identical and also shows the century: digits 0 to 9 for births up to 31 December 1999, letters A to J from 2000. The 18th is a check digit computed from the other seventeen, which is how this page spots a mistyped character.
Why does a CURP have an X where a letter should be?
X fills any position whose letter is missing or unusable: an Ñ, a surname with no inner vowel or consonant, a missing second surname, an apostrophe or hyphen in the spot that counts, or the second letter of a rude word such as PEDO, which becomes PXDO. Those replacements are part of RENAPO's rules, not typos.
Can it work out my RFC as well?
Not completely. The RFC's first ten characters are built from the same kind of data, but its last three, the homoclave, are assigned by the SAT with a table it doesn't publish. Pick RFC in the document switch above to check an RFC's structure and final character or to generate test ones, but it can't give you yours.

このツールでできるほかのこと