Map messy country names to ISO 3166-1 standard codes and names
Convert inconsistent country names ("USA", "US", "United States") to standardized ISO 3166-1 alpha-2, alpha-3, or full country names.
Interactive Sample Data
| partner_id | company_name | raw_country | region |
|---|---|---|---|
| P-01 | Safaricom Telecommunications | Kenya | East Africa |
| P-02 | Apple Inc. | USA | North America |
| P-03 | Barclays Bank | U.K. | Europe |
| P-04 | Vodacom Tanzania | TZA | East Africa |
How this tool works
Things that usually go wrong
- Ambiguous Abbreviations: "UK" is common vernacular for United Kingdom, but ISO Alpha-2 is "GB". DataFix automatically handles common colloquialisms.
- Typos in Country Names: Misspellings like "Keny" or "Phillipines" are corrected using fuzzy matching heuristics.
- Historical Country Names: Older country names are mapped to their modern ISO successors.
Edge cases we tested
Safely handled without schema corruption.
Sanitized prior to processing.
Streamed via client-side Web Worker without tab freezing.
Frequently Asked Questions
Can it convert 2-letter codes like "KE" into full names like "Kenya"?
Yes! It converts in both directions: names to codes, or codes to full names.
Does it support both ISO Alpha-2 and Alpha-3?
Yes. You can output 2-letter codes (KE), 3-letter codes (KEN), or both.
How does it handle colloquial names like "Britain" or "Holland"?
Colloquial names are mapped to official designations (United Kingdom, Netherlands).
Is my data private?
Completely. All mapping logic runs locally inside your browser sandbox via Web Workers.
Related tools
Standardize State Abbreviations
Convert US, Canadian, and Australian state names to official 2-letter postal codes (e.g. CA, NY) or expand codes to full names.
Open Tool →Fix ZIP and Postal Codes
Repair postal codes damaged by Excel auto-truncation, format US ZIP+4, and standardize UK and Canadian formats.
Open Tool →Trim Whitespace
Clean up accidental leading, trailing, and duplicate spaces across all columns in your spreadsheet.
Open Tool →