Go back to dialerseat.comsales@dialerseat.com
Free tool

E.164 phone number format checker

Paste phone numbers, one per line, and pick the country for any written without a plus. Each comes back in E.164, a plus, the country code and the number with nothing else, such as +12025550143, with a note on any that can't be right. It runs in your browser: nothing is sent, and it checks the format, not whether the line is in service.

E.164 format examples

CountryWritten locallyE.164
United States(202) 555-0143+12025550143
United Kingdom07700 900123+447700900123
Australia0491 570 006+61491570006
Already international+44 (0)7700 900123+447700900123

All example numbers are from ranges set aside for fiction and testing.

The rules the checker applies

  • A number that starts with + keeps its country code. 00, and 011 from the US and Canada, are read as the international prefix.
  • A number without one gets the chosen country's code, and that country's trunk prefix is dropped: the leading 0 in the UK, Ireland, Australia, New Zealand and most of Europe. Italy keeps its 0; Spain and Mexico have none.
  • The whole number is at most 15 digits, and the first digit after the plus is never 0.
  • For +1 numbers, the area code and the exchange can't start with 0 or 1.
  • Extensions are removed and noted: E.164 has none.

E.164 regex

JavaScript
// Shape only: plus, no leading zero, at most 15 digits
const E164 = /^\+[1-9]\d{1,14}$/
E164.test('+12025550143') // true
E164.test('2025550143')   // false: no country code
Python
import re
E164 = re.compile(r"^\+[1-9]\d{1,14}$")
bool(E164.match("+447700900123"))  # True

Questions

What is the E.164 format?

The ITU-T standard for international phone numbers: a plus sign, the country code, then the national number with no spaces, dashes or brackets, at most 15 digits after the plus. +12025550143 is a US number in E.164.

What is the regex for E.164?

^\+[1-9]\d{1,14}$ checks the shape: a plus, a first digit that is not 0, and up to 15 digits in all. It does not check that the country code exists or that the number is in service.

How do I write a UK number in E.164?

Drop the leading 0 and add +44. 07700 900123 becomes +447700900123. A number written +44 (0)7700 900123 loses the (0) too.

How do I write an Australian number in E.164?

Drop the leading 0 and add +61. The mobile 0491 570 006 becomes +61491570006.

Does E.164 include an extension?

No. E.164 reaches the line, not an extension behind it. Store the extension in its own field and dial it after the call connects.

Does a valid format mean the number works?

No. This checks the format, the way an API validates its input. Whether a number is assigned, is a mobile, or is on a do-not-call list takes a carrier lookup or a registry scrub.


Numbers in E.164 mean one thing to every phone API, which is why calling APIs store them that way. Before dialing a list, see the do-not-call API guide and the glossary. DialerSeat for Developers puts a dialer inside your product; read the quickstart.