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. In order to fulfil our 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.

  • 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.

<?php
	$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 :)

Share This...

About The Author

Ben Gillbanks

Web Designer, Video Gamer, Blogger, and part time Entrepreneur. Read More

14 thoughts on “European 2 Letter Country Codes Cheat Sheet

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

My Projects

TimThumb - Image Resize Script TimThumb

Image Resize Thumbnail Script

WPVote - WordPress Social Voting WPVote.com

WordPress Social Voting Site

About me

About BenMy name is Ben Gillbanks. I'm a lover of Video Games, WordPress, Web Development and everything in between.

I have been working on the internet since 1998, and working with computers even longer. I am a hardcore Nintendo fanboy and have owned most of their consoles at one stage or another.

Read more about me on my about page.

Binary Moon

WordPress and Web Development › home of Ben Gillbanks