How to format phone numbers with a country code
SMS tools, WhatsApp and most CRMs want phone numbers in international format: a plus sign, the country code, then the number. Local numbers like 0412 345 678 have to lose their leading zero first, and every country is a little different.
Show me how to do it myself or use the tool below.
0412 345 678
+61 412 345 678
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
How local numbers become international
- Singapore (+65): 9123 4567 → +65 9123 4567 (no leading zero to remove)
- United Kingdom (+44): 07700 900123 → +44 7700 900123 (drop the 0)
- Australia (+61): 0412 345 678 → +61 412 345 678 (drop the 0)
- United States (+1): (415) 555-0132 → +1 415 555 0132
The rule of thumb: remove the trunk prefix (usually a leading 0), then add + and the country code.
With a formula in Excel or Google Sheets
If all your numbers are from one country and stored as text in A2:
- Digits only
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2,"-",""),"(",""),")","")," ","")- UK or Australia: drop the leading 0 and add the code (change 44 to 61 for Australia)
=IF(LEFT(B2,1)="0","+44"&MID(B2,2,20),B2)- Singapore: add +65 to 8-digit numbers
=IF(LEN(B2)=8,"+65"&B2,B2)
Catch: each formula only works for one country, and numbers that already start with a code (or 00) need their own rule. Excel also drops leading zeros if the column is formatted as a number, so format it as Text first.
Or let TidyRow work out each number
- Drop your .csv or .xlsx file onto the box above.
- Set your country. It’s used only for numbers typed without a code.
- Choose “With spaces” (+44 7700 900123) or “No spaces” (+447700900123), then download.
- Uses each country’s own numbering rules, for every country
- Numbers that already have a code keep it: 0044 20 7946 0958 → +44 20 7946 0958
- Invalid numbers are counted and tidied, never given a guessed code
- Free for up to 100 rows, and your file is never uploaded
Frequently asked questions
Which format should I use: with spaces or without?
Without spaces (+6591234567, known as E.164) is the safest for SMS tools, WhatsApp and CRMs like HubSpot. With spaces is easier to read if people will look at the list.
My list has numbers from several countries. Will that work?
Yes. Numbers that already include a country code (with + or 00) keep their own country. Only numbers without a code are given your chosen country’s code.
Why does Excel remove the 0 at the start of my phone numbers?
Excel treats them as numbers. Format the column as Text before typing or pasting. If the 0 is already gone, TidyRow can still add the country code: with UK chosen, 7911123456 becomes +44 7911 123456.
Other clean-ups
- Free phone number formatter
- Free name splitter
- Split first and last name in a CSV
- Free duplicate remover
- Free email list cleaner
- How to clean up Excel data
- How to format phone numbers in Google Sheets
- How to separate first and last name in Excel
- How to separate first and last name in Google Sheets
- How to remove duplicates in Excel
- How to remove duplicates in Google Sheets
- How to format phone numbers in Excel
- How to clean an email list in Excel before you import it
- How to import contacts to HubSpot from a CSV
- How to format a CSV for a Mailchimp import
- How to import customers into Shopify with a CSV
- How to clean a Shopify customer export
- How to import contacts into Salesforce from a CSV
- How to import contacts into Pipedrive from a spreadsheet
- How to import contacts into Zoho CRM from a CSV
- How to format a CSV for a Klaviyo import
- How to import a CSV into Google Contacts
- How to import contacts into Outlook from a CSV