El Salvador
ISO 3166-1 country codes and official ISO 3166-2 subdivisions for El Salvador. Use them in forms, validation, and CountriesDB integrations.
About El Salvador codes
Need El Salvador (SV) for a checkout form, shipping zone, or backend validation? This page summarizes the ISO 3166-1 country codes and official subdivisions developers use with CountriesDB.
This guide lists 14 official ISO 3166-2 subdivisions for El Salvador. These are the same codes CountriesDB serves through widgets and the Backend Data API.
For production, use the CountriesDB country/subdivision widget or fetch El Salvador from the Data API and validate codes server-side instead of copying values from this page.
ISO codes
Official subdivisions (14)
Official ISO 3166-2 codes for El Salvador. Use these values in region/state selects and server-side validation, not informal or marketing region names.
| Code | Name | Type |
|---|---|---|
| SV-AH | Ahuachapán | department |
| SV-CA | Cabañas | department |
| SV-CH | Chalatenango | department |
| SV-CU | Cuscatlán | department |
| SV-LI | La Libertad | department |
| SV-PA | La Paz | department |
| SV-UN | La Unión | department |
| SV-MO | Morazán | department |
| SV-SM | San Miguel | department |
| SV-SS | San Salvador | department |
| SV-SV | San Vicente | department |
| SV-SA | Santa Ana | department |
| SV-SO | Sonsonate | department |
| SV-US | Usulután | department |
Frequently asked questions
- What is the ISO 3166-1 code for El Salvador?
- El Salvador uses ISO 3166-1 alpha-2 SV, alpha-3 SLV, and numeric 222. These codes show up in forms, shipping, banking, and APIs.
- How many official ISO 3166-2 subdivisions does El Salvador have?
- CountriesDB lists 14 official ISO 3166-2 subdivisions for El Salvador (states, provinces, regions, or equivalent). Use them when you validate region selects and shipping zones.
- How do I use El Salvador country and subdivision data in a form?
- Use the CountriesDB widget or Data API to fill country and subdivision selects for El Salvador, then validate submitted codes with the Validation API so alpha-2 and ISO 3166-2 values stay consistent.
Use El Salvador in your app
Add CountriesDB country and subdivision selects with the widget docs, or call the Backend Data API for El Salvador (SV) and validate submissions with the Validation API. Guides stay in sync with the same dataset your project keys already use. widget docs.