What is Phone Number Formatter?
Paste any phone number and get it formatted to E.164 international and national standards. It also validates the number and detects the country automatically. Handy for cleaning up CRM data or organizing contacts.
The formatter uses Google's libphonenumber rules to parse messy input and output four canonical formats: E.164 (+18005550199, no spaces) for APIs and SMS gateways, international (+1 800 555 0199) for human reading, national ((800) 555-0199) for in-country use, and RFC 3966 (tel:+18005550199) for tel: links in HTML and email signatures. It also flags invalid numbers, detects the line type (mobile, fixed-line, toll-free, VoIP), supports more than 240 country codes, and detects the country from a leading plus sign when present.
How to use
- Enter a phone number in any format β with or without country code, dashes, spaces, or parentheses.
- Select the country if it isn't auto-detected, so the formatter knows the correct dialing rules.
- Copy the formatted result in international (E.164) or national format.
When to use
- Cleaning a contact list before importing it into a CRM or SMS marketing tool.
- Converting numbers to E.164 so Twilio, Vonage, or WhatsApp Business APIs accept them.
- Validating a phone field in a form submission before saving it to a database.
Result
You have the number '(555) 123-4567' from a US contact. Enter it, select United States, and get the formatted output: +1 555 123 4567 (international) and (555) 123-4567 (national).
FAQ
- What's the difference between E.164 and international format?
- E.164 is the strict storage format used by phone networks and APIs: a plus sign, country code, and digits with no spaces (+442079460958). International format is the same number with locale-friendly spacing (+44 20 7946 0958) meant for humans to read.
- Why does the formatter say my number is invalid even though it dials fine on my phone?
- libphonenumber checks against published numbering plans. Some valid local numbers (extensions, recently allocated ranges) aren't yet in the dataset, and some are formatted in non-standard ways. Try entering it with the country code prefixed, that usually clears it up.
- Do I need to pick the country if the number already starts with +?
- No. When a number begins with a plus and a recognised country code, the formatter detects the country automatically. The country dropdown only matters for local-format inputs without an international prefix.
- Will this format toll-free, mobile, and landline numbers differently?
- It formats them according to the national plan for each country. Toll-free, mobile, and landline numbers in the same country use the same spacing rules. The detected type (mobile, fixed-line, toll-free) is reported separately when libphonenumber can identify it.
- Is my contact list sent anywhere?
- No. Parsing and formatting run in the page itself using a bundled copy of libphonenumber-js. Nothing about the numbers you enter leaves your device, which matters when you're handling customer phone data.
Related Tools
Event Ticket Maker
Design event admission tickets
Email Signature Generator
Design HTML email signatures
International Dialing Code
Look up country dialing codes instantly
Party Invitation
Create digital party invitations
Telegram Link Generator
Create direct Telegram chat links from usernames or phone numbers
Thank You Card
Design and download a personalized thank-you card