Clean

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.

🛡️ Your rows never leave your browser.
Why Onfyt: Processes standardize country names and codes entirely in-browser with dedicated Web Workers so your rows never leave your machine.

Interactive Sample Data

partner_idcompany_nameraw_countryregion
P-01Safaricom TelecommunicationsKenyaEast Africa
P-02Apple Inc.USANorth America
P-03Barclays BankU.K.Europe
P-04Vodacom TanzaniaTZAEast Africa

How this tool works

International databases frequently accumulate messy, inconsistent country values: "USA", "United States", "US", "U.S.A.", "United States of America", and "America" might all appear in the same column. This inconsistency fragments marketing segmentation, breaks reporting aggregations in business intelligence dashboards, and triggers foreign key validation errors during database loading. ISO 3166-1 is the internationally recognized standard for representing country entities: - **Alpha-2** (two-letter codes, e.g. US, KE, GB, TZ, UG) utilized in internet domains and payment processing. - **Alpha-3** (three-letter codes, e.g. USA, KEN, GBR, TZA, UGA) widely used in customs declarations and international shipping. - **Numeric** (three-digit codes, e.g. 840, 404, 826) used in statistical computing. This tool resolves messy country names, common abbreviations, historical variations, and misspellings against an ISO 3166-1 lookup dictionary. You can output standard 2-letter codes, 3-letter codes, or canonical English full country names. All mapping runs locally in your browser memory via Web Workers. Your client lists and international trade records are never uploaded to any remote server. From an international trade and analytics perspective, inconsistent country names ("USA", "US", "United States", "U.S.A.") fragment reporting dashboards and trigger foreign key validation errors. DataFix maps colloquial names, abbreviations, and misspellings to official ISO 3166-1 standards (Alpha-2, Alpha-3, or canonical English names), ensuring seamless integration with payment gateways, customs forms, and CRM systems. From an enterprise governance perspective, international customer lists and supply chain partner directories represent confidential business assets. Uploading partner data to public online converters introduces significant compliance liabilities. DataFix executes all country mapping locally in-browser via Web Workers, ensuring complete data sovereignty, zero network latency, and continuous offline availability. In international supply chain management, customs clearance, and global tax compliance, country data standardization is legally required. Customs declarations and shipping documentation mandate standardized ISO 3166-1 alpha-2 or alpha-3 codes. Submitting shipping manifests with informal names like "USA" or "England" can trigger customs holds and carrier delays. By standardizing country fields to official ISO designations, logistics teams ensure frictionless international transit and accurate territorial compliance. In addition, our reference database includes common international historical names and regional trading bloc classifications, enabling multinational analytics teams to harmonize cross-border records with zero manual mapping effort.

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

🧪 Empty cells or missing values

Safely handled without schema corruption.

🧪 Leading or trailing cell whitespace

Sanitized prior to processing.

🧪 Large files with 25,000+ rows

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

Clean

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 →
Clean

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 →
Clean

Trim Whitespace

Clean up accidental leading, trailing, and duplicate spaces across all columns in your spreadsheet.

Open Tool →