CURP Generator

Generator

Generate valid Mexican CURP numbers for testing. Enter name, birth date, gender, and state to derive a correctly structured 18-character CURP. Runs entirely in your browser.

Person Data
Generated CURP
Fill in the form above to generate a CURP

⚠ For testing purposes only. Generated CURPs are not registered with RENAPO.

About this tool

About CURP Generator

CURP (Clave Única de Registro de Población) is Mexico's unique population registry code — an 18-character alphanumeric identifier issued by RENAPO to all Mexican citizens and legal residents. It encodes name initials, birth date, gender, birth state, and internal consonants derived from the individual's full name, making it both a unique ID and a compact biographical summary.

This generator derives the 18-character CURP from the four input fields (paternal surname, maternal surname, first name, birth date, gender, and state). It applies the official RENAPO rules: extracts name initials and internal vowels, encodes the birth date as YYMMDD, marks the state with the two-letter code, derives the three internal consonants, appends the century marker, and computes the check digit. Inhibited word substitution is applied if the first four positions form an inappropriate word.

Generated CURPs are useful for testing Mexican government portal integrations, tax system APIs (SAT), healthcare applications (IMSS/ISSSTE), e-commerce KYC flows that collect CURP, and any backend that validates CURP numbers. All generated CURPs are fictitious test data — they pass the check digit algorithm but are not registered with RENAPO.

Instant generation from real name and date inputs, with the official algorithm faithfully implemented. The random fill button generates realistic Mexican names and birth dates for quick test data. All computation runs in the browser — no data is sent anywhere.

Key Features

  • Official RENAPO CURP algorithm
  • 18-character output with correct check digit
  • Random fill with realistic Mexican names
  • Inhibited word substitution (positions 1–4)
  • All 32 Mexican state codes + foreign-born (NE)
  • For testing purposes only

FAQ

CURP Generator — Frequently Asked Questions

What is a CURP?

CURP (Clave Única de Registro de Población) is Mexico's 18-character national ID code issued by RENAPO (Registro Nacional de Población). It uniquely identifies every Mexican citizen and legal resident and is required for government services, tax filings (SAT), employment, healthcare (IMSS/ISSSTE), education, and many private sector transactions. Think of it as Mexico's equivalent of the US Social Security Number combined with biographical data.

What does each part of the CURP encode?

Positions 1–4: derived from name (1st letter + 1st internal vowel of paternal surname, 1st letter of maternal surname, 1st letter of first name). Positions 5–10: birth date as YYMMDD. Position 11: gender (H = hombre/male, M = mujer/female). Positions 12–13: two-letter state code (or NE for foreign-born). Positions 14–16: first internal consonants of paternal surname, maternal surname, and first name. Position 17: century marker (0–9 for 20th century, A–Z for 21st). Position 18: check digit.

What is the inhibited word rule?

If the first four positions of a CURP spell an inappropriate or offensive word (from a list maintained by RENAPO — e.g. CACA, BUEY, PUTA), the second character (the internal vowel) is replaced with 'X'. This applies both in generation and validation. For example, if the derived code would be 'COJA', it becomes 'CXJA'. The complete inhibited word list contains about 90 entries.

Are generated CURPs real?

No. The CURPs generated by this tool follow the official RENAPO algorithm and will pass check digit validation, but they are not registered in the RENAPO database. They are fictitious test data only. Do not use them to impersonate any person or for any official purpose.

How do I find my real CURP?

You can look up your official CURP on the RENAPO portal (gob.mx/curp) by entering your name, birth date, sex, and state. Your CURP is also printed on your INE credential, birth certificate, IMSS card, and most government documents. This generator produces test data — not real registered CURPs.

Tips

  • Use the random fill button to instantly get realistic-looking test data
  • The maternal surname is optional — leave it blank and the generator will use 'X' placeholders
  • Names with accented letters (García, Hernández) are handled correctly — accents are stripped before processing
  • Use the CURP Validator tool to verify that a generated CURP is correctly structured