Docs
Browse Docs
Field guide · Names and identity

Phone number formats

The same phone number is written with different punctuation, spacing, prefixes, and extensions.

What it looks like

Before
phonecountrystandard_formextension
(804) 555-0142US··
804.555.0142 x12US··
020 7946 0018GB··
555-0142US··
After
phonecountrystandard_formextension
(804) 555-0142US+18045550142·
804.555.0142 x12US+1804555014212
020 7946 0018GB+442079460018·
555-0142USneeds a decision·
The country column supplies the country code. The last row has no area code, so the full number cannot be worked out from the cell.

How it happens

  • A free text field accepts any punctuation, and people write numbers the way they say them.
  • Local numbers were recorded without an area code or country code because everyone nearby shared it.
  • Extensions and notes such as a preferred time to call were typed into the same cell.

What it breaks

  • Two records for the same person do not match on phone, so duplicates survive.
  • Automatic dialing and text messaging reject numbers that are not in the form they expect.
  • A number stored as a numeric type loses its plus sign and any leading zero.

How to spot it

  • Remove everything except digits and count the lengths. Several lengths in one column means missing or extra prefixes.
  • Search for letters. They usually mark an extension or a note.
  • Look for values that begin with a plus sign beside values that do not.

How to fix it

  • Store phone numbers as text, never as numbers.
  • Move extensions to their own column before touching the digits.
  • Convert to one international form, such as E.164: a plus sign, the country code, then the number without the national trunk prefix.
  • Add a country code only when the country is known from other evidence. A number with no country and no area code needs a person.

TermsStandardization, Canonical value, String, Validation

Karg checks for many of these when it profiles a file, applies the fixes it is confident about, and sets the rest aside for your review. See how it works, or have our team clean your data for you.