Phone Number Formatter
Format phone numbers
Format phone numbers Runs locally in your browser
Formats a single number. Anything that is not a plausible number is reported as invalid.
About the
The Phone Number Formatter strips everything that is not a digit from a number and rewrites it in a standard display form. It recognises the three lengths that cover most North American numbers: ten digits become the familiar (123) 456-7890, eleven digits starting with a country code become 1 (234) 567-8901, and seven digits become a local 123-4567. Anything longer or shorter is reported as an international number with its raw digit count, which is the honest answer when the format is not one this tool can safely assume.
Where people use the
- Normalising a spreadsheet column of numbers typed in several formats.
- Producing consistent display text from raw digits in a database.
- Checking how many digits a number actually has before importing.
- Cleaning numbers pasted out of an email signature or a document.
How to use the
- 1
Paste the number
Any existing formatting is fine. Parentheses, dashes, spaces, dots and a leading plus are all ignored.
- 2
Run it
The output depends on how many digits were found, as described below.
- 3
Check the digit count
If the result says International, count the digits yourself. A number that is one digit short or long is the usual cause of a formatting surprise.
- 4
Store numbers as digits
Formatting belongs at display time. Keeping only digits in your database avoids every dialect of separator.
Tips and best practices
- Strip extensions before formatting and re-attach them afterwards.
- Store digits only; format for humans at the last moment.
- For anything outside North America, keep the E.164 form with the country code.
Frequently asked questions
Why do I get an international result instead of a formatted number?
Because the digit count is not 7, 10 or 11. That usually means a missing or extra digit, or a non-North-American number. The tool reports the raw digits and their count rather than guessing at a national format.
Does it validate that the number exists?
No. It only rewrites the shape of the number. It cannot tell whether a number is assigned, whether it is a landline or a mobile, or whether it can receive SMS. That needs a carrier lookup service.
What about extensions?
An extension is not a digit pattern this tool recognises. Remove it before formatting and append it afterwards, usually as ext. followed by the number.
Why is my plus sign dropped?
Because the plus is not a digit, and it is part of the international notation rather than the number itself. The tool reports the digits so you can re-add the prefix in whatever notation your system expects, such as 00 or +.
Should I store formatted numbers?
No. Store the digits, ideally in E.164 form with the country code, and format at the point of display. That keeps search and deduplication reliable.