Skip to content

Phone

Find a country calling code

Search by country, ISO code or dialing prefix and get the calling code, trunk prefix, number lengths and valid example numbers.

Try an example

How to read the result

The card answers one question per row: how numbers in this country are dialed and written. When several countries match your search, the first one fills the card and the others are listed at the bottom.

Field What it means What to do with it
Matches How many countries or territories match your search. Shared codes and partial names can match several. If the card shows a different territory than you meant, search by its name or two-letter code.
Country The country or territory on the card, with its ISO 3166-1 alpha-2 code. Store the ISO code next to phone numbers when you serve several countries.
Calling code The digits that follow the plus sign for this country, assigned under ITU-T E.164. Put it in front of the national number, without the trunk prefix.
Trunk prefix The digit dialed before national numbers inside the country, such as 0 or 1. Not available means the country has none. Drop it when you build the international form.
International prefix The exit code dialed from this country to call abroad, such as 00 or 011. A tilde means wait for a dial tone. Not available means the prefix depends on the carrier. Use it when giving dialing instructions to people in that country.
Number lengths Every length the plan allows for national numbers, all types together. Use it as a loose check on input length, not as the only rule.
Example mobile A valid mobile number in international format, from libphonenumber's sample numbers. Use it as the placeholder of your phone field for that country.
Example landline A valid fixed-line number in the same format. Show it next to the mobile example where landlines are welcome.
Matches (list) The other countries that matched, with their calling codes. Pick the one you meant and search it by name.
Bulk CSV upload Locked. Run phone checks on a whole file. Normalize international numbers in an existing list.
API access Locked. Phone validation from your code, with the country and calling code in every response. Resolve the country of each number automatically.

The locked rows need a free account, which includes 100 credits every month.

How the check works

You can search in three ways, and the tool recognizes which one you used.

  1. Digits. +44, 0044 and 44 all find the code 44. If the code is shared, every territory under it is returned. Type more digits to narrow it down where the plan defines leading digits: +1 876 returns Jamaica alone, and +7 7 returns Kazakhstan.
  2. Two letters. JP, BR or GB are read as ISO 3166-1 codes.
  3. A name. Japan, brazil or cote d'ivoire all find their country: accents and capital letters do not matter, and the start of a name is enough. Common aliases work too: UK, England, Holland, Korea, UAE, USA, Vatican.

Every value on the card comes from Google's libphonenumber metadata, read through libphonenumber-js: calling codes, trunk and international prefixes, possible lengths, and the sample numbers used as examples. The tool covers more than 240 countries and territories. Global service codes such as +800 are not countries, so they are not listed.

How to dial an international number

An international call is three parts in a row: the exit code of the country you call from, the calling code of the country you call, and the national number without its trunk prefix. On a mobile phone, the plus sign replaces the exit code.

Calling from Number to reach What to dial
United States French mobile 06 12 34 56 78 011 33 6 12 34 56 78
United Kingdom US number (201) 555-0123 00 1 201 555 0123
France UK mobile 07400 123456 00 44 7400 123456
Japan German mobile 01512 3456789 010 49 1512 3456789
Australia Milan landline 02 1234 5678 0011 39 02 1234 5678, keeping Italy's 0
Russia Birmingham landline 0121 234 5678 8, dial tone, 10 44 121 234 5678
United States Jamaican mobile (876) 210-1234 1 876 210 1234: inside the NANP, no exit code
Any mobile phone Any of the above +, the calling code, the national number

Calls between NANP members use 1 and the area code, like long-distance calls at home, even when they cross a border.

Trunk and international prefixes by country

Country Calling code Trunk prefix International prefix
United States +1 1 011
United Kingdom +44 0 00
France +33 0 00
Germany +49 0 00
Italy +39 None 00
Spain +34 None 00
Mexico +52 None 00
Brazil +55 0 00 followed by a two-digit carrier code
Russia +7 8 8~10
Japan +81 0 010
China +86 0 00
India +91 0 00
Australia +61 0 0011
Nigeria +234 0 009

Most of the world uses 00 as its exit code, an arrangement ITU-T recommends. The exceptions in this table, 011, 010, 0011, 009 and Russia's 8~10, are the ones people trip over.

National number lengths

Lengths count the digits after the calling code. The Number lengths row covers every type of number in the plan, short service numbers included, which is why some ranges look wide. Mobile numbers usually have one or two lengths, and they make a tighter check.

Country Calling code Number lengths, all types Mobile numbers
United States +1 10 10
United Kingdom +44 7, 9, 10 10
France +33 9 9
Spain +34 9 9
Germany +49 4 to 15 10 or 11
Italy +39 6 to 12 9 or 10
Japan +81 8 to 17 10
China +86 7 to 12 11
India +91 8 to 13 10
Brazil +55 8 to 11 10 or 11
Mexico +52 10 10

Length alone does not make a number valid. A UK number of 10 digits that starts with a range nobody has opened is still invalid, and only a full check against the plan catches it.

World numbering zones

The first digit of a calling code points to a world zone under ITU-T E.164.

Zone Region Examples
1 North American Numbering Plan +1 United States, Canada, Jamaica
2 Mostly Africa, plus a few island territories +20 Egypt, +27 South Africa, +234 Nigeria, +299 Greenland
3 and 4 Europe +33 France, +34 Spain, +44 United Kingdom, +49 Germany
5 Central and South America +52 Mexico, +55 Brazil, +57 Colombia
6 Southeast Asia and Oceania +61 Australia, +62 Indonesia, +64 New Zealand, +65 Singapore
7 Russia and Kazakhstan +7
8 East Asia and global services +81 Japan, +82 South Korea, +86 China, +800 international freephone
9 West, Central and South Asia, Middle East +90 Turkey, +91 India, +971 United Arab Emirates

Global codes in zones 8 and 9 serve services, not places: +800 for universal international freephone numbers, +808 for shared-cost numbers, +870 for Inmarsat, +881 for satellite phone systems, +882 and +883 for international networks, +888 for humanitarian relief operations, and +979 for international premium-rate services.

Shared calling codes

Code Shared by How numbers are told apart
+1 United States, Canada, Caribbean and Pacific territories The area code
+7 Russia, Kazakhstan Kazakh numbers start with 7 after the code, Russian ones with 3, 4, 8 or 9
+39 Italy, Vatican City Vatican numbers start with 06 698
+44 United Kingdom, Guernsey, Jersey, Isle of Man Their own ranges, such as landlines starting 01481, 01534 and 01624
+47 Norway, Svalbard and Jan Mayen Svalbard numbers start with 79
+61 Australia, Christmas Island, Cocos (Keeling) Islands Ranges inside the Australian plan
+212 Morocco, Western Sahara Number ranges
+262 Réunion, Mayotte Number ranges
+290 Saint Helena, Tristan da Cunha Tristan da Cunha numbers start with 8
+358 Finland, Åland Islands Åland numbers start with 18
+590 Guadeloupe, Saint Barthélemy, Saint Martin Number ranges
+599 Curaçao, Caribbean Netherlands Caribbean Netherlands numbers start with 3, 4 or 7

A calling code alone cannot tell you the country when it is shared. Keep the full number, or the ISO country code, wherever the country matters.

Build a country picker for a phone field

A phone field works best when the country is chosen separately from the digits.

  • Default sensibly. Preselect the visitor's country from their locale or IP address, and let them change it.
  • Search three ways. Let people find their country by name, by ISO code and by calling code, as this tool does.
  • Show the format. Use the Example mobile of the selected country as the placeholder, so people see the expected length and grouping.
  • Send both values. Post the ISO country and the raw number to your server, validate them together, and store the E.164 result with the country.
  • Expect shared codes. Someone in Jersey types +44 like someone in London. The number and the ISO code together keep them apart.

The guide Format phone numbers in E.164 covers the storage side, the phone validator checks a full number, and the country codes index has a page for every country.

Same check through the API

One HTTPS call, one credit. The response below is the real schema returned by the API.

cURL
curl https://api.qelka.com/v1/phone \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{"phone":"+12015550123","level":"basic"}'
JavaScript
const response = await fetch("https://api.qelka.com/v1/phone", {
  method: "POST",
  headers: {
    Authorization: "Bearer sk_test_your_key",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    phone: "+12015550123",
    level: "basic",
  }),
});
const result = await response.json();
{
  "id": "lkp_01M84QZDVBQCJAMBE4TJB6VRAC",
  "object": "phone",
  "input": "+12015550123",
  "valid": true,
  "status": "valid",
  "e164": "+12015550123",
  "national": "(201) 555-0123",
  "country": {
    "code": "US",
    "name": "United States",
    "calling_code": "1"
  },
  "region": "New Jersey",
  "timezones": [
    "America/New_York"
  ],
  "line_type": "fixed_line_or_mobile",
  "carrier": {
    "name": null,
    "mcc": null,
    "mnc": null,
    "source": "numbering_plan"
  },
  "ported": null,
  "credits_used": 1,
  "cached": false
}

Bulk and pricing

  • Upload a CSV of up to 2,000,000 rows from the dashboard or the API, pick the column, get the results back as a CSV.
  • Every check costs 1 credit, live phone lookups cost 3. Cached results are billed the same way; calls that fail upstream are not billed.
  • The free plan includes 100 credits every month. Paid plans start at $29 for 10,000 credits.

Frequently asked questions

What is a country calling code?
It is the one to three digits that come after the plus sign and send a call to a country's network: 1 for the North American plan, 44 for the United Kingdom, 81 for Japan. ITU-T E.164 assigns them. A few codes serve several countries or territories at once, and a few serve global services rather than any country.
What is the difference between a calling code and an exit code?
The calling code identifies the country you are calling. The exit code, or international prefix, is what you dial first to leave the country you are calling from. To reach +44 from the United States you dial 011 44. From France you dial 00 44. The calling code never changes; the exit code depends on where you are.
What does the plus sign mean in a phone number?
It stands for the international prefix of whatever country the call starts from. On a mobile phone you can type it directly, and the network replaces it with the right exit code. That is why a number written as +44 7400 123456 works from anywhere, while 00 44 7400 123456 only works where 00 is the exit code.
How do I call a number abroad from my mobile phone?
Type a plus sign, usually by holding the 0 key, then the country calling code, then the number without its trunk prefix. For the UK mobile 07400 123456, dial +44 7400 123456. For the French mobile 06 12 34 56 78, dial +33 6 12 34 56 78. You do not need to know the exit code of the country you are in.
Which countries share a calling code?
Several. +1 covers the United States, Canada and Caribbean and Pacific territories. +7 is shared by Russia and Kazakhstan, +39 by Italy and Vatican City, and +44 by the United Kingdom, Guernsey, Jersey and the Isle of Man. Others include +47, +61, +212, +262, +290, +358, +590 and +599. The leading digits of the national number decide which territory a number belongs to.
What is a trunk prefix?
The digit or digits dialed before a national number for calls inside the country: 0 in the United Kingdom, France and Germany, 1 in the United States, 8 in Russia. It is not part of the number. Callers from abroad replace it with the calling code, so 030 123456 in Berlin becomes +49 30 123456 from outside Germany.
Do I dial the 0 when calling from abroad?
Almost never. In most countries the leading 0 is a trunk prefix and must be dropped after the calling code. Italy is the well-known exception: the 0 of an Italian landline is part of the number, so Milan's 02 1234 5678 is dialed +39 02 1234 5678 from abroad. When in doubt, check the Trunk prefix row for the country.
What does the tilde in 8~10 mean?
It means wait for a second dial tone. Russia and Kazakhstan list their international prefix as 8~10: you dial 8, wait for the tone, then dial 10, the calling code and the number. It is a convention in libphonenumber's data for prefixes with a pause in them. On a mobile phone, the plus sign replaces the whole sequence.
Is the calling code the same as the ISO country code?
No. The ISO 3166-1 alpha-2 code is two letters that name a country in data, such as GB, JP or BR. The calling code is digits for dialing: 44, 81, 55. One calling code can map to several ISO codes, as +44 does for GB, GG, JE and IM. Store both if you serve several countries.
What are +800 numbers?
Universal International Freephone Numbers: one toll-free number that can be reached free of charge from every country that supports the service. They belong to the global codes of ITU-T E.164, next to +808 for shared-cost numbers and +979 for international premium-rate services. They are not tied to a country, so this tool, which covers countries and territories, does not list them.
Why does the card show Not available for the international prefix?
Because the country has no single exit code. In Brazil, the international prefix is 00 followed by a two-digit carrier selection code, so which carrier handles the call changes the digits. South Korea also has several prefixes, one per carrier. In those countries, dialing with the plus sign on a mobile phone is the simplest route.
Why does the trunk prefix show Not available?
Because the country has none. Spain, Italy, Portugal, Denmark, Norway, Poland and Mexico, among others, use the same digits inside the country and after the calling code. Their numbers carry no prefix to drop: 612 34 56 78 in Spain is +34 612 34 56 78 from abroad.
How long is a phone number in a given country?
Read the Number lengths row: it lists every length the plan allows for national numbers, all types together. France has one length, 9 digits. Germany allows lengths from 4 to 15, because area codes and subscriber numbers vary. Within one type, lengths are usually tighter: UK mobile numbers always have 10 digits after +44.
Where do the example numbers come from?
From the sample numbers published in Google's libphonenumber metadata, one per country and line type. They exist to show a valid format for the country, which makes them good placeholders for a phone field. Do not dial them or treat them as anyone's contact details.
Do I need the country code for calls inside my own country?
No. Inside a country you can dial the national format, trunk prefix included. Mobile phones also accept the full international form for domestic calls, so +44 7400 123456 works from a UK phone just as 07400 123456 does. That is why storing every number with its plus sign and calling code costs nothing and saves trouble later.
Can I search by a country's name in another language?
The search uses English names, without accents mattering, plus a list of common aliases such as UK, England, Holland, Korea, UAE and USA. If a name in another language finds nothing, try the two-letter ISO code or the calling code, which work the same in every language.

Put this check in your product

Get an API key in under a minute. 100 free credits every month, no card required.