home / skills / dkyazzentwatwa / chatgpt-skills / address-parser
This skill parses unstructured addresses into structured components and validates them for reliable storage and geocoding readiness.
npx playbooks add skill dkyazzentwatwa/chatgpt-skills --skill address-parserReview the files below or copy the command above to add this skill to your agents.
---
name: address-parser
description: Parse unstructured addresses into structured components - street, city, state, zip, country with validation.
---
# Address Parser
Parse unstructured addresses into structured fields.
## Features
- **Component Extraction**: Street, city, state, zip, country
- **Format Standardization**: Normalize address formats
- **Validation**: Verify address components
- **Batch Processing**: Parse multiple addresses
- **International Support**: Multiple country formats
- **Geocoding Ready**: Output for geocoding APIs
## CLI Usage
```bash
python address_parser.py --input addresses.csv --column address --output parsed.csv
```
## Dependencies
- pandas>=2.0.0
This skill parses unstructured postal addresses into validated, normalized components so you can consume clean address data in downstream systems. It extracts street, city, state, ZIP/postal code, and country, applies standard formatting rules, and flags validation issues. The parser supports batch processing and multiple country formats for international use.
The parser tokenizes a raw address string, identifies component patterns, and maps fragments to fields like street, city, state, zip, and country. It applies normalization rules (case, abbreviations, postal code formatting) and runs validation checks to detect missing or inconsistent components. Outputs are CSV/DF-ready records keyed for geocoding APIs or ETL pipelines.
What formats and countries are supported?
The parser handles multiple country formats and common international patterns; accuracy improves with country context provided per record.
How do I run batch parsing?
Supply a CSV with a single address column and run the batch CLI or load into a DataFrame; outputs map directly to CSV/DF fields ready for export.