
Mexico address generator
Random Mexico addresses for software testing. Every postcode is taken from the same dataset record as its city and state, and the address is laid out the way Mexico writes it.
- A Dataset-matched
- 3,999 cities
- 32 states
- Real postcodes
Options
Cerrada Hidalgo 123 El Guajolote 85774 Alamos, Son. Mexico
- City, state and postcode: one GeoNames record
- Street name, number: synthetic
Synthetic test data: not a verified or deliverable address.
- Street
- Cerrada Hidalgo 123
- Neighborhood
- El Guajolote
- City
- Alamos
- State
- Son.
- Postcode
- 85774 From datasetThis postcode comes from the same dataset record as the locality and region.
- Country
- Mexico (MX)
- Coordinates
- 27.206, -108.766 Approximate centre of the locality, not the building
How addresses are written in Mexico
Layout from Google’s address metadata (libaddressinput), the format data Chrome and Android use for address forms.
- Required fields
- Street address, city, state and postcode
- Postcode
- Examples:
02860,77520,06082
Pattern:\d{5} - States
- 32 in the dataset
- Capitals
- Mail labels conventionally capitalise the city, state and postcode
- Script
- Latin
- Calling code
- +52
- Official lookup
- Postcode finder
About the data for Mexico
ADataset-matched. Each locality, region and postcode is taken from the same GeoNames postal codes record.
- Localities
- 3,999 · GeoNames postal codes
- Postcodes
- Every postcode comes from the dataset record of its locality.
- Names
- es_MX (country-specific list)
- Streets
- Synthetic names built from common local street words. They are not taken from real maps.
Mexico address generators by state
Each page keeps every address inside one state and lists its cities and postcodes.
- Aguascalientes address generatorAgs.
- Baja California address generatorB.C.
- Baja California Sur address generatorB.C.S.
- Campeche address generatorCamp.
- Coahuila de Zaragoza address generatorCoah.
- Chiapas address generatorChis.
- Chihuahua address generatorChih.
- Ciudad de México address generator
- Durango address generatorDgo.
- Guanajuato address generatorGto.
- Guerrero address generatorGro.
- Hidalgo address generatorHgo.
- Jalisco address generatorJal.
- Estado de México address generatorMéx.
- Michoacán address generatorMich.
- Morelos address generatorMor.
- Nayarit address generatorNay.
- Nuevo León address generatorN.L.
- Oaxaca address generatorOax.
- Puebla address generatorPue.
- Querétaro address generatorQro.
- Quintana Roo address generatorQ.R.
- San Luis Potosí address generatorS.L.P.
- Sinaloa address generatorSin.
- Sonora address generatorSon.
- Tabasco address generatorTab.
- Tamaulipas address generatorTamps.
- Tlaxcala address generatorTlax.
- Veracruz address generatorVer.
- Yucatán address generatorYuc.
- Zacatecas address generatorZac.
Sample Mexico addresses
Eight addresses generated with a fixed seed. The city, state and postcode are real; street names and numbers are not.
| Formatted address | Postcode |
|---|---|
| Calle Eduardo Godoy 1555 Int. 27 Fracciones del Crespo 37287 León, Gto. | 37287 |
| Calle Madero 1656 La Mesa del Ocote 34570 Tamazula, Dgo. | 34570 |
| Cerrada Fresno 108 Capitán Felipe Castellanos Díaz 86965 Balancán, Tab. | 86965 |
| Andador Benito Juárez 455 Depto. 39 Bachiniva Centro 31660 Bachíniva, Chih. | 31660 |
| Avenida Jacarandas 760 Insurgentes 36583 Irapuato, Gto. | 36583 |
| Boulevard Morelos 1 Insurgentes 82430 Escuinapa, Sin. | 82430 |
| Andador Francisco Villa 1218 Int. 12 El Puyucum 29834 Simojovel, Chis. | 29834 |
| Boulevard Morelos 1166 Casas Blancas 38163 Apaseo el Grande, Gto. | 38163 |
States of Mexico
Pick one in the generator above to keep every address inside it. Postcode prefixes are from Google’s address metadata.
| State | Abbreviation | Localities | Postcode prefix |
|---|---|---|---|
| Aguascalientes | Ags. | 37 | 20 |
| Baja California | B.C. | 64 | 21, 22 |
| Baja California Sur | B.C.S. | 27 | 23 |
| Campeche | Camp. | 36 | 24 |
| Chiapas | Chis. | 208 | 29, 30 |
| Chihuahua | Chih. | 254 | 31–33 |
| Ciudad de México | 56 | ||
| Coahuila de Zaragoza | Coah. | 109 | 25–27 |
| Colima | Col. | 23 | 28 |
| Durango | Dgo. | 194 | 34, 35 |
| Estado de México | Méx. | 225 | 50–57 |
| Guanajuato | Gto. | 269 | 36–38 |
| Guerrero | Gro. | 135 | 39–41 |
| Hidalgo | Hgo. | 170 | 42, 43 |
| Jalisco | Jal. | 157 | 44–49 |
| Michoacán | Mich. | 281 | 58–61 |
| Morelos | Mor. | 48 | 62 |
| Nayarit | Nay. | 55 | 63 |
| Nuevo León | N.L. | 137 | 64–67 |
| Oaxaca | Oax. | 169 | 68–71 |
| Puebla | Pue. | 144 | 72–75 |
| Querétaro | Qro. | 88 | 76 |
| Quintana Roo | Q.R. | 33 | 77 |
| San Luis Potosí | S.L.P. | 167 | 78, 79 |
| Sinaloa | Sin. | 102 | 80–82 |
| Sonora | Son. | 259 | 83–85 |
| Tabasco | Tab. | 75 | 86 |
| Tamaulipas | Tamps. | 88 | 87–89 |
| Tlaxcala | Tlax. | 42 | 90 |
| Veracruz | Ver. | 246 | 91–96 |
| Yucatán | Yuc. | 52 | 97 |
| Zacatecas | Zac. | 49 | 98, 99 |