UTILITY

Phone Number Parser and Formatter

Enter a phone number and a country to check it and format it as E.164, international and national, with the country and line type where known.

Examples:

About this phone number parser

This tool reads a phone number written in almost any style and tells you whether it fits the numbering plan of its country. It then rewrites the number in the formats you need: E.164 for databases and APIs, the international format with spaces, and the national format people dial at home. It runs in your browser on a bundled copy of the open-source libphonenumber-js library, which uses the number-plan data from Google's libphonenumber project. The number you enter is not sent anywhere, and the tool works offline once the page has loaded.

What you see

Numbers without a plus sign

A number such as 020 7946 0958 only makes sense inside a country, so pick the country in the list. If the number starts with + or 00 and the country code, the country is read from the number itself and the list is ignored.

What a result can and cannot tell you

Paired with the IBAN validator, this makes a quick check for the contact details on an invoice or a form. For time zones when you call, see the time zone converter.

Frequently asked questions

How do I format a phone number in E.164?

Enter the number and choose its country if it has no plus sign. The E.164 result shows a plus, the country code and the digits with no spaces or punctuation, for example +442079460958.

Is this phone number validator accurate?

It uses the numbering-plan data from Google's libphonenumber project, the same data used by many apps. It reliably checks the format and range of a number but cannot tell whether the number is currently assigned to anyone.

Why does it say 'Fixed line or mobile'?

In some plans, such as the United States and Canada, mobile and fixed numbers share the same ranges, so the type cannot be told from the digits alone.

What is the difference between possible and valid?

A possible number has a plausible length for the country. A valid number also matches a range that the country's numbering plan assigns. A number can be possible without being valid.

Does the tool call or text the number?

No. It only reads the digits in your browser and applies formatting rules. Nothing is dialled, sent or stored.

Why is my new number marked invalid?

Countries add number ranges over time, and the data in this page is a snapshot from mid 2026. A very recent range may be missing. Also check that the right country is selected for numbers written without a plus sign.