Phone Number Parser and Formatter
Parse and format phone numbers with international codes, detect country, and convert to E.164 format.
Phone Number Parser and Formatter tool
Example
Input: (415) 555-2671 with Country set to US
Result: Valid - E.164 +14155552671, International +1 415 555 2671, National (415) 555-2671, Type FIXED_LINE_OR_MOBILE
E.164 is a plus sign, the country calling code (1 for the US) and the national number with no spaces or punctuation. US numbers cannot be told apart as mobile or landline from the number alone.
- Enter a phone number in any format, with spaces, dashes, dots, brackets or plain digits.
- If the number does not start with + and a country code, pick its country from the dropdown.
- Check the Valid, Possible or Invalid badge, the detected country and the number type (such as MOBILE, FIXED_LINE or TOLL_FREE).
- Read the E.164 (+14155551234), international (+1 415 555 1234), national ((415) 555-1234) and tel: URI formats.
- Copy the format you need with the copy button next to it.
Formatting Phone Numbers to E.164
This tool turns a phone number written any way into standard formats. Type (415) 555-2671 with the country set to US and you get E.164 (+14155552671), international (+1 415 555 2671), national ((415) 555-2671) and a tel: link. E.164 is the format most SMS and calling APIs expect.
E.164 is the ITU numbering standard: a plus sign, the country calling code and the national number, with no spaces and at most 15 digits. It is the best way to store numbers in a database, because each number has exactly one E.164 form. The national and international forms are for showing numbers to people.
The Country list only matters when a number has no + at the start. The number 020 7946 0958 means little on its own, but with GB selected it becomes +442079460958. If you type a + and a country code, the tool finds the country itself. An exit code such as 011 from the US or 00 from most of Europe also works when it matches the selected country.
The badge reads Valid, Possible or Invalid. Valid means the number fits a range the country actually uses. Possible means the length is right, but the range is not known to be in use. Where the data allows, the tool also shows the line type, such as MOBILE, FIXED_LINE or TOLL_FREE, and otherwise Unknown. In the US and Canada, mobile and landline numbers share ranges, so you see FIXED_LINE_OR_MOBILE. It is built on the libphonenumber-js library and lists 245 countries and regions.
The check covers the format only. It cannot tell you whether a number is in service or who answers it. To tidy email lists in a similar way, try the Email Normalizer.
Sources
Frequently Asked Questions
Related Tools
Email Normalizer
Normalize email addresses by lowercasing, removing dots and plus aliases for Gmail, and trimming whitespace.
Network ToolsIBAN Validator and Parser
Validate IBAN format, verify check digits, and extract country code, bank code, and account number.
Network Tools