home / skills / dkyazzentwatwa / chatgpt-skills / phone-number-formatter
This skill standardizes and formats international phone numbers, validates inputs, detects country codes, and outputs in multiple formats.
npx playbooks add skill dkyazzentwatwa/chatgpt-skills --skill phone-number-formatterReview the files below or copy the command above to add this skill to your agents.
---
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
```bash
python phone_number_formatter.py --input phones.csv --column phone --format international --output formatted.csv
```
## Dependencies
- phonenumbers>=8.13.0
- pandas>=2.0.0
This skill standardizes and formats phone numbers with international support, validation, and multiple output formats. It provides batch processing, automatic country detection, carrier/type extraction, and CSV-friendly workflows to prepare phone data for integrations or analytics.
The skill parses input numbers using a robust phone parsing library, validates numbers, and normalizes them into formats such as E.164, national, or international. It can auto-detect country codes when missing, extract carrier or line-type information, and process columns of phone numbers from CSV files for bulk formatting. Errors and invalid entries are flagged for review.
What formats can the skill output?
It supports E.164, national, and international formatting for each parsed number.
Can it process large CSV files?
Yes. Use the batch/CSV mode and process rows incrementally to manage memory and performance.
How does country detection work?
Country detection uses parsing heuristics and metadata; supplying a default country improves results for local-format inputs.