# E.164

> E.164 is the international numbering format for phone numbers: a plus sign, the country code and the national number, up to 15 digits, with no spaces, zeros or punctuation.

E.164 is a recommendation of the ITU-T, the standards arm of the International Telecommunication Union. It defines how a telephone number is written for international use: a plus sign, a country code of one to three digits, then the national number, for a maximum of 15 digits. `+14155550142` and `+447700900123` are E.164; `07700 900123` and `(415) 555-0142` are not.

Converting a local number takes three steps: strip spaces, brackets and dashes; drop the trunk prefix, the digit dialled before a national number from inside the country (0 in most countries, 1 in the United States and Canada); then add the plus sign and the country code. A few countries break blanket rules: Italian landline numbers, for example, begin with a 0 that is part of the number rather than a trunk prefix, so it stays after the country code. International access codes such as 00 or 011 are dialling instructions, not part of the number, and disappear in E.164.

APIs use E.164 because it is unambiguous. The country, and therefore the route, the price and the sender rule, can be read from the prefix. Local formats need a default country to be interpreted, and the same digits can mean different numbers in different countries: in a hypothetical list, `0612345678` could be a French or a Dutch mobile number, depending on who wrote it down.

Common mistakes are mostly clerical. A spreadsheet that treats numbers as quantities strips the plus sign and the leading zero, or turns long numbers into scientific notation and loses digits. A North American number already written with its leading 1 receives a second country code. Numbers stored with spaces fail strict validation. And a valid format proves only that a number could exist, not that it is in service; the [MSISDN](https://smsmeteor.io/glossary/msisdn) and [HLR lookup](https://smsmeteor.io/glossary/hlr-lookup) entries explain the difference.

At SMSMeteor: the API takes phone numbers in E.164 with the leading plus. A `to` that is not a valid E.164 number is refused with `invalid_number` before anything is sent, and a prefix with no route is refused with `unsupported_destination`; neither is billed. The panel importer converts local formats to E.164 when you set a default country, merges duplicates and lists invalid rows. The [route checker](https://smsmeteor.io/coverage#check) shows the destination, rate and sender rule of a single number.

Related terms: [MSISDN](https://smsmeteor.io/glossary/msisdn), [REST API (SMS)](https://smsmeteor.io/glossary/rest-api), [Failed vs rejected](https://smsmeteor.io/glossary/failed-vs-rejected)

---
Source: https://smsmeteor.io/glossary/e164 (HTML). Generated by SMSMeteor from the same data as the page. Summary of the whole site: https://smsmeteor.io/llms.txt
