---
title: "Phone number formatter: clean and tag a list"
url: "https://voicedeliver.com/tools/phone-number-formatter.md"
canonical_url: "https://voicedeliver.com/tools/phone-number-formatter"
last_updated: "2026-11-24"
type: "tool"
summary: "Format a list of US and Canadian phone numbers as E.164, national, dashed or digits only, drop repeats and add state and time zone."
related: ["https://voicedeliver.com/tools.md", "https://voicedeliver.com/tools/sms-character-counter.md", "https://voicedeliver.com/tools/tcpa-calling-hours-calculator.md", "https://voicedeliver.com/tools/best-time-to-send-voicemail.md"]
---

# Phone number formatter

> **For AI agents:** the complete index of VoiceDeliver pages is [llms.txt](https://voicedeliver.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Format a list of US and Canadian phone numbers as E.164, national, dashed or digits only, drop repeats and add state and time zone.

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.

## 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.

> **A clean row is not a live line.** The formatter judges digits only. A valid row means the number fits the numbering plan. It cannot tell you whether the line is connected, whether it is a mobile or a landline, or who answers it.

## Frequently asked questions

### Why was 2.13555E+09 rejected instead of fixed?

A spreadsheet that shows 2.13555E+09 has already thrown away the last digits of the number, so the original cannot be rebuilt by guessing. The row is marked scientific notation and left untouched. Re-export the file with the phone column formatted as text and run it again.

### What happens to extensions like x123 or ext. 12?

The extension is cut off before the digits are counted, so 213-555-1234 x123 is the ten digit number 2135551234 with 123 in its own extension column. The extension never changes the length check. It does not stop a row from being a repeat, so two rows that differ only by extension count as the same number.

### What does the formatter do with international numbers?

It leaves them alone. A number that begins with a plus sign and a country code other than 1, or that has more than eleven digits, is listed as international with its original text, never trimmed to ten digits. Use the invalid-only view to copy those rows out and format them with a tool for their own country.

### My file has two phone columns. Which one is used?

The one where the most cells are valid numbers. If they tie, the one whose header contains phone, mobile, cell or tel is used, and if that does not decide it the left column is used. The chosen column is named above the results. To process the other one, move it ahead of the first or delete the first from your file.

### Why does a number with a real-looking area code say unassigned area code?

The area code is not in the NANPA NPA report this page was built from, which was read on 2026-11-23. The usual cause is a typo, such as 221 for 212. New codes are added to the numbering plan over time, so a very new code can also appear here until the table is rebuilt.

### Which copy of a repeated number is kept?

The first one in the list. Later copies are counted under repeats removed and do not appear in the table or the download. Punctuation, a leading +1 and an extension do not make two rows different, only the ten digits do.

### Why does 850 or 915 show one time zone and say it spans zones?

Those area codes cover places in two time zones. The table has to show one, so it shows the zone the NANPA report lists first and marks the row with spans set to yes. Treat the zone on such a row as a starting point, not a fact about where the person is.

## Sources

- [NANPA NPA report, area codes by state and time zone (npa_report.csv)](https://reports.nanpa.com/public/npa_report.csv), read 2026-11-23
- [North American Numbering Plan Administrator, home page: scope of the plan and the administrator role](https://nanpa.com/), read 2026-10-18
- [NANPA, 555 line numbers: assignment history and the few lines still in use](https://nanpa.com/numbering/555-line-numbers), read 2026-10-18
- [ITU-T Recommendation E.164, the international public telecommunication numbering plan](https://www.itu.int/rec/T-REC-E.164/en), read 2026-10-18

## Related tools

- [SMS character counter with segment count](https://voicedeliver.com/tools/sms-character-counter.md)
- [TCPA calling hours calculator](https://voicedeliver.com/tools/tcpa-calling-hours-calculator.md)
- [Best time to send a voicemail, by time zone](https://voicedeliver.com/tools/best-time-to-send-voicemail.md)

## Related

- [Free tools for voicemail and text senders](https://voicedeliver.com/tools.md)
- [SMS character counter with segment count](https://voicedeliver.com/tools/sms-character-counter.md)
- [TCPA calling hours calculator, state by state](https://voicedeliver.com/tools/tcpa-calling-hours-calculator.md)
- [Best Time to Send Voicemail by Time Zone](https://voicedeliver.com/tools/best-time-to-send-voicemail.md)
