Skip to content

European 2 Letter Country Codes Cheat Sheet

As web designers, sometimes we need to work with lists of countries. For instance there is a new EU cookie law coming into action soon – that only applies to Europe. There is a worldwide standard that gives each country a 2 letter code.

The country code standard makes it easy for developers to combine different API’s consistently (standards are good). However there’s loads of country codes – and in order to fulfil our legal obligations I needed a list of 2 letter country codes applicable to Europe only. So, I created a list of codes that you can see (and use) below.

For a full list of all the ISO 2 letter country codes check out the Wikipedia page on the subject.

The European Country Codes

  • AL – Albania
  • AD – Andorra
  • AM – Armenia
  • AT – Austria (sometimes OE in German-speaking countries: for “Oesterreich”)
  • BY – Belarus
  • BE – Belgium
  • BA – Bosnia and Herzegovina
  • BG – Bulgaria
  • CH – Switzerland (from Confoederatio Helvetica)
  • CY – Cyprus
  • CZ – Czech Republic
  • DE – Germany
  • DK – Denmark
  • EE – Estonia
  • ES – Spain
  • FO – Faeroe Islands
  • FI – Finland
  • FR – France
  • GB – United Kingdom (from Great Britain and Northern Ireland)
  • GE – Georgia
  • GI – Gibraltar
  • GR – Greece
  • HU – Hungary
  • HR – Croatia
  • IE – Ireland
  • IS – Iceland
  • IT – Italy
  • LT – Lithuania
  • LU – Luxembourg
  • LV – Latvia
  • MC – Monaco
  • MK – Macedonia
  • MT – Malta
  • NO – Norway
  • NL – Netherlands
  • PL – Poland
  • PT – Portugal
  • RO – Romania
  • RU – Russian Federation
  • SE – Sweden
  • SI – Slovenia
  • SK – Slovakia (Slovakian Republic)
  • SM – San Marino
  • TR – Turkey
  • UA – Ukraine
  • VA – Vatican City State

Since I made it for myself, here’s the list as a nice handy PHP array as well.

    $eu_countries = array(
        'AL', 'AD', 'AM', 'AT', 'BY', 'BE', 'BA', 'BG', 'CH', 'CY', 'CZ', 'DE',
        'DK', 'EE', 'ES', 'FO', 'FI', 'FR', 'GB', 'GE', 'GI', 'GR', 'HU', 'HR',
        'IE', 'IS', 'IT', 'LT', 'LU', 'LV', 'MC', 'MK', 'MT', 'NO', 'NL', 'PL',
        'PT', 'RO', 'RU', 'SE', 'SI', 'SK', 'SM', 'TR', 'UA', 'VA',

Note – I know this isn’t a proper cheat sheet – but it’ll save me some time, and I can’t ctrl-c an image into my IDE πŸ™‚


General, Web Design

Ben View All

Ben is a lifelong Nintendo fan who also likes to build websites, and develop games. He also buys way too much Lego.

18 thoughts on “European 2 Letter Country Codes Cheat Sheet Leave a comment

  1. Awesome, Ben – very handy. Any chance you’d submit it to my cheat sheet site ( You can link to it here, or create a full page / PDF version, whichever you prefer πŸ™‚

    • Hey Dave – would be happy to submit it. I didn’t realise your site was open to submissions. I used your original cheat sheets quite a bit so would be happy to contribute πŸ™‚

      • Thanks Ben – just noticed you’d added it (external links go through an approval process – sorry for the delay). Thanks very much! πŸ™‚

  2. Very useful
    ps used with MySql for tax summary (and several otherplaces) :
    SELECT …
    IF(b.country_id NOT IN (‘”.implode(“‘,'”, EU_COUNTRIES).”‘), ‘EXEMPT’,
    IF(i.tax_amount > 0.00, ‘TAXABLE’, ‘ZERO’)) as class,
    … where EU_COUNTRIES is a constant

  3. Important: This is a list of european countries, not EU (European Union)

    Countries like Albania, Andorra, Armenia, Switzerland, Norway are not in the EU.

  4. Thanks man! But please do clarify in the post that this is not a list of EU countries but of European countries. EU rules rarely apply to Russia…

Leave a Reply

Your email address will not be published. Required fields are marked *