TidyRow

Nothing uploaded

How to format phone numbers in Google Sheets

Paste a column of phone numbers from Google Sheets into the formatter below and copy it back in one clean international format. Further down are the built-in options and where they fall short.

Show me how to do it myself or use the tool below.

Example

(415) 555-0132 · 9123 4567

+1 415 555 0132 · +65 9123 4567

Free phone number formatter

Runs in your browser. Nothing is uploaded.

Formatted numbers

Cleaning a whole spreadsheet? Drop the file in below.

Add your file

A CSV or Excel file exported from your store, CRM, email tool or spreadsheet.

Want proof nothing is uploaded? Once this page has loaded, turn off your Wi-Fi. It still works.

Check what we fixed

Names, phone numbers, emails and duplicates are fixed for you.

Download your clean file

Quickest: paste the column into the formatter

  1. In Google Sheets, select the phone column and copy it.
  2. Paste it into the formatter box on this page and choose the country for numbers without a code.
  3. Click “Copy for Excel”, then paste the result back into your sheet. It works for Google Sheets too.

Method 1: A custom number format

  1. Select the phone column.
  2. Go to Format → Number → Custom number format.
  3. Enter a pattern such as "+65 "0000 0000 and click Apply.

Catch: this only changes how the numbers look, only works on numbers stored as numbers, and only for one length. Numbers with dashes or brackets are text and are left alone.

Method 2: A formula

To strip everything except digits and a leading +, then add a country code, for the number in A2:

Digits only (keeps a leading +)
=REGEXREPLACE(A2,"[^0-9+]","")
Add a country code to a local number
="+65"&REGEXREPLACE(A2,"[^0-9]","")
Whole column at once
=ARRAYFORMULA(REGEXREPLACE(A2:A,"[^0-9+]",""))

Catch: you need a different formula for every country, numbers that already have a code get it twice, and leading zeros disappear if the cells are formatted as numbers. Format the column as Plain text (Format → Number → Plain text) before you paste.

Which format should I choose?

  • With spaces (+65 9123 4567): easiest to read.
  • Without spaces (+6591234567, called E.164): what SMS tools, WhatsApp and most CRMs expect.

Formatting a whole contact file? Drop it into the cleaner below: it formats every phone column and can also split names, fix emails and remove duplicates.

Frequently asked questions

How do I add a country code to phone numbers in Google Sheets?

If every number is from one country, ="+65"&A2 works once the number is digits only. For lists with several countries, paste the column into the formatter above, which works out each number’s country.

Why does Google Sheets remove the leading zero from phone numbers?

Because it treats the cell as a number. Format the column as Plain text before pasting, or add the numbers with an apostrophe in front. The formatter above handles the zero correctly for the country you pick.

Are my phone numbers uploaded anywhere?

No. The formatting runs in your browser, so the numbers never leave your computer.

Other clean-ups