Clean and standardize messy phone numbers in CSV and Excel
Strip punctuation, resolve leading zeros, and format phone numbers with proper country codes.
Interactive Sample Data
| customer_id | name | raw_phone | city |
|---|---|---|---|
| CUST-01 | Dennis Kiprono | 0712 345 678 | Eldoret |
| CUST-02 | Agnes Mutua | +254722000000 | Nairobi |
| CUST-03 | Samuel Ndung'u | 0733-123-456 | Nakuru |
| CUST-04 | Sarah Jenkins | (555) 234-5678 | New York |
How this tool works
Things that usually go wrong
- Double Country Codes: Applying +254 naively to numbers that already have +254 creates "+254254...". DataFix checks for existing country codes first.
- Excel Stripping Leading Zeros: Opening CSV in Excel strips the leading zero from "0712345678", turning it into 712345678. DataFix reconstructs the missing zero or adds +254.
- Extension Numbers (x104): Office landline extensions like "ext. 104" confuse automated formatters. DataFix separates extensions into an optional extension column.
Edge cases we tested
Safely handled without schema corruption.
Sanitized prior to processing.
Streamed via client-side Web Worker without tab freezing.
Empty cell passes through unchanged as "". No prefix is added; the row is not dropped.
Strips spaces → "0712345678", replaces leading 0 with Kenyan country code → "+254712345678" (E.164).
Frequently Asked Questions
How does it handle Kenyan mobile numbers (07XX / 01XX)?
It replaces the leading 0 with +254 (e.g. 0712 345 678 becomes +254 712 345 678 or +254712345678).
Can I export numbers as digits only without symbols?
Yes. Select the "Digits only" chip to strip all pluses, hyphens, and spaces.
Does this work with Twilio and Africa's Talking?
Yes! The resulting numbers follow standard international formats ready for API dispatch.
Is my phone list uploaded to the cloud?
No. All processing happens locally in your browser memory.
Related tools
Phone Numbers to E.164
Standardize phone numbers into strict E.164 format (+
Phone Numbers to E.164
Standardize phone numbers into strict E.164 format (+
Trim Whitespace
Clean up accidental leading, trailing, and duplicate spaces across all columns in your spreadsheet.
Open Tool →