Phone number formatter
Paste a list or a CSV and get every number in one format, with repeats removed and the state and time zone beside each valid row.
Nothing is uploaded. Your list is read and cleaned inside this page, and no network request carries it.
Paste a list or choose a file to see the cleaned numbers, the counts and a state tally.
How the formatter cleans a list
Every cell in the phone column goes through the same steps. Spaces, dots, dashes and parentheses are stripped, an eleven digit number that starts with 1 loses the 1, and what is left must be ten digits that fit the North American numbering plan. Text after x, ext or # is treated as an extension and set aside before any digits are counted. The page does all of this in your browser, so the list never leaves your computer, and a list of 100,000 rows is worked through in slices so the tab stays usable.
What makes a number valid
| Check | Rule | Reason shown when it fails |
|---|---|---|
| Length | Ten digits, or eleven with a leading 1 | wrong length |
| Area code | First digit 2 to 9, and not an N11 code such as 411 or 911 | bad area code |
| Exchange | The three digits after the area code start with 2 to 9 | bad exchange |
| Placeholder | 5555555555, one digit repeated ten times, or 555-0100 through 555-0199 | placeholder |
| Area code in service | The code appears in the NANPA NPA report for the US and its territories, or is a known Canadian, Caribbean or non-geographic code | unassigned area code |
| International | A plus sign followed by anything other than 1, or more than eleven digits | international |
| Spreadsheet damage | A cell such as 2.13555E+09, where a spreadsheet has already rounded the digits away | scientific notation |
| Blank cell | A row with other data but nothing in the phone column | empty |
Wholly blank lines are skipped and are not counted as rows. International numbers are never reshaped. They stay in the results with their reason so you can pull them out and handle them on their own.
How the phone column is chosen
A first line with a comma or tab, or a first line with no digits at all, is read as a table. If no cell in that first row holds seven or more digits it is treated as a header row. For each column the page looks at the first 2,000 data rows and counts how many cells are valid numbers. The column with the most wins. When two columns tie, a header containing phone, mobile, cell or tel wins, and if neither has such a header the left column wins. When no column holds a single valid number, the column with the most digit-heavy cells is used so you still see why the rows failed. Quoted fields may contain commas and doubled quotes, and every other column is carried into the download unchanged.
Repeats
Two rows are the same number when their ten digits match, whatever the punctuation, the leading +1 or the extension. The first row stays and the later ones are counted as removed. Rows read always equals valid plus invalid plus repeats removed.
State and time zone columns
For each valid number the area code is looked up in a table built from the NANPA NPA report. The state (or DC or territory) and the primary time zone are added to the row, and a tally of valid numbers by state is shown above the table. Some area codes cover more than one zone. Those rows show the first zone the report lists and carry spans set to yes in the download. Canadian and Caribbean numbers are valid but have no state, so they are tallied as Non-US.
The download
The CSV keeps your original columns in their original order. In the phone column, valid numbers are replaced with the format you picked and invalid cells are left as you entered them. Six columns are added at the end: extension, state, timezone, spans, status and reason. Quotes inside cells are escaped, so the file opens cleanly in a spreadsheet.
Frequently asked questions
Why was 2.13555E+09 rejected instead of fixed?
What happens to extensions like x123 or ext. 12?
What does the formatter do with international numbers?
My file has two phone columns. Which one is used?
Why does a number with a real-looking area code say unassigned area code?
Which copy of a repeated number is kept?
Why does 850 or 915 show one time zone and say it spans zones?
Sources
- NANPA NPA report, area codes by state and time zone (npa_report.csv), read 2026-11-23
- North American Numbering Plan Administrator, home page: scope of the plan and the administrator role, read 2026-10-18
- NANPA, 555 line numbers: assignment history and the few lines still in use, read 2026-10-18
- ITU-T Recommendation E.164, the international public telecommunication numbering plan, read 2026-10-18
Related tools
SMS character counter with segment count
Count SMS characters, see GSM-7 or Unicode encoding, segments and cost per send, and fix the characters that double your message count.
TCPA calling hours calculator
Type a phone number, area code or state and see if a call, text or voicemail drop is inside the legal hours right now, on the recipient clock.
Best time to send a voicemail, by time zone
Add a list of numbers or area codes, choose a day, and see when to send to each zone, shown on your own clock and held inside each state window.