HomeFormattersEverydayUS Phone Number Formatter

US Phone Number Formatter

Everyday

Format US phone numbers into standard (555) 123-4567, E.164, dots, or dashes style. Bulk input, strips country code — all in your browser, nothing stored.

What is a US Phone?

The US Phone Number Formatter takes raw US phone number input — in any format — and outputs them in a consistent, chosen display style. US phone numbers follow the North American Numbering Plan (NANP): a 3-digit area code, a 3-digit exchange code, and a 4-digit subscriber number, totalling 10 digits after the country code (+1).

In the real world, US phone numbers appear in dozens of inconsistent formats: 5551234567, (555) 123-4567, 555-123-4567, 555.123.4567, +1 555 123 4567. A CRM export, a CSV from a web form, and a copied contact list can all use different separators. Before passing numbers to an SMS API, a VoIP system, or a standardised contact database, all variants need to be normalised to one format.

Five output formats:

  • (xxx) xxx-xxxx — US standard. Used on business cards, websites, and most consumer-facing displays.
  • +1xxxxxxxxxx (E.164) — Required by Twilio, AWS SNS, Vonage, and most SMS/voice APIs.
  • xxx-xxx-xxxx — Common in North American data entry forms and less formal text.
  • xxx.xxx.xxxx — North American business/print format, common in legal documents.
  • xxxxxxxxxx (plain) — Raw 10 digits for systems that store numbers without any formatting.

All formatting is client-side. Input is never sent to any server or stored.

How to use this US Phone calculator

  1. Paste phone numbers into the 'Phone Number(s)' textarea — one number per line, in any format.
  2. Select the output format from the dropdown — '(xxx) xxx-xxxx' for display, '+1xxxxxxxxxx' for APIs, 'xxx-xxx-xxxx' for data entry.
  3. Review the output — valid numbers are formatted; lines with incorrect digit counts show error messages.
  4. Click the copy button to copy all formatted output.
  5. Fix error lines in your source data — check for truncated numbers, international numbers that need manual handling, or data entry mistakes — then re-paste the corrected lines.
  6. Validate format and range with the Phone Number Validator for production input validation.

Formula & Methodology

Normalisation algorithm:
1. Strip all non-digit characters from each line.
2. If result is 11 digits and starts with 1, strip the leading 1 (country code).
3. Check remaining digit count — must be exactly 10; flag as error otherwise.
4. Apply the selected format pattern:

| Format | Pattern |
|---|---|
| US standard | (${d[0..2]}) ${d[3..5]}-${d[6..9]} |
| E.164 | +1${d[0..9]} |
| Dashes | ${d[0..2]}-${d[3..5]}-${d[6..9]} |
| Dots | ${d[0..2]}.${d[3..5]}.${d[6..9]} |
| Plain | ${d[0..9]} |

Before/after example:

| Raw Input | US Standard | E.164 |
|---|---|---|
| 5551234567 | (555) 123-4567 | +15551234567 |
| +15559876543 | (555) 987-6543 | +15559876543 |
| (555) 111-2222 | (555) 111-2222 | +15551112222 |
| 555.333.4444 | (555) 333-4444 | +15553334444 |
| 12345 | Error: 5 digits | Error: 5 digits |

Frequently Asked Questions

The standard US phone number format for display is (XXX) XXX-XXXX — area code in parentheses, then three digits, a hyphen, and four digits. This is the format recommended by the North American Numbering Plan (NANP) for domestic use. All US phone numbers are 10 digits: a 3-digit area code followed by a 7-digit subscriber number.
E.164 is the international standard for phone number formatting used in APIs, databases, and SIP/VoIP systems. A US number in E.164 format is +1XXXXXXXXXX — the country code +1, followed by the 10-digit number, no spaces or hyphens. E.164 is required by Twilio, Vonage, AWS SNS, and most programmable SMS/voice APIs.
The formatter automatically strips the +1 country code from input. If you paste +15551234567 or 15551234567, the formatter extracts the trailing 10 digits and formats them correctly. If the remaining number is exactly 10 digits, all output format options work. If after stripping the leading 1 the result is not 10 digits, an error is shown for that line.
Yes — paste one number per line in the input area. The formatter processes all lines simultaneously, applying the same output format to each. Lines that cannot be reduced to 10 valid digits show individual error messages. Valid lines and error lines are both shown in the output, line-by-line, so you can identify and fix problem numbers without losing the rest.
The formatter accepts raw 10-digit strings (5551234567), numbers with +1 country code (+15551234567), numbers with hyphens (555-123-4567), dots (555.123.4567), spaces (555 123 4567), or parenthesised area codes ((555) 123-4567). All non-digit characters are stripped before formatting, so any separator style is accepted as input.
Five output formats are available: (xxx) xxx-xxxx (US standard, best for display), +1xxxxxxxxxx (E.164, for APIs), xxx-xxx-xxxx (dashes, for data entry), xxx.xxx.xxxx (dots, common in print and North American business cards), and xxxxxxxxxx (plain 10 digits, for systems that store numbers without formatting).
No — all formatting happens entirely in your browser using client-side JavaScript. Phone number input is never sent to any server, stored, or logged. The tool works offline once the page is loaded. This applies whether you are formatting one number or pasting a full export of hundreds of contacts.
The US uses the North American Numbering Plan (NANP), which assigns area codes in the format NXX where N is 2–9 and X is 0–9. Area codes starting with 0 or 1 are not assigned to geographic areas. The formatter checks digit count only — it does not validate whether a specific area code is currently assigned. Use the Phone Number Validator for format and range checks.
Paste one or more phone numbers into the 'Phone Number(s)' textarea, one per line. Select the output format from the dropdown — '(xxx) xxx-xxxx' for US standard display, '+1xxxxxxxxxx' for APIs, or 'xxx-xxx-xxxx' for data entry. The formatted output appears instantly. Click the copy button to copy all formatted numbers.
A formatter applies a consistent display pattern to raw digit input without assessing whether the number is real or active. A validator checks format rules and can flag invalid area codes (e.g. ones starting with 0 or 1), invalid exchange codes, and numbers that match known patterns like 555 test numbers. Formatting and validation are complementary — use the [Phone Number Validator](/phone-number-validator/) for deeper checking.
The NANP is the telephone numbering plan shared by the United States, Canada, and 20 other territories in North America and the Caribbean. All NANP numbers have the same structure: country code +1, 3-digit area code, 3-digit exchange code, 4-digit subscriber number — 10 digits total after the country code. Because Canada also uses +1, a +1 number could be either US or Canadian.
Also known as
format phone numberUS phone number formatE.164 formatter(555) 123-4567 formatphone number standardiser