Here’s the list of alpha-2 codes for 51 European countries:
al, ad, am, at, az, by, be, ba, bg, hr, cy, cz, dk, ee, fi, fr, ge, de, gr, hu, is, ie, it, kz, xk, lv, li, lt, lu, mk, mt, md, mc, me, nl, no, pl, pt, ro, ru, sm, rs, sk, si, es, se, ch, tr, ua, gb, va
—
Albania – AL
Andorra – AD
Armenia – AM
Austria – AT
Azerbaijan – AZ
Belarus – BY
Belgium – BE
Bosnia and Herzegovina – BA
Bulgaria – BG
Croatia – HR
Cyprus – CY
Czech Republic – CZ
Denmark – DK
Estonia – EE
Finland – FI
France – FR
Georgia – GE
Germany – DE
Greece – GR
Hungary – HU
Iceland – IS
Ireland – IE
Italy – IT
Kazakhstan – KZ
Kosovo – XK
Latvia – LV
Liechtenstein – LI
Lithuania – LT
Luxembourg – LU
Macedonia – MK
Malta – MT
Moldova – MD
Monaco – MC
Montenegro – ME
Netherlands – NL
Norway – NO
Poland – PL
Portugal – PT
Romania – RO
Russia – RU
San Marino – SM
Serbia – RS
Slovakia – SK
Slovenia – SI
Spain – ES
Sweden – SE
Switzerland – CH
Turkey – TR
Ukraine – UA
United Kingdom – GB
Vatican City (Holy See) – VA