---
title: "Discussion on \"Clean and Format Phone Numbers Before Importing Into HubSpot or Salesforce (E.164, Dedupe, 2026)\" | Hashnode"
description: "Discussion on \"Clean and Format Phone Numbers Before Importing Into HubSpot or Salesforce (E.164, Dedupe, 2026)\". What HubSpot's import and validation docs and Salesforce's phone-formatting rules expect, plus a free Python script (run on a made-up sample) that writes E.164, keeps extensions and sends duplicates and invalid numbers to a review file"
url: "https://hashnode.com/posts/clean-and-format-phone-numbers-before-importing-into-hubspot-or-salesforce-e164-dedupe-2026/6b0b5d9dee4970eadb3b89e5"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Clean and Format Phone Numbers Before Importing Into HubSpot or Salesforce (E.164, Dedupe, 2026)](https://shephouse.hashnode.dev/clean-and-format-phone-numbers-before-importing-into-hubspot-or-salesforce-e164-dedupe-2026?utm_source=hashnode&utm_medium=feed)

What HubSpot's import and validation docs and Salesforce's phone-formatting rules expect, plus a free Python script (run on a made-up sample) that writes E.164, keeps extensions and sends duplicates and invalid numbers to a review file

3d ago · 7 min read · shephouse.hashnode.dev  
Read the article

-   [#hubspot](https://hashnode.com/tag/hubspot)
-   [#salesforce](https://hashnode.com/tag/salesforce)
-   [#python](https://hashnode.com/tag/python)
-   [#crm](https://hashnode.com/tag/crm)
-   [#data-cleaning](https://hashnode.com/tag/data-cleaning)

## Written by

[ShepHouse](https://hashnode.com/@shephouse)

@shephouse

  
[View profile](https://hashnode.com/@shephouse)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
