blob: 29152400fd28d374e06bd22e4e9a8b001651d829 [file] [log] [blame]
Simon Hunt02183be2015-12-01 16:29:41 -08001<!DOCTYPE html>
2<!--
3 *
Brian O'Connor5ab426f2016-04-09 01:19:45 -07004 * Copyright 2016-present Open Networking Laboratory
Simon Hunt02183be2015-12-01 16:29:41 -08005 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17 *
18-->
19<html lang="en">
20<head>
21 <title>2-Letter, 3-Letter, Country Codes for All Countries in the World</title>
22 <meta charset="utf-8">
23 <script charset="utf-8" src="../../tp/jquery-2.1.1.min.js"></script>
24</head>
25<body>
26
27<style type="text/css" scoped>
28 body {
29 font-family: Helvetica Neue, Helvetica, Arial, sans-serif ;
30 background-color: #eef;
31 }
32 .mainContent {
33 margin: auto;
34 width: 800px;
35 background-color: #ddf;
36 padding: 8px;
37 }
38
39 table {
40 margin: auto;
41 }
42 th {
43 font-style: italic;
44 text-align: left;
45 background-color: #aad;
46 color: #66c;
47 padding: 4px;
48 }
49 td {
50 padding: 4px;
51 }
52 td.code {
53 font-family: monospace;
54 font-size: 120%;
55 }
56 td.num {
57 text-align: right;
58 }
59 tr:nth-child(even) {
60 background-color: #dde;
61 }
62 tr:nth-child(odd) {
63 background-color: #eef;
64 }
65
66</style>
67
68<div class="content">
69 <div class="mainContent">
70 <div class="miscTxt">
71 <header>
72 <h1>Complete List of Country Codes </h1>
73 </header>
74 <p>
75 The 2-letter codes shown below are supplied by the ISO
76 (<i>International Organization for Standardization</i>).
77 It bases its list of country names and abbreviations on
78 the list of names published by the United Nations.
79 The UN also uses 3-letter codes, and numerical codes
80 to identify nations.
81 </p>
82
83 <table>
84 <thead>
85 <tr>
86 <th> Country </th>
87 <th> A2 (ISO) </th>
88 <th> A3 (UN) </th>
89 <th> NUM (UN) </th>
90 </tr>
91 </thead>
92 <tbody id="codes-body">
93 </tbody>
94 </table>
95 </div>
96 </div>
97</div>
98
99<script type="text/javascript">
100
101 var data = [
102 [ 'Afghanistan', 'AF', 'AFG', 4 ],
103 [ 'Albania', 'AL', 'ALB', 8 ],
104 [ 'Algeria', 'DZ', 'DZA', 12 ],
105 [ 'American Samoa''AS', 'ASM', 16 ],
106 [ 'Andorra', 'AD', 'AND', 20 ],
107 [ 'Angola', 'AO', 'AGO', 24 ],
108 [ 'Anguilla', 'AI', 'AIA', 660 ],
109 [ 'Antarctica', 'AQ', 'ATA', 10 ],
110 [ 'Antigua and Barbuda', 'AG', 'ATG', 28 ],
111 [ 'Argentina', 'AR', 'ARG', 32 ],
112 [ 'Armenia', 'AM', 'ARM', 51 ],
113 [ 'Aruba', 'AW', 'ABW', 533 ],
114 [ 'Australia', 'AU', 'AUS', 36 ],
115 [ 'Austria', 'AT', 'AUT', 40 ],
116 [ 'Azerbaijan', 'AZ', 'AZE', 31 ],
117 [ 'Bahamas', 'BS', 'BHS', 44 ],
118 [ 'Bahrain', 'BH', 'BHR', 48 ],
119 [ 'Bangladesh', 'BD', 'BGD', 50 ],
120 [ 'Barbados', 'BB', 'BRB', 52 ],
121 [ 'Belarus', 'BY', 'BLR', 112 ],
122 [ 'Belgium', 'BE', 'BEL', 56 ],
123 [ 'Belize', 'BZ', 'BLZ', 84 ],
124 [ 'Benin', 'BJ', 'BEN', 204 ],
125 [ 'Bermuda', 'BM', 'BMU', 60 ],
126 [ 'Bhutan', 'BT', 'BTN', 64 ],
127 [ 'Bolivia', 'BO', 'BOL', 68 ],
128 [ 'Bonaire', 'BQ', 'BES', 535 ],
129 [ 'Bosnia and Herzegovina', 'BA', 'BIH', 70 ],
130 [ 'Botswana', 'BW', 'BWA', 72 ],
131 [ 'Bouvet Island', 'BV', 'BVT', 74 ],
132 [ 'Brazil', 'BR', 'BRA', 76 ],
133 [ 'British Indian Ocean Territory', 'IO', 'IOT', 86 ],
134 [ 'Brunei Darussalam', 'BN', 'BRN', 96 ],
135 [ 'Bulgaria', 'BG', 'BGR', 100 ],
136 [ 'Burkina Faso', 'BF', 'BFA', 854 ],
137 [ 'Burundi', 'BI', 'BDI', 108 ],
138 [ 'Cambodia', 'KH', 'KHM', 116 ],
139 [ 'Cameroon', 'CM', 'CMR', 120 ],
140 [ 'Canada', 'CA', 'CAN', 124 ],
141 [ 'Cape Verde', 'CV', 'CPV', 132 ],
142 [ 'Cayman Islands', 'KY', 'CYM', 136 ],
143 [ 'Central African Republic', 'CF', 'CAF', 140 ],
144 [ 'Chad', 'TD', 'TCD', 148 ],
145 [ 'Chile', 'CL', 'CHL', 152 ],
146 [ 'China', 'CN', 'CHN', 156 ],
147 [ 'Christmas Island', 'CX', 'CXR', 162 ],
148 [ 'Cocos (Keeling) Islands', 'CC', 'CCK', 166 ],
149 [ 'Colombia', 'CO', 'COL', 170 ],
150 [ 'Comoros', 'KM', 'COM', 174 ],
151 [ 'Congo', 'CG', 'COG', 178 ],
152 [ 'Democratic Republic of the Congo', 'CD', 'COD', 180 ],
153 [ 'Cook Islands', 'CK', 'COK', 184 ],
154 [ 'Costa Rica', 'CR', 'CRI', 188 ],
155 [ 'Croatia', 'HR', 'HRV', 191 ],
156 [ 'Cuba', 'CU', 'CUB', 192 ],
157 [ 'Curaçao', 'CW', 'CUW', 531 ],
158 [ 'Cyprus', 'CY', 'CYP', 196 ],
159 [ 'Czech Republic', 'CZ', 'CZE', 203 ],
160 [ 'Côte dIvoire', 'CI', 'CIV', 384 ],
161 [ 'Denmark', 'DK', 'DNK', 208 ],
162 [ 'Djibouti', 'DJ', 'DJI', 262 ],
163 [ 'Dominica', 'DM', 'DMA', 212 ],
164 [ 'Dominican Republic', 'DO', 'DOM', 214 ],
165 [ 'Ecuador', 'EC', 'ECU', 218 ],
166 [ 'Egypt', 'EG', 'EGY', 818 ],
167 [ 'El Salvador', 'SV', 'SLV', 222 ],
168 [ 'Equatorial Guinea', 'GQ', 'GNQ', 226 ],
169 [ 'Eritrea', 'ER', 'ERI', 232 ],
170 [ 'Estonia', 'EE', 'EST', 233 ],
171 [ 'Ethiopia', 'ET', 'ETH', 231 ],
172 [ 'Falkland Islands (Malvinas)', 'FK', 'FLK', 238 ],
173 [ 'Faroe Islands', 'FO', 'FRO', 234 ],
174 [ 'Fiji', 'FJ', 'FJI', 242 ],
175 [ 'Finland', 'FI', 'FIN', 246 ],
176 [ 'France', 'FR', 'FRA', 250 ],
177 [ 'French Guiana', 'GF', 'GUF', 254 ],
178 [ 'French Polynesia', 'PF', 'PYF', 258 ],
179 [ 'French Southern Territories', 'TF', 'ATF', 260 ],
180 [ 'Gabon', 'GA', 'GAB', 266 ],
181 [ 'Gambia', 'GM', 'GMB', 270 ],
182 [ 'Georgia', 'GE', 'GEO', 268 ],
183 [ 'Germany', 'DE', 'DEU', 276 ],
184 [ 'Ghana', 'GH', 'GHA', 288 ],
185 [ 'Gibraltar', 'GI', 'GIB', 292 ],
186 [ 'Greece', 'GR', 'GRC', 300 ],
187 [ 'Greenland', 'GL', 'GRL', 304 ],
188 [ 'Grenada', 'GD', 'GRD', 308 ],
189 [ 'Guadeloupe', 'GP', 'GLP', 312 ],
190 [ 'Guam', 'GU', 'GUM', 316 ],
191 [ 'Guatemala', 'GT', 'GTM', 320 ],
192 [ 'Guernsey', 'GG', 'GGY', 831 ],
193 [ 'Guinea', 'GN', 'GIN', 324 ],
194 [ 'Guinea-Bissau', 'GW', 'GNB', 624 ],
195 [ 'Guyana', 'GY', 'GUY', 328 ],
196 [ 'Haiti', 'HT', 'HTI', 332 ],
197 [ 'Heard Island and McDonald Mcdonald Islands', 'HM', 'HMD', 334 ],
198 [ 'Holy See (Vatican City State)', 'VA', 'VAT', 336 ],
199 [ 'Honduras', 'HN', 'HND', 340 ],
200 [ 'Hong Kong', 'HK', 'HKG', 344 ],
201 [ 'Hungary', 'HU', 'HUN', 348 ],
202 [ 'Iceland', 'IS', 'ISL', 352 ],
203 [ 'India', 'IN', 'IND', 356 ],
204 [ 'Indonesia', 'ID', 'IDN', 360 ],
205 [ 'Iran, Islamic Republic of', 'IR', 'IRN', 364 ],
206 [ 'Iraq', 'IQ', 'IRQ', 368 ],
207 [ 'Ireland', 'IE', 'IRL', 372 ],
208 [ 'Isle of Man', 'IM', 'IMN', 833 ],
209 [ 'Israel', 'IL', 'ISR', 376 ],
210 [ 'Italy', 'IT', 'ITA', 380 ],
211 [ 'Jamaica', 'JM', 'JAM', 388 ],
212 [ 'Japan', 'JP', 'JPN', 392 ],
213 [ 'Jersey', 'JE', 'JEY', 832 ],
214 [ 'Jordan', 'JO', 'JOR', 400 ],
215 [ 'Kazakhstan', 'KZ', 'KAZ', 398 ],
216 [ 'Kenya', 'KE', 'KEN', 404 ],
217 [ 'Kiribati', 'KI', 'KIR', 296 ],
218 [ 'Korea, Democratic People\'s Republic of', 'KP', 'PRK', 408 ],
219 [ 'Korea, Republic of', 'KR', 'KOR', 410 ],
220 [ 'Kuwait', 'KW', 'KWT', 414 ],
221 [ 'Kyrgyzstan', 'KG', 'KGZ', 417 ],
222 [ 'Lao People\'s Democratic Republic', 'LA', 'LAO', 418 ],
223 [ 'Latvia', 'LV', 'LVA', 428 ],
224 [ 'Lebanon', 'LB', 'LBN', 422 ],
225 [ 'Lesotho', 'LS', 'LSO', 426 ],
226 [ 'Liberia', 'LR', 'LBR', 430 ],
227 [ 'Libya', 'LY', 'LBY', 434 ],
228 [ 'Liechtenstein', 'LI', 'LIE', 438 ],
229 [ 'Lithuania', 'LT', 'LTU', 440 ],
230 [ 'Luxembourg', 'LU', 'LUX', 442 ],
231 [ 'Macao', 'MO', 'MAC', 446 ],
232 [ 'Macedonia, the Former Yugoslav Republic of', 'MK', 'MKD', 807 ],
233 [ 'Madagascar', 'MG', 'MDG', 450 ],
234 [ 'Malawi', 'MW', 'MWI', 454 ],
235 [ 'Malaysia', 'MY', 'MYS', 458 ],
236 [ 'Maldives', 'MV', 'MDV', 462 ],
237 [ 'Mali', 'ML', 'MLI', 466 ],
238 [ 'Malta', 'MT', 'MLT', 470 ],
239 [ 'Marshall Islands', 'MH', 'MHL', 584 ],
240 [ 'Martinique', 'MQ', 'MTQ', 474 ],
241 [ 'Mauritania', 'MR', 'MRT', 478 ],
242 [ 'Mauritius', 'MU', 'MUS', 480 ],
243 [ 'Mayotte', 'YT', 'MYT', 175 ],
244 [ 'Mexico', 'MX', 'MEX', 484 ],
245 [ 'Micronesia, Federated States of', 'FM', 'FSM', 583 ],
246 [ 'Moldova, Republic of', 'MD', 'MDA', 498 ],
247 [ 'Monaco', 'MC', 'MCO', 492 ],
248 [ 'Mongolia', 'MN', 'MNG', 496 ],
249 [ 'Montenegro', 'ME', 'MNE', 499 ],
250 [ 'Montserrat', 'MS', 'MSR', 500 ],
251 [ 'Morocco', 'MA', 'MAR', 504 ],
252 [ 'Mozambique', 'MZ', 'MOZ', 508 ],
253 [ 'Myanmar', 'MM', 'MMR', 104 ],
254 [ 'Namibia', 'NA', 'NAM', 516 ],
255 [ 'Nauru', 'NR', 'NRU', 520 ],
256 [ 'Nepal', 'NP', 'NPL', 524 ],
257 [ 'Netherlands', 'NL', 'NLD', 528 ],
258 [ 'New Caledonia', 'NC', 'NCL', 540 ],
259 [ 'New Zealand', 'NZ', 'NZL', 554 ],
260 [ 'Nicaragua', 'NI', 'NIC', 558 ],
261 [ 'Niger', 'NE', 'NER', 562 ],
262 [ 'Nigeria', 'NG', 'NGA', 566 ],
263 [ 'Niue', 'NU', 'NIU', 570 ],
264 [ 'Norfolk Island', 'NF', 'NFK', 574 ],
265 [ 'Northern Mariana Islands', 'MP', 'MNP', 580 ],
266 [ 'Norway', 'NO', 'NOR', 578 ],
267 [ 'Oman', 'OM', 'OMN', 512 ],
268 [ 'Pakistan', 'PK', 'PAK', 586 ],
269 [ 'Palau', 'PW', 'PLW', 585 ],
270 [ 'Palestine, State of', 'PS', 'PSE', 275 ],
271 [ 'Panama', 'PA', 'PAN', 591 ],
272 [ 'Papua New Guinea', 'PG', 'PNG', 598 ],
273 [ 'Paraguay', 'PY', 'PRY', 600 ],
274 [ 'Peru', 'PE', 'PER', 604 ],
275 [ 'Philippines', 'PH', 'PHL', 608 ],
276 [ 'Pitcairn', 'PN', 'PCN', 612 ],
277 [ 'Poland', 'PL', 'POL', 616 ],
278 [ 'Portugal', 'PT', 'PRT', 620 ],
279 [ 'Puerto Rico', 'PR', 'PRI', 630 ],
280 [ 'Qatar', 'QA', 'QAT', 634 ],
281 [ 'Romania', 'RO', 'ROU', 642 ],
282 [ 'Russian Federation', 'RU', 'RUS', 643 ],
283 [ 'Rwanda', 'RW', 'RWA', 646 ],
284 [ 'Reunion', 'RE', 'REU', 638 ],
285 [ 'Saint Barthalemy', 'BL', 'BLM', 652 ],
286 [ 'Saint Helena', 'SH', 'SHN', 654 ],
287 [ 'Saint Kitts and Nevis', 'KN', 'KNA', 659 ],
288 [ 'Saint Lucia', 'LC', 'LCA', 662 ],
289 [ 'Saint Martin (French part)', 'MF', 'MAF', 663 ],
290 [ 'Saint Pierre and Miquelon', 'PM', 'SPM', 666 ],
291 [ 'Saint Vincent and the Grenadines', 'VC', 'VCT', 670 ],
292 [ 'Samoa', 'WS', 'WSM', 882 ],
293 [ 'San Marino', 'SM', 'SMR', 674 ],
294 [ 'Sao Tome and Principe', 'ST', 'STP', 678 ],
295 [ 'Saudi Arabia', 'SA', 'SAU', 682 ],
296 [ 'Senegal', 'SN', 'SEN', 686 ],
297 [ 'Serbia', 'RS', 'SRB', 688 ],
298 [ 'Seychelles', 'SC', 'SYC', 690 ],
299 [ 'Sierra Leone', 'SL', 'SLE', 694 ],
300 [ 'Singapore', 'SG', 'SGP', 702 ],
301 [ 'Sint Maarten (Dutch part)', 'SX', 'SXM', 534 ],
302 [ 'Slovakia', 'SK', 'SVK', 703 ],
303 [ 'Slovenia', 'SI', 'SVN', 705 ],
304 [ 'Solomon Islands', 'SB', 'SLB', 90 ],
305 [ 'Somalia', 'SO', 'SOM', 706 ],
306 [ 'South Africa', 'ZA', 'ZAF', 710 ],
307 [ 'South Georgia and the South Sandwich Islands', 'GS', 'SGS', 239 ],
308 [ 'South Sudan', 'SS', 'SSD', 728 ],
309 [ 'Spain', 'ES', 'ESP', 724 ],
310 [ 'Sri Lanka', 'LK', 'LKA', 144 ],
311 [ 'Sudan', 'SD', 'SDN', 729 ],
312 [ 'Suriname', 'SR', 'SUR', 740 ],
313 [ 'Svalbard and Jan Mayen', 'SJ', 'SJM', 744 ],
314 [ 'Swaziland', 'SZ', 'SWZ', 748 ],
315 [ 'Sweden', 'SE', 'SWE', 752 ],
316 [ 'Switzerland', 'CH', 'CHE', 756 ],
317 [ 'Syrian Arab Republic', 'SY', 'SYR', 760 ],
318 [ 'Taiwan, Province of China', 'TW', 'TWN', 158 ],
319 [ 'Tajikistan', 'TJ', 'TJK', 762 ],
320 [ 'United Republic of Tanzania', 'TZ', 'TZA', 834 ],
321 [ 'Thailand', 'TH', 'THA', 764 ],
322 [ 'Timor-Leste', 'TL', 'TLS', 626 ],
323 [ 'Togo', 'TG', 'TGO', 768 ],
324 [ 'Tokelau', 'TK', 'TKL', 772 ],
325 [ 'Tonga', 'TO', 'TON', 776 ],
326 [ 'Trinidad and Tobago', 'TT', 'TTO', 780 ],
327 [ 'Tunisia', 'TN', 'TUN', 788 ],
328 [ 'Turkey', 'TR', 'TUR', 792 ],
329 [ 'Turkmenistan', 'TM', 'TKM', 795 ],
330 [ 'Turks and Caicos Islands', 'TC', 'TCA', 796 ],
331 [ 'Tuvalu', 'TV', 'TUV', 798 ],
332 [ 'Uganda', 'UG', 'UGA', 800 ],
333 [ 'Ukraine', 'UA', 'UKR', 804 ],
334 [ 'United Arab Emirates', 'AE', 'ARE', 784 ],
335 [ 'United Kingdom', 'GB', 'GBR', 826 ],
336 [ 'United States', 'US', 'USA', 840 ],
337 [ 'United States Minor Outlying Islands', 'UM', 'UMI', 581 ],
338 [ 'Uruguay', 'UY', 'URY', 858 ],
339 [ 'Uzbekistan', 'UZ', 'UZB', 860 ],
340 [ 'Vanuatu', 'VU', 'VUT', 548 ],
341 [ 'Venezuela', 'VE', 'VEN', 862 ],
342 [ 'Viet Nam', 'VN', 'VNM', 704 ],
343 [ 'British Virgin Islands', 'VG', 'VGB', 92 ],
344 [ 'US Virgin Islands', 'VI', 'VIR', 850 ],
345 [ 'Wallis and Futuna', 'WF', 'WLF', 876 ],
346 [ 'Western Sahara', 'EH', 'ESH', 732 ],
347 [ 'Yemen', 'YE', 'YEM', 887 ],
348 [ 'Zambia', 'ZM', 'ZMB', 894 ],
349 [ 'Zimbabwe', 'ZW', 'ZWE', 716 ],
350 [ 'Aland Islands', 'AX', 'ALA', 248 ]
351 ];
352
353 var bod = $('#codes-body');
354
355 function addRow(name, a2, a3, num) {
356 bod.append('<tr>' +
357 '<td>'+ name + '</td>' +
358 '<td class="code">'+ a2 + '</td>' +
359 '<td class="code">'+ a3 + '</td>' +
360 '<td class="num">'+ num + '</td>' +
361 '</tr>');
362 }
363
364 function loadRows() {
365 data.forEach(function (d) {
366 if (d.length) {
367 addRow(d[0], d[1], d[2], d[3]);
368 }
369 });
370 }
371
372 loadRows();
373</script>
374
375</body>
376</html>