phone-number-formatter
Standardize and format phone numbers with international support, validation, and multiple output formats.
When & Why to Use This Skill
The Phone Number Formatter is a specialized Claude skill designed to standardize, validate, and format international phone numbers into consistent formats like E.164, national, and international. It streamlines data hygiene by offering automated country detection, batch processing for CSV files, and carrier information extraction, ensuring your contact databases are accurate and ready for global communication.
Use Cases
- CRM Data Enrichment: Clean and standardize inconsistent phone number formats in lead lists before importing them into CRM platforms like Salesforce or HubSpot to ensure seamless sales workflows.
- Global Marketing Outreach: Convert local phone numbers into the E.164 international standard to guarantee high deliverability for global SMS and voice marketing campaigns.
- Database Validation: Batch process existing customer databases to identify and filter out invalid phone numbers, improving data quality and reducing communication errors.
- E-commerce Logistics: Standardize customer contact information during the checkout or shipping process to ensure delivery personnel can reach recipients across different countries.
| name | phone-number-formatter |
|---|---|
| description | Standardize and format phone numbers with international support, validation, and multiple output formats. |
Phone Number Formatter
Standardize and format phone numbers with validation.
Features
- Format Standardization: Convert to E.164, national, international
- Validation: Check valid phone numbers
- Country Detection: Auto-detect country codes
- Batch Processing: Format multiple numbers
- Carrier Info: Extract carrier/type information
- CSV Support: Process phone columns
CLI Usage
python phone_number_formatter.py --input phones.csv --column phone --format international --output formatted.csv
Dependencies
- phonenumbers>=8.13.0
- pandas>=2.0.0