Blog

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

  |   General   |   No comment

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) 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 county name.

 

One line CSV


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, GBR

 

CSV with country


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
GBR, United Kingdom

 

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', 'GBR');

 

PHP Array with country


$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',
'GBR' => 'United Kingdom');

 

We hope this helps you as much as its going to help us!

No Comments

Sorry, the comment form is closed at this time.