ISO country codes of The Commonwealth members

Greetings, fellow traveller in search of a list of ISO codes for countries in the Commonwealth. Tricky to find one, isn’t it? So to hopefully save you the time, here is one I made for a thing…

There are 53 countries (or were in May 2019) – for the official list see The Commonwealth website.

Below are the ISO 3166-1 alpha 2 codes (that is to say, the two letter codes that most people use, including for domain names).

  // Africa
 'BW','CM','GM','GH','KE','SZ','LS','MW','MU','MZ','NA',
 'NG','RW','SC','SL','ZA','UG','TZ','ZM',
  // Asia
 'BD','BN','IN','MY','PK','SG','LK',
  // Caribbean and Americas
 'AG','BS','BB','BZ','CA','DM','GD','GY','JM','LC','KN','VC','TT',
  // Europe
 'CY','MT','GB',
  // Pacific
 'AU','FJ','KI','NR','NZ','PG','WS','SB','TO','TV','VU'

And here are the countries that competed in the 2018 Commonwealth Games in Australia.  There were 71, but only 68 are listed here, because England, Wales, Scotland and Northern Ireland competed separately, but they all share the same GB code (technically they can identified separately with GB-SCT, GB-NI and GB-WLS):

  // Africa
  'CM','GH','GM','KE','LS','MU','MW','MZ','NA',
  'NG','RW','SC','SH','SL','SZ','TZ','ZA','ZM',
  // Asia
  BD','BN','BW','IN','LK','MY','PK','SG',
  // Caribbean and Americas
  'AG','AI','BB','CA','BM','BS','BV','BZ','DM','GD',
  'GY','FK','JM','KN','KY','LC','MS','TC','TT','VC',
  // Europe
  'CY','GB','GG','GI','IM','JE','MT',
  // Pacific
  'AU','CK','FJ','KI','NF','NR','NZ','NU',
  'PG','SB','TO','TV','UG','VU','WS'