Runs in your browser

Phone number formatter & E.164 validator

Paste a number in any format — local, with spaces, with or without the country code — and get the E.164, international and national versions, plus a check against the country's numbering plan. Nothing you type is sent anywhere.

Formatter

Checked on your device only — the number is never sent to PhoneBorn or anyone else.

Type a number to see its E.164, international and national formats.

What E.164 is and why it matters

E.164 is the ITU recommendation that defines the international public telephone numbering plan. It says that every phone number in the world can be written as a country calling code of one to three digits followed by a national significant number, with a maximum of 15 digits overall. Written with a leading plus sign and nothing else — no spaces, dashes, brackets or trunk 0 — the number is unambiguous: +14155550123 can only mean one line, from any country.

That is why sign-up forms, SMS gateways, CRMs and verification APIs store numbers in E.164. When two systems exchange a number in any other format, something eventually goes wrong: a trunk 0 kept after the country code, a country code typed twice, or a local number read against the wrong country. Many “invalid phone number” errors in sign-up flows come down to one of these.

The three formats the tool shows

  • E.164 — +, country code, national number, no spaces. Use it for APIs, databases and single-box forms.
  • International — the same digits grouped for reading, e.g. +44 7700 900123. Use it on business cards and in email signatures.
  • National — how people in that country write it, usually with the trunk 0, e.g. 07700 900123. Use it only for local audiences.

The tool also produces a tel: link you can drop into a web page so the number is tappable on phones.

Valid, possible, or neither

The formatter checks the digits against the country's numbering plan. Valid means the length and the leading digits match a range the country has allocated. Right length but not a valid range usually means a typo in the first digits or the wrong country picked. Not valid means the length is wrong for that country. None of these tell you whether the number is currently active or which network it is on — that information lives with the mobile operators and is only available through a live lookup such as an HLR lookup.

How to use it

  1. Pick the country the number is from. It is only used when the number doesn't already start with + or 00.
  2. Type or paste the number in whatever form you have it.
  3. Copy the format you need with the copy button next to it.

Need the dial code or the usual mobile layout for a country first? The country calling codes table lists all of them. Wondering whether an app will treat a number as mobile or VoIP? See the VoIP vs mobile checker.

The tool is built on libphonenumber-js, an open-source port of Google's libphonenumber, the numbering-plan library used by Android and many messaging apps. Numbering plans change a few times a year, so a newly opened range may briefly show as not valid.

FAQ

Formatter FAQ

What is E.164 format?

E.164 is the international standard for writing phone numbers, published by the ITU. A number in E.164 format is a plus sign, the country calling code and the national number with no spaces or punctuation — for example +447700900123 — and never more than 15 digits in total.

Is the number I type sent anywhere?

No. The formatter runs entirely in your browser using the open-source libphonenumber-js library and its bundled numbering-plan data. There is no network request when you type, and nothing is logged or stored.

What does “valid” mean here?

Valid means the digits match a number range the country has allocated in its numbering plan, with the right length. It does not mean the number is switched on, assigned to anyone or able to receive SMS — only the network (for example through an HLR lookup) can tell you that.

Why does it say the number type is not detectable?

To keep the page fast, the formatter uses compact numbering-plan data that covers formatting and validation but not the full mobile/landline breakdown for every country. When the type can't be derived offline it says so rather than guessing. Line type as apps see it (mobile vs VoIP) needs a carrier lookup.

Which format should I use in a sign-up form?

If the form has a separate country picker, choose the country and enter only the national number without the leading 0. If it has one box, enter the full E.164 number starting with +. For APIs and databases, always store E.164.

Your next number is 60 seconds away.

Create an account with just an email, top up with crypto and get a real mobile number — SMS and calls included — in under a minute.