Skip to content

Glossary

E.164: the international phone number format

E.164 is the ITU-T standard that writes a phone number as a plus sign, a country calling code and a national number, at most 15 digits, with no punctuation.

Updated 2026-11-23

E.164 is the international telephone numbering plan defined by ITU-T Recommendation E.164. In its everyday form, a number is a plus sign, a country calling code and the national number, written without spaces or punctuation and never longer than 15 digits. +14155550123 is E.164. (415) 555-0123 and 0415 555 0123 are not. It is the one format every carrier, SMS gateway and database can agree on.

How it works

An E.164 number has two parts after the plus sign. The country calling code identifies the country or numbering zone, from one to three digits. The national significant number identifies the line inside it. Together they are called the international public telecommunication number.

Written by a person E.164 Why
(415) 555-0123 +14155550123 Country calling code 1, ten digits
07400 123456 (UK) +447400123456 Calling code 44, leading 0 dropped
06 12 34 56 78 (France) +33612345678 Calling code 33, leading 0 dropped
00 44 7400 123456 +447400123456 00 is a dialing prefix, not part of the number

The leading 0 in many countries is a trunk prefix: it is dialed inside the country and never belongs in the international form. Leaving it in is the most common conversion error.

E.164 is a numbering format, not a dialing instruction. A person in Paris dials 00 or + before the number depending on the device, and the exit code differs per country. The stored form stays the same.

Why it matters for validation

Free-text phone fields produce the same number in a dozen shapes. Without one canonical form you cannot find duplicates, match a number to an SMS provider, or tell whether two accounts share a phone.

Qelka accepts a number in any common format and returns the canonical form in the e164 field, next to national for display and country.calling_code for the code. e164 is null unless the number is valid, so a non-null value means the number fits its country's numbering plan. Send country (an ISO 3166-1 alpha-2 code) when the user typed a national number without a plus sign, otherwise the status is unknown.

Practical rules:

  • Store e164 as text, never as an integer. A number is an identifier, not a quantity, and integers lose the plus sign.
  • Validate on input, store E.164, format for display only on output.
  • Keep the user's original input if you need to show exactly what they typed.

For a longer walk-through with examples from 12 countries, read E.164 format explained and the guide to formatting phone numbers in E.164.

Frequently asked questions

What is E.164 format?
E.164 is the international phone numbering format defined by ITU-T Recommendation E.164. A number is written as a plus sign, the country calling code and the national significant number, with no spaces, dashes or brackets, and at most 15 digits in total. A US example is +14155550123. It is the format to store and to pass between systems.
How many digits can an E.164 number have?
At most 15 digits after the plus sign, counting the country calling code. The shortest valid numbers are only a few digits long in small countries. The 15-digit ceiling is set by ITU-T E.164 and is why a database column for phone numbers should hold at least 16 characters, to fit the plus sign too.
How do I convert a phone number to E.164?
Remove spaces and punctuation, drop the trunk prefix (the leading 0 in most countries), and put the country calling code behind a plus sign. A UK number written 07400 123456 becomes +447400123456. Doing it by hand fails for edge cases, so send the number and its country to the phone validation API and read the e164 field.

Put this check in your product

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

  • 100 free credits a month
  • No card
  • Test keys spend nothing
  • Cancel any time