Phone Number Formatter (E.164 & International Format)
Instantly format any phone number into E.164, international, and national formats for free. Validates the number and detects whether it is a mobile or landline. Everything runs locally in your browser — nothing is sent to a server.
What Is a Phone Number Formatter
A phone number formatter converts a phone number typed in any style — with hyphens, spaces, parentheses, or just digits — into three standard formats: E.164, international, and national. It also validates whether the number's length and digit pattern are plausible for the selected country and detects the number type, such as mobile or landline.
Many SMS delivery services and international calling APIs require phone numbers in E.164 format (e.g. +12025550143), but normalizing whatever format a user typed into that shape is more fiddly than it sounds. This tool does that conversion entirely in your browser and never transmits the number you enter.
How to Use
- Select a country / region Choose the country used as the parsing baseline when the number itself has no country code.
- Enter the phone number You can type it with hyphens, spaces, and parentheses, or as plain digits.
- Check the converted result The E.164, international, and national formats, plus the number type, appear automatically.
- Try another number Use the Clear button to reset the input and check a different number.
Tips for getting more out of it
- Enter the number with its country code (e.g. +1, +44) to have it parsed correctly regardless of which country is selected. This is the most reliable way to check a foreign number.
- You can paste numbers with hyphens, spaces, or parentheses as-is. Punctuation is automatically stripped before parsing.
- "Valid" only means the length and digit pattern match the rules for that country — it does not confirm the number is currently assigned to a subscriber.
- If you omit the country code, the number is parsed against the currently selected country. Change the country first when checking a number written in another country's local format.
- When registering a number with an SMS API such as Twilio or Amazon SNS, you can copy the E.164 output (e.g. "+12025550143") directly — that is the format most of these APIs require.
Use Cases
Validating a phone field in a web form
Check ahead of time whether a number entered in an internationally-facing form is a plausible format.
Pre-checking a number before registering it with an SMS or calling API
APIs like Twilio and Amazon SNS often require E.164 format — normalize the number before sending it.
Displaying an overseas office number correctly on a business card or website
Convert it to the international format including the country code so it can be dialed correctly from anywhere.
Determining whether a received number is a mobile or landline
Useful when you need to filter recipients down to mobile numbers only, for example.
Glossary
- E.164
- The international phone number standard defined by the ITU-T (International Telecommunication Union). It represents a number as a "+" sign, a country calling code, and the national number, up to 15 digits total.
- Country Calling Code
- A numeric identifier assigned to each country or region, such as 81 for Japan or 1 for the United States and Canada.
- National Format
- A phone number written in the style commonly used within its own country — for example, a US number written as (202) 555-0143.
- International Format
- A phone number written with its country calling code included, so it can be dialed correctly from any other country.
- Number Type
- A classification of which kind of line or service a phone number is assigned to, such as mobile, fixed line, or toll-free.
- Validation
- Checking whether an entered number's length and digit pattern conform to that country's phone number rules — not confirming that a real subscriber actually holds it.
Frequently Asked Questions
Side Note — Why "Correct" Phone Number Formats Differ So Much Between Countries
Phone number length and formatting vary enormously from country to country. A US number is always a 3-digit area code plus a 7-digit line number, while Japanese mobile numbers are 11 digits starting with 090, 080, or 070, and the length of a Japanese landline's area code depends on the region. These differences are a legacy of the era of mechanical telephone exchanges, when each country designed its own numbering plan around the size and structure of its domestic switching network — infrastructure decisions that are far too costly and disruptive to unify decades later.
To make international calling possible across all these incompatible local formats, the ITU-T (the telecommunication standardization body of the International Telecommunication Union) defined E.164, a single international format: a "+" sign, followed by a country calling code, followed by the national number. This lets any exchange in the world recognize both "this is an international call" and "which country it is destined for" — the quiet but essential standard underlying the fact that dialing a number connects you anywhere on the planet.
Today, E.164 has become the de facto standard not just for voice calls but for SMS delivery APIs, one-time-password verification, and countless other services that require a phone number field. Normalizing a number a user typed in whatever format they like into strict E.164 is a small but unavoidable step for any internationally-facing web service.