Developers

International phone number formats by country: a 2026 reference table

Calling code, international and trunk prefix, mobile and fixed-line number lengths and a masked E.164 mobile format for 238 regions, generated from libphonenumber.

By Published 19 min readHow we research and fact-check

On this page

Every country numbers its phones by its own national plan, but internationally they all use one format, E.164: a +, the country calling code, then the national number without the trunk prefix, 15 digits at most. The table below gives the calling code, international and trunk prefixes, mobile and fixed-line lengths and a masked mobile format for 238 regions in libphonenumber: all of them except seven sanctioned countries, which we don't serve.

The table is generated from open-source numbering-plan metadata (libphonenumber 9.0.41, via libphonenumber-js 1.13.15), not typed by hand. How it's built is explained below.

How do I write any phone number in international format?

Take three parts and join them without spaces:

  1. +, which stands for "whatever your international prefix is".
  2. The country calling code, one to three digits, assigned by the ITU (ITU, 2026).
  3. The national significant number, which is the national number without the trunk prefix.

Recommendation E.164 caps the whole international number at 15 digits, not counting the + (ITU-T E.164). A UK mobile written 07XXX XXXXXX at home becomes +447XXXXXXXXX. A US number written (2XX) XXX-XXXX becomes +12XXXXXXXXX.

For display you can add spaces (+44 7XXX XXXXXX). For storage, deduplication and API calls, keep the compact form. Our E.164 guide for developers covers the standard itself. This page is the per-country reference.

A grid of calling-code tiles such as +1, +44 and +49, each with bars counting mobile and fixed-line digits, beside an E.164 recipe capped at 15 digits, a dropped trunk 0 and a shared +1 code.A grid of calling-code tiles such as +1, +44 and +49, each with bars counting mobile and fixed-line digits, beside an E.164 recipe capped at 15 digits, a dropped trunk 0 and a shared +1 code.
E.164 is plus, calling code and national number; drop the trunk prefix and don't infer the country from the code alone.

What is a trunk prefix, and when do I drop it?

The trunk (national) prefix is what you dial before a number inside the country. You always drop it in E.164.

To look up the trunk and exit prefix of a single country, or find which country a full number belongs to, use the free calling code lookup and the phone number country lookup.

Across the 238 regions in the table:

Trunk prefixRegionsExamples
0108United Kingdom, Germany, India, Nigeria
none101Italy, Mexico, Portugal, Singapore
126The 25 +1 regions (United States, Canada, much of the Caribbean) and the Marshall Islands
82Kazakhstan, Turkmenistan
061Hungary

Two traps are common:

  • "None" doesn't mean "starts with anything". In Italy there is no trunk prefix, and the leading 0 of a landline is part of the number, so it stays: Rome is +39 06…, not +39 6….
  • The international prefix differs too. 182 regions dial 00 to call abroad, the +1 regions and the Marshall Islands dial 011, and some countries have several carrier-specific prefixes (shown as "varies" in the table). Never store a number with 00 or 011 in front. Store the + form.

How long is a mobile number in each country?

Lengths below count the national significant number only, without the calling code or trunk prefix. Among the 197 regions with a single mobile length, the most common is 9 digits (70 regions), then 8 (52) and 10 (45). 40 regions allow more than one mobile length, and Austria allows up to 13 digits. "Mobile format" keeps the calling code and the first national digit and masks the rest, so it shows shape, not a dialable number. In some countries (for example the US and Chile) mobile and fixed-line numbers share the same ranges, so the first digit is only indicative.

Country or regionCodeCalling codeInt'l prefixTrunk prefixMobile digitsFixed-line digitsMobile format (E.164, masked)
AfghanistanAF+9300099+93 7X XXX XXXX
Åland IslandsAX+3580006–106–9+358 4X XXXXXXX
AlbaniaAL+35500098+355 6X XXX XXXX
AlgeriaDZ+21300098, 9+213 5XX XX XX XX
American SamoaAS+101111010+1 6XX XXX XXXX
AndorraAD+37600—6, 96+376 3XX XXX
AngolaAO+24400—99+244 9XX XXX XXX
AnguillaAI+101111010+1 2XX XXX XXXX
Antigua & BarbudaAG+101111010+1 2XX XXX XXXX
ArgentinaAR+5400010, 1110+54 9 XX XXXX XXXX
ArmeniaAM+37400088+374 7X XXXXXX
ArubaAW+29700—77+297 5XX XXXX
Ascension IslandAC+24700—55+247 4XXXX
AustraliaAU+610011099+61 4XX XXX XXX
AustriaAT+430007–134–13+43 6XX XXXXXX
AzerbaijanAZ+99400099+994 4X XXX XX XX
BahamasBS+101111010+1 2XX XXX XXXX
BahrainBH+97300—88+973 3XXX XXXX
BangladeshBD+880000106–10+880 1XXX XXXXXX
BarbadosBB+101111010+1 2XX XXX XXXX
BelgiumBE+3200098+32 4XX XX XX XX
BelizeBZ+50100—77+501 6XX XXXX
BeninBJ+22900—1010+229 0X XX XX XX XX
BermudaBM+101111010+1 4XX XXX XXXX
BhutanBT+97500—87+975 1X XX XX XX
BoliviaBO+591varies088+591 7XXXXXXX
Bosnia & HerzegovinaBA+3870008, 98+387 6X XXX XXX
BotswanaBW+26700—87+267 7X XXX XXX
BrazilBR+55varies010, 1110+55 1X XXXXX XXXX
British Indian Ocean TerritoryIO+24600—77+246 3XX XXXX
British Virgin IslandsVG+101111010+1 2XX XXX XXXX
BruneiBN+67300—77+673 7XX XXXX
BulgariaBG+3590008, 96–8+359 4X XXX XXX
Burkina FasoBF+22600—88+226 7X XX XX XX
BurundiBI+25700—88+257 7X XX XX XX
CambodiaKH+855varies08, 98, 9+855 9X XXX XXX
CameroonCM+23700—99+237 6 XX XX XX XX
CanadaCA+101111010+1 5XX XXX XXXX
Cape VerdeCV+2380—77+238 9XX XX XX
Caribbean NetherlandsBQ+59900—77+599 3XX XXXX
Cayman IslandsKY+101111010+1 3XX XXX XXXX
Central African RepublicCF+23600—88+236 7X XX XX XX
ChadTD+23500—88+235 6X XX XX XX
ChileCL+56varies—99+56 2 XXXX XXXX
ChinaCN+86000117–11+86 1XX XXXX XXXX
Christmas IslandCX+610011099+61 4XX XXX XXX
Cocos (Keeling) IslandsCC+610011099+61 4XX XXX XXX
ColombiaCO+57varies0108, 10+57 3XX XXXXXXX
ComorosKM+26900—77+269 3XX XX XX
Congo - BrazzavilleCG+24200—99+242 0X XXX XXXX
Congo - KinshasaCD+2430007, 97–10+243 9XX XXX XXX
Cook IslandsCK+68200—55+682 7X XXX
Costa RicaCR+50600—88+506 8XXX XXXX
Côte d’IvoireCI+22500—1010+225 0X XX XX XXXX
CroatiaHR+3850008, 98, 9+385 9X XXX XXXX
CuraçaoCW+59900—7, 87, 8+599 9 XXX XXXX
CyprusCY+35700—88+357 9X XXXXXX
CzechiaCZ+42000—99+420 6XX XXX XXX
DenmarkDK+4500—88+45 3X XX XX XX
DjiboutiDJ+25300—88+253 7X XX XX XX
DominicaDM+101111010+1 7XX XXX XXXX
Dominican RepublicDO+101111010+1 8XX XXX XXXX
EcuadorEC+59300098+593 9X XXX XXXX
EgyptEG+20000108, 9+20 1X XXXXXXXX
El SalvadorSV+50300—88+503 7XXX XXXX
Equatorial GuineaGQ+24000—99+240 2XX XXX XXX
EritreaER+29100077+291 7 XXX XXX
EstoniaEE+37200—7, 87+372 5XXX XXXX
EswatiniSZ+26800—88+268 7XXX XXXX
EthiopiaET+25100099+251 9X XXX XXXX
Falkland IslandsFK+50000—55+500 5XXXX
Faroe IslandsFO+29800—66+298 2X XX XX
FijiFJ+67900—77+679 7XX XXXX
FinlandFI+3580006–105–9+358 4X XXXXXXX
FranceFR+3300099+33 6 XX XX XX XX
French GuianaGF+59400099+594 6XX XX XX XX
French PolynesiaPF+68900—88+689 8X XX XX XX
GabonGA+24100—7, 88+241 0X XX XX XX
GambiaGM+22000—7, 97, 9+220 3XX XXXX
GeorgiaGE+99500099+995 5XX XX XX XX
GermanyDE+4900010, 115–15+49 1XXX XXXXXXX
GhanaGH+23300099+233 2X XXX XXXX
GibraltarGI+35000—88+350 5XXXXXXX
GreeceGR+3000—1010+30 6XX XXX XXXX
GreenlandGL+29900—66+299 2X XX XX
GrenadaGD+101111010+1 4XX XXX XXXX
GuadeloupeGP+59000099+590 6XX XX XX XX
GuamGU+101111010+1 6XX XXX XXXX
GuatemalaGT+50200—88+502 5XXX XXXX
GuernseyGG+440001010+44 7XXX XXXXXX
GuineaGN+22400—98+224 6XX XX XX XX
Guinea-BissauGW+24500—99+245 9XX XXX XXX
GuyanaGY+592001—77+592 6XX XXXX
HaitiHT+50900—88+509 3X XX XXXX
HondurasHN+50400—88+504 9XXX XXXX
Hong Kong SAR ChinaHK+85200—88+852 5XXX XXXX
HungaryHU+36000698+36 2X XXX XXXX
IcelandIS+35400—7, 97+354 6XX XXXX
IndiaIN+910001010+91 8XXXX XXXXX
IndonesiaID+62varies09–127–11+62 8XX XXX XXX
IraqIQ+964000108, 9+964 7XX XXX XXXX
IrelandIE+35300097–10+353 8X XXX XXXX
Isle of ManIM+440001010+44 7XXX XXXXXX
IsraelIL+972varies098, 11, 12+972 5X XXX XXXX
ItalyIT+3900—9, 106–12+39 3XX XXX XXXX
JamaicaJM+101111010+1 8XX XXX XXXX
JapanJP+810100109+81 9X XXXX XXXX
JerseyJE+440001010+44 7XXX XXXXXX
JordanJO+96200098+962 7 XXXX XXXX
KazakhstanKZ+78 (tone) 1081010+7 7XX XXX XXXX
KenyaKE+254000097–9+254 7XX XXXXXX
KiribatiKI+68600085, 8+686 7XXXXXXX
KosovoXK+38300088–12+383 4X XXX XXX
KuwaitKW+96500—88+965 5XX XXXXX
KyrgyzstanKG+99600099+996 7XX XXX XXX
LaosLA+8560009, 108+856 2X XX XXX XXX
LatviaLV+37100—88+371 2X XXX XXX
LebanonLB+9610007, 87, 8+961 7X XXX XXX
LesothoLS+26600—88+266 5XXX XXXX
LiberiaLR+2310007, 98+231 7X XXX XXXX
LibyaLY+21800099+218 9X XXXXXXX
LiechtensteinLI+4230007, 97+423 6XX XXX XXX
LithuaniaLT+37000088+370 6XX XXXXX
LuxembourgLU+35200—94–11+352 6XX XXX XXX
Macao SAR ChinaMO+85300—88+853 6XXX XXXX
MadagascarMG+26100099+261 3X XX XXX XX
MalawiMW+26500097+265 9XX XX XX XX
MalaysiaMY+600009, 108, 9+60 1X XXX XXXX
MaldivesMV+96000—77+960 7XX XXXX
MaliML+22300—88+223 6X XX XX XX
MaltaMT+35600—88+356 9XXX XXXX
Marshall IslandsMH+692011177+692 2XX XXXX
MartiniqueMQ+59600099+596 6XX XX XX XX
MauritaniaMR+22200—88+222 2X XX XX XX
MauritiusMU+230020—87, 8+230 5XXX XXXX
MayotteYT+26200099+262 6XX XX XX XX
MexicoMX+5200—1010+52 2XX XXX XXXX
MicronesiaFM+69100—77+691 3XX XXXX
MoldovaMD+37300088+373 6XX XX XXX
MonacoMC+3770008, 98+377 6 XX XX XX XX
MongoliaMN+976001088–10+976 8XXX XXXX
MontenegroME+38200088+382 6X XXX XXX
MontserratMS+101111010+1 6XX XXX XXXX
MoroccoMA+21200099+212 6 XX XX XX XX
MozambiqueMZ+25800—98+258 8X XXX XXXX
Myanmar (Burma)MM+950007–106–9+95 9 XXX XXXX
NamibiaNA+26400098, 9+264 8X XXX XXXX
NauruNR+67400—77+674 5XX XXXX
NepalNP+977000108+977 9XX XXXXXXX
NetherlandsNL+310009, 119+31 6 XXXXXXXX
New CaledoniaNC+68700—66+687 7X XX XX
New ZealandNZ+640008–108+64 2X XXX XXXX
NicaraguaNI+50500—88+505 8XXX XXXX
NigerNE+22700—88+227 9X XX XX XX
NigeriaNG+23400901010+234 8XX XXX XXXX
NiueNU+68300—4, 74+683 8XX XXXX
Norfolk IslandNF+67200—66+672 3 XXXXX
North MacedoniaMK+38900088+389 7X XXX XXX
Northern Mariana IslandsMP+101111010+1 6XX XXX XXXX
NorwayNO+4700—88+47 4X XX XX XX
OmanOM+96800—88+968 9XXX XXXX
PakistanPK+92000109, 10+92 3XX XXXXXXX
PalauPW+680varies—77+680 6XX XXXX
Palestinian TerritoriesPS+97000098+970 5XX XXX XXX
PanamaPA+50700—7, 87+507 6XXX XXXX
Papua New GuineaPG+67500—87+675 7XXX XXXX
ParaguayPY+59500097–9+595 9XX XXXXXX
PeruPE+5100098+51 9XX XXX XXX
PhilippinesPH+63000106, 8, 9, 10+63 9XX XXX XXXX
PolandPL+4800—97, 9+48 5XX XXX XXX
PortugalPT+35100—99+351 9XX XXX XXX
Puerto RicoPR+101111010+1 7XX XXX XXXX
QatarQA+97400—88+974 3XXX XXXX
RéunionRE+26200099+262 6XX XX XX XX
RomaniaRO+4000096, 9+40 7XX XXX XXX
RwandaRW+25000098, 9+250 7XX XXX XXX
SamoaWS+6850—7, 105, 6+685 7X XXXXX
San MarinoSM+37800—810+378 6X XX XX XX
São Tomé & PríncipeST+23900—77+239 9XX XXXX
Saudi ArabiaSA+96600099+966 5X XXX XXXX
SenegalSN+22100—99+221 7X XXX XX XX
SerbiaRS+3810008–107–12+381 6X XXXXXXX
SeychellesSC+24800—77+248 2 XXX XXX
Sierra LeoneSL+23200088+232 2X XXXXXX
SingaporeSG+65varies—88+65 8XXX XXXX
Sint MaartenSX+101111010+1 7XX XXX XXXX
SlovakiaSK+42100096, 7, 9+421 9XX XXX XXX
SloveniaSI+38600088+386 3X XXX XXX
Solomon IslandsSB+677varies—5, 75+677 7X XXXXX
SomaliaSO+2520007–96, 7+252 7 XXXXXXX
South AfricaZA+270005–99+27 7X XXX XXXX
South KoreaKR+82varies09, 105, 6, 8, 9, 10+82 1X XXXX XXXX
South SudanSS+21100099+211 9XX XXX XXX
SpainES+3400—99+34 6XX XX XX XX
Sri LankaLK+9400099+94 7X XXX XXXX
St. BarthélemyBL+59000099+590 6XX XX XX XX
St. HelenaSH+29000—54, 5+290 5XXXX
St. Kitts & NevisKN+101111010+1 8XX XXX XXXX
St. LuciaLC+101111010+1 7XX XXX XXXX
St. MartinMF+59000099+590 6XX XX XX XX
St. Pierre & MiquelonPM+5080006, 96, 9+508 5X XX XX
St. Vincent & GrenadinesVC+101111010+1 7XX XXX XXXX
SudanSD+24900099+249 9X XXX XXXX
SurinameSR+59700—76+597 7XX XXXX
Svalbard & Jan MayenSJ+4700—88+47 4X XX XX XX
SwedenSE+4600097–9+46 7X XXX XX XX
SwitzerlandCH+4100099+41 7X XXX XX XX
TaiwanTW+886varies098, 9+886 9XX XXX XXX
TajikistanTJ+9928 (tone) 10—99+992 9X XXX XXXX
TanzaniaTZ+255varies099+255 6XX XXX XXX
ThailandTH+66varies098+66 8X XXX XXXX
Timor-LesteTL+67000—87+670 7XXX XXXX
TogoTG+22800—88+228 9X XX XX XX
TokelauTK+69000—4–74–7+690 7XXX
TongaTO+67600—75+676 7XX XXXX
Trinidad & TobagoTT+101111010+1 8XX XXX XXXX
Tristan da CunhaTA+29000——4+290 8XXX
TunisiaTN+21600—88+216 2X XXX XXX
TürkiyeTR+900001010+90 5XX XXX XX XX
TurkmenistanTM+9938 (tone) 10888+993 6X XXXXXX
Turks & Caicos IslandsTC+101111010+1 6XX XXX XXXX
TuvaluTV+68800—6, 75+688 9X XXXX
U.S. Virgin IslandsVI+101111010+1 3XX XXX XXXX
UgandaUG+256varies099+256 7XX XXXXXX
UkraineUA+3800 (tone) 0099+380 5X XXX XXXX
United Arab EmiratesAE+97100098+971 5X XXX XXXX
United KingdomGB+44000109, 10+44 7XXX XXXXXX
United StatesUS+101111010+1 2XX XXX XXXX
UruguayUY+59800088+598 9X XXX XXX
UzbekistanUZ+99800—99+998 9X XXX XX XX
VanuatuVU+67800—75+678 5XX XXXX
Vatican CityVA+3900—9, 106–11+39 3XX XXX XXXX
VietnamVN+84000910+84 9XX XXX XXX
Wallis & FutunaWF+68100—66+681 8X XX XX
Western SaharaEH+21200099+212 6 XX XX XX XX
YemenYE+96700097, 8+967 7XX XXX XXX
ZambiaZM+26000099+260 9X XXXXXXX
ZimbabweZW+26300097, 9+263 7X XXX XXXX

Region names follow the Unicode CLDR English names. 25 regions share +1 (the North American Numbering Plan), and four share +44 (the UK, Guernsey, Jersey and the Isle of Man). Shared codes are why you can't infer the country from the calling code alone.

Which countries have a full guide?

Each country guide gives the number format and digit counts, mobile prefixes and their range holders, tested validation code, number portability and the local rules for SMS, WhatsApp and marketing, with the regulator's own documents as sources.

RegionCountry guides (calling code)
Asia-PacificAustralia (+61), Bangladesh (+880), Cambodia (+855), China (+86), Hong Kong (+852), India (+91), Indonesia (+62), Japan (+81), Macau (+853), Malaysia (+60), Myanmar (+95), Nepal (+977), Pakistan (+92), Philippines (+63), Singapore (+65), South Korea (+82), Sri Lanka (+94), Taiwan (+886), Thailand (+66), Uzbekistan (+998), Vietnam (+84)
AmericasArgentina (+54), Brazil (+55), Canada (+1), Chile (+56), Colombia (+57), Dominican Republic (+1), Ecuador (+593), Mexico (+52), Peru (+51), United States (+1)
EuropeFrance (+33), Germany (+49), Italy (+39), Netherlands (+31), Poland (+48), Spain (+34), Türkiye (+90), United Kingdom (+44)
Middle East and AfricaAlgeria (+213), Angola (+244), Cameroon (+237), Côte d’Ivoire (+225), DR Congo (+243), Egypt (+20), Ethiopia (+251), Ghana (+233), Iraq (+964), Jordan (+962), Kenya (+254), Kuwait (+965), Morocco (+212), Mozambique (+258), Nigeria (+234), Qatar (+974), Rwanda (+250), Saudi Arabia (+966), Senegal (+221), South Africa (+27), Tanzania (+255), Tunisia (+216), Uganda (+256), United Arab Emirates (+971), Zambia (+260), Zimbabwe (+263)

Which countries have the shortest and longest numbers?

Small territories have the shortest numbers, and a few European and Asian plans the longest. From the table:

Regions (national significant number)
Shortest mobile numbersNiue and Tokelau (from 4 digits); Ascension Island, the Cook Islands, the Falkland Islands, Saint Helena and the Solomon Islands (from 5)
Longest mobile numbersAustria (up to 13 digits), Indonesia (up to 12), China (11), and Argentina, Brazil, Germany and the Netherlands (up to 11)
Widest fixed-line rangeGermany (5 to 15 digits), Austria (4 to 13), then Israel, Italy, Kosovo and Serbia (up to 12)
Same lengths for mobile and fixed153 of 238 regions

For the most populous markets, the mobile lengths are: India 10 (after +91), China 11 (+86), the United States 10 (+1), Indonesia 9 to 12 (+62), Pakistan 10 (+92), Nigeria 10 (+234), Brazil 10 or 11 (+55), Bangladesh 10 (+880), Mexico 10 (+52) and Ethiopia 9 (+251).

Two practical consequences. First, a single "10 digits" rule in a form rejects real users in most of the world. Validate per country, or don't validate length at all before parsing. Second, variable lengths within one country (Austria, Indonesia, Germany) mean you can't tell whether a number is complete by counting digits. A library that knows the ranges can tell you whether a number is possible (right length) and valid (in an allocated range). These are two different checks, and forms should use both.

Which countries changed their formats recently?

Numbering plans change all the time, just rarely all at once. In our study of libphonenumber release notes, the metadata was updated a median of every 14 days between 2019 and September 2026. 223 of the 238 regions changed at least once, and Singapore, the United States and Hong Kong changed most often (numbering-plan research; dataset at /datasets/numbering-plan-changes-2019-2026).

The metadata version behind this table (9.0.41) updated the phone rules for China, Nigeria and the United States (libphonenumber release notes, 2026). Most such changes open new ranges rather than change lengths. But a validation library that is a few months old will reject some valid new numbers. Update it at least monthly, and regenerate references like this one when you do.

National regulators publish the authoritative plans, and many notify the ITU, which keeps a page per country (ITU, 2026). When a customer says a valid number is rejected, check there before overriding validation.

How do I convert local numbers to E.164 in code?

Parse with a library and a default country, then format. Don't concatenate strings: the trunk prefix, number length and area-code rules differ by country, and the library already knows them.

JavaScript (libphonenumber-js), using the UK's reserved drama range:

JavaScript
import { parsePhoneNumber } from "libphonenumber-js/max";

const n = parsePhoneNumber("07700 900123", "GB");
n.number;               // "+447700900123"  (E.164, trunk 0 dropped)
n.formatInternational(); // "+44 7700 900123"
n.isPossible();         // true: right length for the UK
n.isValid();            // false: 07700 900xxx is reserved for fiction, so no real range matches

Python (phonenumbers 9.0.40):

Python
import phonenumbers

n = phonenumbers.parse("07700 900123", "GB")
phonenumbers.format_number(n, phonenumbers.PhoneNumberFormat.E164)  # '+447700900123'
phonenumbers.is_possible_number(n)                                   # True
phonenumbers.is_valid_number(n)                                      # False (reserved fictional range)

The reserved range is a useful test: it formats correctly but fails validation, which is exactly what should happen to a number no one can hold. Validity means "the number fits an allocated range". It doesn't mean the number is in service. For whether a number is mobile or VoIP and which network it is on, use a carrier and line type lookup. For normalizing whole spreadsheets, see normalize phone numbers in Excel and Sheets. Our E.164 regex is not enough post shows what a pattern alone misses.

A practical rule for messaging links and APIs: store and send the E.164 form, and let each platform's own documentation tell you whether it wants the +. Stripping a trunk 0 by hand is how +4407… numbers end up in databases.

How was the table generated?

By a script in our repository, apps/web/scripts/gen-phone-formats-table.mjs, which reads the metadata bundled with libphonenumber-js 1.13.15. That is libphonenumber metadata release 9.0.41, derived from Google's PhoneNumberMetadata.xml (Apache License 2.0) (libphonenumber, 2026). It covers the metadata's 245 regions minus seven sanctioned countries, which MobileValidate doesn't serve. For each of the 238 regions it takes:

  • Calling code, international prefix and trunk prefix from the region's numbering plan. Where the plan defines the international prefix as a pattern of carrier codes with no single preferred value, the table says "varies". "8 (tone) 10" means: dial 8, wait for a second tone, then dial 10.
  • Mobile and fixed-line digits: the possible lengths of the national significant number for the MOBILE and FIXED_LINE types.
  • Mobile format: the library's example mobile number, formatted internationally, with every digit after the first national digit replaced by X. We never publish the example digits themselves: example numbers come from valid ranges and could belong to someone.
  • Names from Intl.DisplayNames (Unicode CLDR, English).

Limits: possible lengths are the metadata's view, not a regulator's statement. The metadata doesn't separate every special range (M2M, pager, shared-cost). And a region's first digit can be misleading where mobile and fixed ranges overlap. We regenerate the table when we update the library.

What are the key takeaways?

  • The international format is E.164: +, calling code, national number without the trunk prefix, up to 15 digits.
  • Drop the trunk prefix (0 in 108 regions, 1 in the +1 countries). But where there is no trunk prefix, as in Italy, a leading 0 is part of the number and stays.
  • Mobile numbers are most often 9, 8 or 10 national digits, but lengths vary by country and sometimes within one.
  • 25 regions share +1 and four share +44, so don't infer the country from the calling code alone.
  • Parse and format with a maintained library and a default country, and update its metadata often. Numbering rules change about every two weeks somewhere in the world.

Sources

  1. Recommendation ITU-T E.164: The international public telecommunication numbering plan — International Telecommunication Union, 2010
  2. List of ITU-T Recommendation E.164 assigned country codes — International Telecommunication Union, 2026
  3. National Numbering Plans — International Telecommunication Union (ITU-T), 2026
  4. libphonenumber PhoneNumberMetadata.xml — libphonenumber project (Apache License 2.0), 2026
  5. libphonenumber release_notes.txt — libphonenumber project, 2026
  6. libphonenumber-js 1.13.15 (metadata 9.0.41) — libphonenumber-js project (MIT), 2026

Frequently asked questions

What is the international format for a phone number?

E.164: a plus sign, the country calling code, then the national number without any trunk prefix such as a leading 0, with no spaces and at most 15 digits in total. A UK mobile written 07XXX XXXXXX nationally becomes +447XXXXXXXXX.

What is a trunk prefix?

The digit or digits you dial before a national number inside the country, most often 0 (UK, Germany, India) or 1 (the US and Canada). It is not part of the number itself, so you drop it when you write the number in international format.

How many digits does a mobile number have?

It depends on the country. In our table, generated from libphonenumber metadata for 238 regions, 197 regions have a single mobile length, and among them the most common is 9 digits (70 regions), then 8 (52) and 10 (45). The national number excludes the calling code and trunk prefix.

Are the example numbers in the table real phone numbers?

No. The format column is masked: only the calling code and first national digit are kept, and every other digit is shown as X. It shows the shape of a mobile number, not a number anyone can dial.

How do I convert a local number to E.164 in code?

Parse it with a numbering-plan library and a default country, then format it as E.164. In JavaScript, parsePhoneNumber('07700 900123', 'GB').number from libphonenumber-js returns +447700900123. Then check isValid() separately. Don't build the result with string concatenation, because trunk-prefix rules differ between countries.

All articles

Know before you send.

Create a free account: approved automatically, usually within 10–15 minutes.

Free to start: check 100 phone numbers and 20 e-mail addresses for real on your account, plus an unlimited test mode. You pay only for conclusive answers, from $20.