5.2. Country and State Codes

5.2.1. Two-Letter Country Codes

Country ID Country Code
1 Åland Islands AX
2 Afghanistan AF
3 Albania AL
4 Algeria DZ
5 American Samoa AS
6 Andorra AD
7 Angola AO
8 Anguilla AI
9 Antarctica AQ
10 Antigua and Barbuda AG
11 Argentina AR
12 Armenia AM
13 Aruba AW
14 Australia AU
15 Austria AT
16 Azerbaijan AZ
17 Bahamas BS
18 Bahrain BH
19 Bangladesh BD
20 Barbados BB
21 Belarus BY
22 Belgium BE
23 Belize BZ
24 Benin BJ
25 Bermuda BM
26 Bhutan BT
27 Bolivia, Plurinational State of BO
28 Bosnia and Herzegovina BA
29 Botswana BW
30 Bouvet Island BV
31 Brazil BR
32 British Indian Ocean Territory IO
33 Brunei Darussalam BN
34 Bulgaria BG
35 Burkina Faso BF
36 Burundi BI
37 Cambodia KH
38 Cameroon CM
39 Canada CA
40 Cabo Verde CV
41 Cayman Islands KY
42 Central African Republic CF
43 Chad TD
44 Chile CL
45 China CN
46 Christmas Island CX
47 Cocos (Keeling) Islands CC
48 Colombia CO
49 Comoros KM
50 Congo CG
51 Congo, the Democratic Republic of the CD
52 Cook Islands CK
53 Costa Rica CR
54 Cote d’Ivoire CI
55 Croatia HR
56 Cuba CU
57 Cyprus CY
58 Czech Republic CZ
59 Denmark DK
60 Djibouti DJ
61 Dominica DM
62 Dominican Republic DO
63 Ecuador EC
64 Egypt EG
65 El Salvador SV
66 Equatorial Guinea GQ
67 Eritrea ER
68 Estonia EE
69 Ethiopia ET
70 Falkland Islands (Malvinas) FK
71 Faroe Islands FO
72 Fiji FJ
73 Finland FI
74 France FR
75 French Guiana GF
76 French Polynesia PF
77 French Southern Territories TF
78 Gabon GA
79 Gambia GM
80 Georgia GE
81 Germany DE
82 Ghana GH
83 Gibraltar GI
84 Greece GR
85 Greenland GL
86 Grenada GD
87 Guadeloupe GP
88 Guam GU
89 Guatemala GT
90 Guernsey GG
91 Guinea GN
92 Guinea-Bissau GW
93 Guyana GY
94 Haiti HT
95 Heard Island and McDonald Islands HM
96 Holy See (Vatican City State) VA
97 Honduras HN
98 Hong Kong HK
99 Hungary HU
100 Iceland IS
101 India IN
102 Indonesia ID
103 Iran, Islamic Republic of IR
104 Iraq IQ
105 Ireland IE
106 Isle of Man IM
107 Israel IL
108 Italy IT
109 Jamaica JM
110 Japan JP
111 Jersey JE
112 Jordan JO
113 Kazakhstan KZ
114 Kenya KE
115 Kosovo QZ
116 Kiribati KI
117 Korea, Democratic People’s Republic of KP
118 Korea, Republic of KR
119 Kuwait KW
120 Kyrgyzstan KG
121 Lao People’s Democratic Republic LA
122 Latvia LV
123 Lebanon LB
124 Lesotho LS
125 Liberia LR
126 Libya LY
127 Liechtenstein LI
128 Lithuania LT
129 Luxembourg LU
130 Macao MO
131 Macedonia, the former Yugoslav Republic of MK
132 Madagascar MG
133 Malawi MW
134 Malaysia MY
135 Maldives MV
136 Mali ML
137 Malta MT
138 Marshall Islands MH
139 Martinique MQ
140 Mauritania MR
141 Mauritius MU
142 Mayotte YT
143 Mexico MX
144 Micronesia, Federated States of FM
145 Moldova, Republic of MD
146 Monaco MC
147 Mongolia MN
148 Montenegro ME
149 Montserrat MS
150 Morocco MA
151 Mozambique MZ
152 Myanmar MM
153 Namibia NA
154 Nauru NR
155 Nepal NP
156 Netherlands NL
157 Netherlands Antilles AN
158 New Caledonia NC
159 New Zealand NZ
160 Nicaragua NI
161 Niger NE
162 Nigeria NG
163 Niue NU
164 Norfolk Island NF
165 Northern Mariana Islands MP
166 Norway NO
167 Oman OM
168 Pakistan PK
169 Palau PW
170 Palestine, State of PS
171 Panama PA
172 Papua New Guinea PG
173 Paraguay PY
174 Peru PE
175 Philippines PH
176 Pitcairn PN
177 Poland PL
178 Portugal PT
179 Puerto Rico PR
180 Qatar QA
181 Reunion RE
182 Romania RO
183 Russian Federation RU
184 Rwanda RW
185 Saint Barthelemy BL
186 Saint Helena, Ascension and Tristan da Cunha SH
187 Saint Kitts and Nevis KN
188 Saint Lucia LC
189 Saint Martin (French part) MF
190 Saint Pierre and Miquelon PM
191 Saint Vincent and the Grenadines VC
192 Samoa WS
193 San Marino SM
194 Sao Tome and Principe ST
195 Saudi Arabia SA
196 Senegal SN
197 Serbia RS
198 Seychelles SC
199 Sierra Leone SL
200 Singapore SG
201 Slovakia SK
202 Slovenia SI
203 Solomon Islands SB
204 Somalia SO
205 South Africa ZA
206 South Georgia and the South Sandwich Islands GS
207 Spain ES
208 Sri Lanka LK
209 Sudan SD
210 Suriname SR
211 Svalbard and Jan Mayen SJ
212 Swaziland SZ
213 Sweden SE
214 Switzerland CH
215 Syrian Arab Republic SY
216 Taiwan, Province of China TW
217 Tajikistan TJ
218 Tanzania, United Republic of TZ
219 Thailand TH
220 Timor-Leste TL
221 Togo TG
222 Tokelau TK
223 Tonga TO
224 Trinidad and Tobago TT
225 Tunisia TN
226 Turkey TR
227 Turkmenistan TM
228 Turks and Caicos Islands TC
229 Tuvalu TV
230 Uganda UG
231 Ukraine UA
232 United Arab Emirates AE
233 United Kingdom GB
234 United States US
235 United States Minor Outlying Islands UM
236 Uruguay UY
237 Uzbekistan UZ
238 Vanuatu VU
239 Venezuela, Bolivarian Republic of VE
240 Viet Nam VN
241 Virgin Islands, British VG
242 Virgin Islands, U.S. VI
243 Wallis and Futuna WF
244 Western Sahara EH
245 Yemen YE
246 Zambia ZM
247 Zimbabwe ZW
248 Europe EU
249 Asia/Pacific Region AP
250 Satellite Provider A2
251 Anonymous Proxy A1
252 Sint Maarten (Dutch part) SX
253 Curaçao CW
254 Bonaire, Sint Eustatius and Saba BQ
255 South Sudan SS

5.2.2. State Codes

Country State Code State Name
AU ACT Australian Capital Territory
AU NSW New South Wales
AU NT Northern Territory
AU QLD Queensland
AU SA South Australia
AU TAS Tasmania
AU VIC Victoria
AU WA Western Australia
CA AB Alberta
CA BC British Columbia
CA MB Manitoba
CA NB New Brunswick
CA NL Newfoundland and Labrador
CA NT Northwest Territories
CA NS Nova Scotia
CA NU Nunavut
CA ON Ontario
CA PE Prince Edward Island
CA QC Quebec
CA SK Saskatchewan
CA YT Yukon
US AL Alabama
US AK Alaska
US AS American Samoa
US AZ Arizona
US AR Arkansas
US CA California
US CO Colorado
US CT Connecticut
US DE Delaware
US DC District of Columbia
US FL Florida
US GA Georgia
US GU Guam
US HI Hawaii
US ID Idaho
US IL Illinois
US IN Indiana
US IA Iowa
US KS Kansas
US KY Kentucky
US LA Louisiana
US ME Maine
US MD Maryland
US MA Massachusetts
US MI Michigan
US MN Minnesota
US MS Mississippi
US MO Missouri
US MT Montana
US NE Nebraska
US NV Nevada
US NH New Hampshire
US NJ New Jersey
US NM New Mexico
US NY New York
US NC North Carolina
US ND North Dakota
US OH Ohio
US OK Oklahoma
US OR Oregon
US PA Pennsylvania
US PR Puerto Rico
US RI Rhode Island
US SC South Carolina
US SD South Dakota
US TN Tennessee
US TX Texas
US UT Utah
US VT Vermont
US VI Virgin Islands
US VA Virginia
US WA Washington
US WV West Virginia
US WI Wisconsin
US WY Wyoming