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.
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.
- 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.
- Two letters. JP, BR or GB are read as ISO 3166-1 codes.
- 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 https://api.qelka.com/v1/phone \
-H "Authorization: Bearer sk_test_your_key" \
-H "Content-Type: application/json" \
-d '{"phone":"+12015550123","level":"basic"}'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?
What is the difference between a calling code and an exit code?
What does the plus sign mean in a phone number?
How do I call a number abroad from my mobile phone?
Which countries share a calling code?
What is a trunk prefix?
Do I dial the 0 when calling from abroad?
What does the tilde in 8~10 mean?
Is the calling code the same as the ISO country code?
What are +800 numbers?
Why does the card show Not available for the international prefix?
Why does the trunk prefix show Not available?
How long is a phone number in a given country?
Where do the example numbers come from?
Do I need the country code for calls inside my own country?
Can I search by a country's name in another language?
Put this check in your product
Get an API key in under a minute. 100 free credits every month, no card required.