Country codes

Feb 16, 2006 2 Replies
Country codes open original image

Hi,



I look up IP addresses on the various WHOIS services and they all use a 2 letter code for the country - i.e. US = USA.



Most are self evident but some are not so. Is there a file that I can download which gives the 2 letter code and then the full country name?



I assume that all WHOIS services use a common 2 letter country code.


A search on Google for "2 letter country codes" gives the following as the first hit;

formatting link
hard to do, give Google a go first next time :)

Wayne McGlinn Brisbane, Oz

Hi Wayne

I tried that search pattern on Google Australia but the link you gave didn't turn up for some reason. I did, however, spot a reference to ISO-3166 and that did the trick.

I now have added the list into a workbook in the spreadsheet into which I paste the firewall log for checking.

Thanks for your help.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required