Back to The Lab

List EU countries and ISO 3166-1 Alpha-3 code (iso3) – CSV and Array

You’d be surprised just how many times we have to look this up when building some e-commerce solution or other – and today was no exception.

No one else seems to have put together an up to date list of just EU countries (as of 2013 2020) and their ISO Alpha-3 codes. So here is the list in a few helpful ways, including a one line CSV, CSV with country name, PHP array and a PHP array with country name.

One line CSV alpha-3

AUT, BEL, BGR, HRV, CYP, CZE, DNK, EST, FIN, FRA, DEU, GRC, HUN, IRL, ITA, LVA, LTU, LUX, MLT, NLD, POL, PRT, ROU, SVK, SVN, ESP, SWE

One line CSV alpha-2

AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SW

CSV with country alpha-3

AUT, Austria
BEL, Belgium
BGR, Bulgaria
HRV, Croatia
CYP, Cyprus
CZE, Czech Republic
DNK, Denmark
EST, Estonia
FIN, Finland
FRA, France
DEU, Germany
GRC, Greece
HUN, Hungary
IRL, Ireland
ITA, Italy
LVA, Latvia
LTU, Lithuania
LUX, Luxembourg
MLT, Malta
NLD, Netherlands
POL, Poland
PRT, Portugal
ROU, Romania
SVK, Slovakia
SVN, Slovenia
ESP, Spain
SWE, Sweden

CSV with country alpha-2

AU, Austria
BE, Belgium
BG, Bulgaria
HR, Croatia
CY, Cyprus
CZ, Czech Republic
DK, Denmark
EE, Estonia
FI, Finland
FR, France
DE, Germany
GR, Greece
HU, Hungary
IE, Ireland
IT, Italy
LV, Latvia
LT, Lithuania
LU, Luxembourg
MT, Malta
NL, Netherlands
PL, Poland
PT, Portugal
RO, Romania
SK, Slovakia
SI, Slovenia
ES, Spain
SW, Sweden

PHP Array of ISO 3166-1 Alpha-3 codes

$eu_iso3 = array('AUT', 'BEL', 'BGR', 'HRV', 'CYP', 'CZE', 'DNK', 'EST', 'FIN', 'FRA', 'DEU', 'GRC', 'HUN', 'IRL', 'ITA', 'LVA', 'LTU', 'LUX', 'MLT', 'NLD', 'POL', 'PRT', 'ROU', 'SVK', 'SVN', 'ESP', 'SWE');

PHP Array of ISO 3166-1 Alpha-2 codes

$eu_iso2 = array('AT, BE, BG, HR, CY, CZ, DK, EE, FI, FR, DE, GR, HU, IE, IT, LV, LT, LU, MT, NL, PL, PT, RO, SK, SI, ES, SW);

PHP Array with country alpha-3

$eu_iso3 = array(
'AUT' => 'Austria',
'BEL' => 'Belgium',
'BGR' => 'Bulgaria',
'HRV' => 'Croatia',
'CYP' => 'Cyprus',
'CZE' => 'Czech Republic',
'DNK' => 'Denmark',
'EST' => 'Estonia',
'FIN' => 'Finland',
'FRA' => 'France',
'DEU' => 'Germany',
'GRC' => 'Greece',
'HUN' => 'Hungary',
'IRL' => 'Ireland',
'ITA' => 'Italy',
'LVA' => 'Latvia',
'LTU' => 'Lithuania',
'LUX' => 'Luxembourg',
'MLT' => 'Malta',
'NLD' => 'Netherlands',
'POL' => 'Poland',
'PRT' => 'Portugal',
'ROU' => 'Romania',
'SVK' => 'Slovakia',
'SVN' => 'Slovenia',
'ESP' => 'Spain',
'SWE' => 'Sweden');

PHP Array with country alpha-2

$eu_iso2 = array(
'AT' => 'Austria',
'BE' => 'Belgium',
'BG' => 'Bulgaria',
'HR' => 'Croatia',
'CY' => 'Cyprus',
'CZ' => 'Czech Republic',
'DK' => 'Denmark',
'EE' => 'Estonia',
'FI' => 'Finland',
'FR' => 'France',
'DE' => 'Germany',
'GR' => 'Greece',
'HU' => 'Hungary',
'IE' => 'Ireland',
'IT' => 'Italy',
'LV' => 'Latvia',
'LT' => 'Lithuania',
'LU' => 'Luxembourg',
'MT' => 'Malta',
'NL' => 'Netherlands',
'PL' => 'Poland',
'PT' => 'Portugal',
'RO' => 'Romania',
'SK' => 'Slovakia',
'SI' => 'Slovenia',
'ES' => 'Spain',
'SW' => 'Sweden');