Officially assigned code elements
The following is a complete ISO 3166-1 encoding list of the countries which are assigned official codes. It is listed in alphabetical order by the English short country name (upper/lower case) used by the ISO 3166/MA.
Click on the button in the header to sort each column. For more information on each country and the assignment of its code elements, click on its alpha-2 code.
Reserved and user-assigned code elements
Besides the officially assigned codes, code elements may be expanded by using either reserved codes or user-assigned codes.
Reserved code elements are codes which have become obsolete, or are required in order to enable a particular user application of the standard but do not qualify for inclusion in ISO 3166-1. To avoid transitional application problems and to aid users who require specific additional code elements for the functioning of their coding systems, the ISO 3166/MA, when justified, reserves these codes which it undertakes not to use for other than specified purposes during a limited or indeterminate period of time. Codes are usually reserved for former countries, overseas territories, international organizations, and special nationality status. The reserved alpha-2 and alpha-3 codes can be divided into the following four categories (click on the links for the reserved codes of each category):
- Alpha-2: exceptional reservations, transitional reservations, indeterminate reservations, and codes currently agreed not to use
- Alpha-3: exceptional reservations, transitional reservations, indeterminate reservations, and codes currently agreed not to use
- Numeric: no reserved codes
User-assigned code elements are codes at the disposal of users who need to add further names of countries, territories, or other geographical entities to their in-house application of ISO 3166-1, and the ISO 3166/MA will never use these codes in the updating process of the standard. The following codes can be user-assigned:
- Alpha-2: AA, QM to QZ, XA to XZ, and ZZ
- Alpha-3: AAA to AAZ, QMA to QZZ, XAA to XZZ, and ZZA to ZZZ
- Numeric: 900 to 999
WicriGetPage -l wicri-meta.en -p "ISO_3166-1" \ | MediaWikiCleanTable \ |MediaWikiTable2SxmlRowCol \ | MediaWikiTableTransformCol -k3 -V1
- Specific uploading
WicriGetPage -l wicri-meta.en -p "ISO_3166-1" > $DILIB_IMPORT/Wicri/Data/Metadata/Iso3166En.wiki
- Global uploading
sh $DILIB_IMPORT/Wicri/Data/importWicri.sh sh $DILIB_IMPORT/Wicri/Data/installWicri.sh