Get Geographic $1.50 / 1,000 calls

Normalized country

What this tool does

This tool turns messy or incomplete country names into a standard, two-letter code. It is designed to help you clean up data by fixing typos and accepting common variations. You can use it to ensure all your location records use the same simple format.

When to use it

  • Correcting misspelled country names in your list
  • Converting full country names into short codes
  • Standardizing data from different sources

What to expect

You will receive a standard two-letter country code and the full name in uppercase. If the input is clear, you get a valid code.

Limitations

  • Very short inputs (one character) may not work well
  • Ambiguous abbreviations might not match a specific country
  • It does not verify if the country actually exists in all contexts

When it fails

  • The input is too short to identify a country
  • The text does not match any known country name or code

Good to know

  • Accents and special characters are ignored automatically
  • The result is always uppercase for consistency

Input data

Parameter Required Example Description
country Yes Spa1n Enter the name of a country (required). You can use plain text with accents or typos, for example 'Spa1n' or 'france'.

Output data

Field Description
code The official two-letter country code (for example ES for Spain or FR for France). This is empty if the country could not be identified.
name The full, uppercase name of the country (for example SPAIN). If the input was not recognized, this returns the cleaned version of what you typed.