Country code and number formatter

Look up dialling codes and turn a local phone number into the international format WhatsApp APIs expect (digits only, country code first, no leading zero).

International format: 923001234567

QuackAPI expects digits only: country code first, no plus sign, no spaces and no leading zero (Italy is the usual exception, where the zero stays). A few countries have extra mobile rules, so send a test to your own number first.

CountryCode
Afghanistan+93
Argentina+54
Australia+61
Bahrain+973
Bangladesh+880
Brazil+55
Canada+1
Chile+56
China+86
Colombia+57
Egypt+20
Ethiopia+251
France+33
Germany+49
Ghana+233
India+91
Indonesia+62
Italy+39
Japan+81
Kenya+254
Kuwait+965
Malaysia+60
Mexico+52
Morocco+212
Nepal+977
Netherlands+31
New Zealand+64
Nigeria+234
Oman+968
Pakistan+92
Peru+51
Philippines+63
Poland+48
Portugal+351
Qatar+974
Russia+7
Saudi Arabia+966
Singapore+65
South Africa+27
South Korea+82
Spain+34
Sri Lanka+94
Tanzania+255
Thailand+66
Turkey+90
Uganda+256
United Arab Emirates+971
United Kingdom+44
United States+1
Vietnam+84

How to use it

  1. Search for a country to see its dialling code.
  2. Enter a local number and the tool produces the international form: country code first, digits only, no leading zero.
  3. Use that value as the to field in your API request.

Why it matters

Wrongly formatted numbers are the most common reason a message is not delivered. The usual mistakes are keeping the local leading zero, adding a plus sign, or leaving spaces.

Frequently asked questions

Why remove the leading zero?

The leading zero is the national dialling prefix. In the international format it is replaced by the country code.

Do I include the plus sign?

Not for this API. Send digits only, for example 923001234567.

Building with WhatsApp? See the quick start.