Mexico CURP and RFC Generator from Personal Data
Enter your names, date of birth, sex and state to build the CURP and the RFC with homoclave, see what every character means and validate an existing code.
S'executa al teu navegador. Els fitxers mai no surten del dispositiu. Mira com comprovar-ho
…
Com es fa
- 1Enter given names
As on your birth certificate.
- 2Enter both surnames
Paternal then maternal.
- 3Set birth date
Day, month and year.
- 4Choose sex and state
State of birth.
- 5Read the codes
CURP and RFC.
- 6Validate a code
Paste any CURP or RFC.
Sobre aquesta eina
The CURP (Clave Única de Registro de Población) is the 18-character personal identity code issued by RENAPO to every person registered in Mexico, and the RFC (Registro Federal de Contribuyentes) is the 13-character tax code issued by SAT to individuals. Both start with the same idea: four letters taken from your surnames and given name, followed by your date of birth as year, month and day. The CURP then adds your sex, a two-letter state code, the first internal consonant of each name part, a character that separates people with identical data and a check digit. The RFC adds a two-character homoclave calculated from your full name and a check digit. Several rules make this harder than it looks. Particles such as de, del, la, las and los are skipped. When the first given name is José or María and there is a second given name, the second one is used. The letter Ñ becomes X, people with a single surname get an X in its place, and four-letter combinations that form rude words are changed by replacing a letter. This tool applies those rules and shows the result piece by piece, so you can understand your codes or spot a mistake on a form. It also validates any CURP or RFC you paste by checking the format, the state code and the check digit. The 17th character of the CURP is assigned by RENAPO when two people would get the same code, so a generated CURP can differ from your real one in that position and in the final digit.
Who this is for
People filling in forms who want to understand their codes, HR and payroll teams checking employee data, accountants reviewing client RFCs, and developers testing validation.
Structure at a glance
| Code | Length | Parts | |---|---|---| | CURP | 18 | 4 letters, birth date, sex, state, 3 consonants, differentiator, check digit | | RFC (individual) | 13 | 4 letters, birth date, 2-character homoclave, check digit | | RFC (company) | 12 | 3 letters, incorporation date, homoclave, check digit |
How to get the official codes
Download your CURP for free at gob.mx/curp with your name and birth data. Your RFC appears on the Constancia de Situación Fiscal, which you can download from the SAT portal with your password or e.firma, or get at a SAT office. Use the official documents on contracts and invoices; a generated code is not an official record.
Limits
The homoclave and check digit follow the algorithm widely published for individuals, and rare names may be handled differently by SAT. Validation confirms the structure only, not that the code is registered.
Exemple resolt
Gloria Hernández García, born 27 April 1956 in Veracruz: HEGG560427MVZRRL04.
En resum
- Categoria: Diners i impostos
- S'executa al navegador, sense registre, sense pujar res.
- La informació que introdueixes es queda al dispositiu.
- Disponible en anglès.
- Contingut revisat per última vegada:
- Font oficial: RENAPO CURP rules; SAT RFC rules for individuals
Preguntes freqüents
What is the difference between the CURP and the RFC?
The CURP is your population identity code from RENAPO; the RFC is your tax code from SAT.
Why can my generated CURP differ from the real one?
Position 17 is a differentiator chosen by RENAPO for people with the same data, and the check digit depends on it.
How is the homoclave calculated?
From the letters of your full name converted to numbers, summed and turned into two characters with SAT's table.
What happens with Ñ or a single surname?
Ñ becomes X, and a missing surname is replaced by X in the CURP.
Does validation prove the code is registered?
No, it checks the format and check digit only.
Is my data stored online?
No, it stays in this browser.
