Skip to content
OmniChannels.ai

SMS and telecom

What is E.164 number format?

International phone number format · E.164

Definition

E.164 is the ITU-T international numbering plan. An E.164 number is written with a leading + followed by the country code and national number, up to 15 digits in total, with no spaces or punctuation.

An international number consists of a country code (1–3 digits) followed by the national significant number, which mobile networks split into a national destination code and a subscriber number (3GPP TS 23.003). The total length including the country code is at most 15 digits. The leading + stands for the international call prefix, which differs by country (00 in many countries, 011 in the US).

Messaging APIs expect numbers in E.164 so they can be routed unambiguously. Drop the national trunk prefix (the leading 0) when converting: 050 123 4567 in the UAE becomes +971501234567. Not every country uses the 0 prefix the same way: in Italy, for example, the 0 of landline numbers is part of the number and stays.

Store numbers in E.164 in your CRM. Local formats, duplicated country codes and spaces are a frequent cause of failed sends and duplicate contacts, and a customer’s number written two ways becomes two contacts who each receive the same campaign. Normalise at the point of entry, not at send time.

Normalisation needs the country context. “0501234567” is only valid for a given default country, so collect the country with the number or default from the user’s market. Libraries such as Google’s libphonenumber parse, validate and format numbers for most countries and are widely used for this.

Some APIs and SMPP fields want the number without the +; in SMPP, set the TON to international (1) and NPI to ISDN/E.164 (1) and send the digits only. The WhatsApp Cloud API accepts numbers with or without the plus sign; always check the API’s documentation and test with a number of your own.

Format validity is not the same as reachability. A number can be correctly formatted but unassigned, disconnected or ported to another operator. HLR lookup and number lookup services check whether a number is active and which network it belongs to, so campaigns avoid dead numbers and routing uses the right operator.

The country code also reveals the market, which matters for pricing and rules: +971 is the UAE, +966 Saudi Arabia, +974 Qatar, +965 Kuwait, +973 Bahrain and +968 Oman. Rates, sender ID rules and sending hours are applied per destination, so a clean E.164 field lets a platform apply them correctly.

The phone number formatter on this site converts local numbers to E.164, and OmniChannels.ai’s campaign upload deduplicates numbers before sending.

Example

+971501234567 (UAE mobile), +966512345678 (Saudi mobile), +442071234567 (UK landline)

Frequently asked questions

How many digits can an E.164 number have?

At most 15 digits including the country code, not counting the leading plus sign.

Do I include the leading zero in E.164?

Usually not. The national trunk prefix 0 is dropped when converting to international format, so 050 123 4567 in the UAE becomes +971501234567. A few countries keep a leading zero as part of the number, so use a library.

Is a number in E.164 format guaranteed to work?

No. The format only means the number is structured correctly. It may still be unassigned, disconnected or ported, which an HLR lookup can check.

Sources