Free open public domain world data in comma-separated values (CSV) format. Country code datsets include:
- alpha-2, alpha-3, numeric-3 country codes for 249 countries (incl. dependencies and overseas territories); ISO 3166-1
- olympics country codes for 204 countries (incl. dependencies and overseas territories); IOC (International Olympic Committee) codes
- football country codes for 209+13 countries (incl. dependencies and overseas territories); FIFA (Fédération Internationale de Football Association ) codes
country codes for 249 countries (incl. dependencies and overseas territories); ISO (International Organization for Standardization) 3166-1;
Example:
Code,Name
AF,Afghanistan
AX,Åland Islands
AL,Albania
DZ,Algeria
AS,American Samoa
AD,Andorra
AO,Angola
AI,Anguilla
AQ,Antarctica
AG,Antigua and Barbuda
AR,Argentina
AM,Armenia
AW,Aruba
AU,Australia
AT,Austria
AZ,Azerbaijan
...
Example:
Code,Name
AFG,Afghanistan
ALA,Åland Islands
ALB,Albania
DZA,Algeria
ASM,American Samoa
AND,Andorra
AGO,Angola
AIA,Anguilla
ATA,Antarctica
ATG,Antigua and Barbuda
ARG,Argentina
ARM,Armenia
ABW,Aruba
AUS,Australia
AUT,Austria
AZE,Azerbaijan
...
Example:
Code,Name
004,Afghanistan
248,Åland Islands
008,Albania
012,Algeria
016,American Samoa
020,Andorra
024,Angola
660,Anguilla
010,Antarctica
028,Antigua and Barbuda
032,Argentina
051,Armenia
533,Aruba
036,Australia
040,Austria
031,Azerbaijan
...
Note: The 196 countries include 193 United Nations (UN) members and 3 non-member countries, that is, Kosovo ?, Tawain ?, Palestina ?, Western Sahara ?, Vatican City ?
todo/fix: use iso codes NOT fifa; check for missing countries n territories !!!
49:
A
al
Albania (ALB)
ad
Andorra (AND)
am
Armenia (ARM)
at
Austria (AUT)
az
Azerbaijan (AZE)
B
by
Belarus (BLR)
be
Belgium (BEL)
ba
Bosnia and Herzegovina (BIH)
bg
Bulgaria (BGR)
C
hr
Croatia (HRV)
cy
Cyprus (CYP)
cz
Czech Republic (CZE)
D
dk
Denmark (DNK)
E
ee
Estonia (EST)
F
fi
Finland (FIN)
fr
France (FRA)
G
ge
Georgia (GEO)
de
Germany (DEU)
gb
Great Britain (GBR)
gr
Greece (GRC)
H
hu
Hungary (HUN)
I
is
Iceland (ISL)
ie
Irland (IRL)
it
Italy (ITA)
L
lv
Latvija (LVA)
li
Liechtenstein (LIE)
lt
Lithuania (LTU)
lu
Luxembourg (LUX)
M
mk
Macedonia (MKD)
mt
Malta (MLT)
md
Moldova (MDA)
mc
Monaco (MCO)
me
Montenegro (MNE)
N
nl
Netherlands (NLD)
no
Norway (NOR)
P
pl
Poland (POL)
pt
Portugal (PRT)
R
ro
Romania (ROU)
ru
Russia (RUS)
S
sm
San Marino (SMR)
rs
Serbia (SRB)
sk
Slovakia (SVK)
si
Slovenia (SVN)
es
Spain (ESP)
se
Sweden (SWE)
ch
Switzerland (CHE)
T
tr
Turkey (TUR)
U
ua
Ukraine (UKR)
V
va
Vatican City (VAT)
6:
Great Britain (4):
gg
Guernsey (GGY)
im
Isle of Man (IMN)
je
Jersey (JEY)
gi
Gibraltar (GIB)
Denmark (1):
fo
Faroe Islands (FRO)
Finland (1):
ax
Åland Islands (ALA)
12:
A
ar
Argentina (ARG)
B
bo
Bolivia (BOL)
br
Brazil (BRA)
C
cl
Chile (CHL)
co
Colombia (COL)
E
ec
Ecuador (ECU)
G
gy
Guyana (GUY)
P
py
Paraguay (PRY)
pe
Peru (PER)
S
sr
Suriname (SUR)
U
uy
Uruguay (URY)
V
ve
Venezuela (VEN)
4:
Great Britain (3):
fk
Falkland Islands (FLK)
gs
South Georgia and South Sandwich (SGS)
sh
Saint Helena (SHN)
France (1):
gf
French Guiana (GUF)
3:
C
ca
Canada (CAN)
M
mx
México (MEX)
U
us
United States (USA)
2:
Denmark (1):
gl
Greenland (GRL)
France (1):
pm
Saint Pierre and Miquelon (SPM)
7:
B
bz
Belize (BLZ)
C
cr
Costa Rica (CRI)
E
sv
El Salvador (SLV)
G
gt
Guatemala (GTM)
H
hn
Honduras (HND)
N
ni
Nicaragua (NIC)
P
pa
Panamá (PAN)
13:
A
ag
Antigua and Barbuda (ATG)
B
bs
Bahamas (BHS)
bb
Barbados (BRB)
C
cu
Cuba (CUB)
D
dm
Dominica (DMA)
do
Dominican Republic (DOM)
G
gd
Grenada (GRD)
H
ht
Haiti (HTI)
J
jm
Jamaica (JAM)
S
kn
Saint Kitts and Nevis (KNA)
lc
Saint Lucia (LCA)
vc
Saint Vincent and the Grenadines (VCT)
T
tt
Trinidad and Tobago (TTO)
14:
Great Britain (5):
ai
Anguilla (AIA)
bm
Bermuda (BMU)
vg
British Virgin Islands (VGB)
ky
Cayman Islands (CYM)
tc
Turks and Caicos Islands (TCA)
Netherlands (2):
aw
Aruba (ABW)
cw
Curaçao (CUW)
United States (2):
pr
Puerto Rico (PUR)
vi
United States Virgin Islands (VIR)
France (5):
gp
Guadeloupe (GPE)
mq
Martinique (MTQ)
ms
Montserrat (MSR)
bl
Saint Barthélemy (BLM)
mf
Saint Martin (French) (MAF)
54:
A
dz
Algeria (DZA)
ao
Angola (AGO)
B
bj
Benin (BEN)
bw
Botswana (BWA)
bf
Burkina Faso (BFA)
bi
Burundi (BDI)
C
cm
Cameroon (CMR)
cv
Cape Verde (CPV)
cf
Central African Republic (CAF)
td
Chad (TCD)
km
Comoros (COM)
cg
Congo (COG)
cd
Congo DR (COD)
ci
Côte d'Ivoire (CIV)
D
dj
Djibouti (DJI)
E
eg
Egypt (EGY)
gq
Equatorial Guinea (GNQ)
er
Eritrea (ERI)
et
Ethiopia (ETH)
G
ga
Gabon (GAB)
gm
Gambia (GMB)
gh
Ghana (GHA)
gn
Guinea (GIN)
gw
Guinea-Bissau (GNB)
K
ke
Kenya (KEN)
L
ls
Lesotho (LSO)
lr
Liberia (LBR)
ly
Libya (LBY)
M
mg
Madagascar (MDG)
mw
Malawi (MWI)
ml
Mali (MLI)
mr
Mauritania (MRT)
mu
Mauritius (MUS)
ma
Morocco (MAR)
mz
Mozambique (MOZ)
N
na
Namibia (NAM)
ne
Niger (NER)
ng
Nigeria (NGA)
R
rw
Rwanda (RWA)
S
sn
Senegal (SEN)
yc
Seychelles (SYC)
sl
Sierra Leone (SLE)
so
Somalia (SOM)
za
South Africa (ZAF)
ss
South Sudan (SSD)
sd
Sudan (SDN)
sz
Swaziland (SWZ)
st
São Tomé and Príncipe (STP)
T
tz
Tanzania (TZA)
tg
Togo (TGO)
tn
Tunisia (TUN)
U
ug
Uganda (UGA)
Z
zm
Zambia (ZMB)
zw
Zimbabwe (ZWE)
2:
France (2):
yt
Mayotte (MYT)
re
Réunion (REU)
14:
B
bh
Bahrain (BHR)
I
ir
Iran (IRN)
iq
Iraq (IRQ)
il
Israel (ISR)
J
jo
Jordan (JOR)
K
kw
Kuwait (KWT)
L
lb
Lebanon (LBN)
O
om
Oman (OMN)
P
ps
Palestine (PSE)
Q
qa
Qatar (QAT)
S
sa
Saudi Arabia (SAU)
sy
Syria (SYR)
U
ae
United Arab Emirates (ARE)
Y
ye
Yemen (YEM)
30:
A
af
Afghanistan (AFG)
B
bd
Bangladesh (BGD)
bt
Bhutan (BTN)
bn
Brunei (BRN)
C
kh
Cambodia (KHM)
cn
China (CHN)
I
in
India (IND)
id
Indonesia (IDN)
J
jp
Japan (JPN)
K
kz
Kazakhstan (KAZ)
kg
Kyrgyzstan (KGZ)
L
la
Laos (LAO)
M
my
Malaysia (MYS)
mv
Maldives (MDV)
mn
Mongolia (MNG)
mm
Myanmar (MMR)
N
np
Nepal (NPL)
kp
North Korea (PRK)
P
pk
Pakistan (PAK)
ph
Philippines (PHL)
S
sg
Singapore (SGB)
kr
South Korea (KOR)
lk
Sri Lanka (LKA)
T
tw
Taiwan (TWN)
tj
Tajikistan (TJK)
th
Thailand (THA)
tl
Timor-Leste (TLS)
tm
Turkmenistan (TKM)
U
uz
Uzbekistan (UZB)
V
vn
Vietnam (VNM)
5:
China (2):
hk
Hong Kong (HKG)
mo
Macau (MAC)
Great Britain (1):
io
British Indian Ocean Territory (IOT)
Australia (2):
cx
Christmas Island (CXR)
cc
Cocos (Keeling) Islands (CCK)
14:
A
au
Australia (AUS)
F
fj
Fiji (FJI)
K
ki
Kiribati (KIR)
M
mh
Marshall Islands (MHL)
fm
Micronesia (FSM)
N
nr
Nauru (NRU)
nz
New Zealand (NZL)
P
pw
Palau (PLW)
pg
Papua New Guinea (PNG)
S
ws
Samoa (WSM)
sb
Solomon Islands (SLB)
T
to
Tonga (TON)
tv
Tuvalu (TUV)
V
vu
Vanuatu (VUT)
11:
United States (3):
as
American Samoa (ASM)
gu
Guam (GUM)
mp
Northern Mariana Islands (MNP)
New Zealand (3):
ck
Cook Islands (COK)
nu
Niue (NIU)
tk
Tokelau (TKL)
France (3):
nc
New Caledonia (NCL)
pf
Tahiti (TAH)
wf
Wallis and Futuna (WLF)
Great Britain (1):
pn
Pitcairn Islands (PCN)
Australia (1):
nf
Norfolk Island (NFK)
1: aq
Antarctica (ATA)
olympics country codes for 204 countries (and dependent territories); IOC (International Olympic Committee) codes; Example:
Code,Name
AFG,Afghanistan
ALB,Albania
ALG,Algeria
AND,Andorra
ANG,Angola
ANT,Antigua and Barbuda
ARG,Argentina
ARM,Armenia
ARU,Aruba
ASA,American Samoa
AUS,Australia
AUT,Austria
AZE,Azerbaijan
...
football country codes for 209+13 countries (and dependent territories); FIFA (Fédération Internationale de Football Association ) codes; Example:
Code,Name
AFG,Afghanistan
ALB,Albania
ALG,Algeria
ASA,American Samoa
AND,Andorra
ANG,Angola
AIA,Anguilla
ATG,Antigua and Barbuda
ARG,Argentina
ARM,Armenia
ARU,Aruba
ARU,Australia
AUT,Austria
AZE,Azerbaijan
...
Note: 13 countries (and ?? territories) not FIFA members but members of continental confederations (AFC, CAF, CONCACAF, CONMEBOL, OFC and UEFA):
AFC (Asia): Northern Mariana Islands
CAF (Africa): Réunion, Zanzibar
CONCACAF (North and Central America and Caribbean): Bonaire, French Guiana, Guadeloupe, Martinique, Saint-Martin (French), Sint Maarten (Dutch)
OFC (Oceania): Kiribati, Niue, Tuvalu
UEFA (Europe): Gibraltar
Note: 7 countries not affiliated:
Micronesia, Nauru, Palau, Marshall Islands, Monaco, Vatican City, Great Britain
Note: FIFA includes England, Scotland, Wales n Northern Island but NOT Great Britain
Send them along to the Open World Database (world.db) and Friends Forum/Mailing List. Thanks!