How to Standardize Phone Numbers in HubSpot
Open any HubSpot portal with more than a few hundred contacts and search the phone number property. You will find a dozen different formats for the same ten-digit number: (555) 123-4567, 555-123-4567, 5551234567, +1 555 123 4567, 555.123.4567, and probably a few with leading ones, trailing extensions, or mysterious extra digits. If your portal accepts international numbers, multiply that chaos by every country dialing convention on earth.
This is not an edge case. It is the normal state of any CRM that accepts phone numbers from forms, imports, manual entry, integrations, and sales reps typing on their phones between meetings. HubSpot does not enforce a phone number format on its default phone or mobilephone properties, so whatever lands there stays there.
To give you a feel for how this cleanup works in practice, here is a quick look at a phone format standardization pass:
Why inconsistent phone numbers actually matter
It is tempting to treat formatting as cosmetic. The number still works — a rep can read it and dial it. But inconsistent phone data causes real operational problems.
Deduplication breaks. HubSpot's duplicate management compares property values as strings. (555) 123-4567 and 5551234567 are the same person, but HubSpot will never flag them as duplicates because the strings don't match.
Workflows misfire. If you have a workflow that branches on whether a phone number contains a country code, or checks whether a phone number "is known," formatting inconsistencies will cause contacts to take the wrong path. A phone number with leading whitespace technically "is known" but might fail a regex-based validation branch.
Reporting gets noisy. Custom reports that group or filter by phone number properties will treat every unique format as a distinct value. You can't reliably count contacts by area code, for instance, if some numbers have parentheses and some don't.
Calling tools choke. If you use HubSpot's calling feature or an integration like Aircall, Kixie, or RingCentral, the phone number needs to be in a format the dialer can parse. Some dialers handle normalization gracefully; others fail silently or dial the wrong number.
Choosing a standard format
Before you clean anything, decide what "correct" looks like. The two most common choices are:
E.164 format: +15551234567 — no spaces, no dashes, includes the country code. This is the international standard and what most APIs and telephony systems expect. If your contacts span multiple countries, this is the right choice.
National format with consistent punctuation: (555) 123-4567 for US numbers. This is more readable for sales reps but only works well if nearly all your contacts are in one country.
If your team operates internationally, go with E.164. If you're a US-focused business and readability matters more than machine parsing, pick a national format and stick with it.
The manual approach (and why it falls apart)
HubSpot lets you edit properties in list view. You can create an active list of contacts, click into each record, and retype the phone number. For 50 contacts, this is annoying but feasible. For 5,000, it is not.
You can also export to CSV, reformat in a spreadsheet using formulas or find-and-replace, and re-import. This works but carries risk. CSV imports to HubSpot overwrite existing values — if your spreadsheet has an error in a column mapping or a formula gone wrong, you've just corrupted thousands of records with no undo button.
Some teams write Python or Node scripts against the HubSpot API. This gives you full control but requires a developer, testing, error handling, and rate-limit management. For a one-time cleanup it might make sense, but most portals need this kind of maintenance regularly.
Common transformations you will need
Here are the specific patterns that show up in nearly every portal:
Removing parentheses around area codes. The search pattern ( replaced with nothing, then ) replaced with nothing (or a single regex pass if your tool supports it). Example: (555) 123-4567 becomes 555 123-4567.
Stripping dashes, dots, and spaces. If you're going to E.164, you want digits only (plus the leading +). Replace -, ., and spaces with nothing.
Adding the country code. For US numbers that are exactly 10 digits after stripping punctuation, prepend +1. Be careful here — you don't want to add +1 to numbers that already have it, and you need to handle 11-digit numbers that start with 1 (the country code is already there, it just needs the +).
Removing leading 1 without +. Some reps enter 15551234567 — 11 digits with the country code but no plus sign. These need + prepended, not +1.
Trimming whitespace. Leading and trailing spaces are invisible in the HubSpot UI but break string comparisons. Always include a whitespace-trimming pass.
Using SearchReplace for phone number cleanup
SearchReplace supports regex patterns, which makes phone number normalization practical even for complex transformations across large contact databases.
Here's how a typical cleanup workflow goes:
Step 1 — Audit the damage. Connect your HubSpot portal and search the phone property for a broad pattern. Even a simple search for contacts where the phone property contains ( will show you how many records use the parenthesized format.
Step 2 — Remove parentheses. Search for \((\d{3})\) and replace with $1. This captures the three digits inside parentheses and outputs them without the parentheses. Preview the results to confirm it looks right.
Step 3 — Strip separators. Search for [-.\s] (matches dashes, dots, and whitespace) and replace with nothing. Now you have raw digit strings.
Step 4 — Add E.164 prefix. Search for ^(\d{10})$ (exactly 10 digits) and replace with +1$1. This adds the country code to US numbers that don't have one. Preview carefully — if you have international numbers mixed in, you'll want to filter or handle them separately.
Step 5 — Fix 11-digit numbers starting with 1. Search for ^1(\d{10})$ and replace with +1$1. These are US numbers where someone typed the country code but not the +.
Each step creates a preview showing every affected record and the proposed change. You review it, apply it, and move to the next step. If anything looks wrong after applying, you roll back that operation.
Handling international numbers
If your portal has a mix of US, UK, Australian, and other international numbers, you'll need a more segmented approach. The key insight is to work country by country:
- Filter to contacts where the country property is "United Kingdom" and the phone starts with
0(UK national format). Replace the leading0with+44. - Filter to contacts where country is "Australia" and phone starts with
0. Replace with+61. - Handle the US/Canada batch as described above.
This is where a tool that lets you preview before applying becomes essential. You cannot afford to blindly prepend +44 to every number that starts with 0 — some of those might be US numbers with a typo.
Preventing the problem from coming back
Cleaning up phone numbers is satisfying, but if you don't close the entry points, you'll be doing it again in six months.
Use HubSpot's property validation. On forms, you can set the phone field type to "phone number," which provides basic format validation. It's not strict E.164 enforcement, but it catches obvious garbage like asdf or 123.
Standardize on import. Before any CSV import, run the phone column through a formatting step. Google Sheets, Excel, and most data tools have functions for this. Don't rely on "we'll clean it up later."
Train your team. If reps manually enter phone numbers, give them a format to follow. Put it in the property description field in HubSpot — that text shows up as a tooltip when editing the property.
Run periodic audits. Even with prevention in place, data drifts. A quarterly cleanup pass catches what slips through.
Phone number standardization is one of those tasks that seems minor until you realize it's affecting deduplication, automations, reporting, and your sales team's daily workflow. Getting it right once — and keeping it right — pays compounding dividends across your entire HubSpot operation.
Keep working through the cleanup
Related HubSpot guides for planning, previewing, and validating the next step.
Annual HubSpot Data Review: The Complete Checklist
A comprehensive checklist for reviewing your HubSpot data at the end of the year. Covers contacts, companies, deals, properties, integrations, and compliance.
Read guideHow to Clean Up Company Names in HubSpot
Inc vs Inc., LLC vs L.L.C., extra spaces and inconsistent suffixes — here's how to standardize company names in your HubSpot CRM for cleaner data and better reporting.
Read guideHow to Fix HubSpot Import Errors After a Bad CSV Upload
A bad CSV import can corrupt thousands of HubSpot records in minutes. Here's how to identify the damage, fix it, and prevent it from happening again.
Read guideHow to Clean Up Job Titles in HubSpot
Job titles in your HubSpot CRM are probably a mess — VP, V.P., Vice President all mean the same thing. Here's how to standardize them for better segmentation and lead scoring.
Read guideStill editing HubSpot records one by one?
Start with 100 free applied records — no credit card required.