Search code examples
internationalizationiso-3166

Mapping ISO-3166-1 country codes to phone number prefix


I am looking for the best way of translating country codes to phone number prefixes. For example, SE should map to +46, NO to +47, etc. Any open source java library out there that does the job ?


Solution

  • I would take a look at Google's libphonenumber. There's a ton of stuff in there surrounding international phone numbers.