Normalized country
What this tool does
Enter a country name to get its standardized two-letter code and full name. This tool cleans up your input by removing special accents and converting text to uppercase, then matches it against a list of recognized countries to return the official format.
This tool works by matching the cleaned input against a fixed list. It is not a live service, so results depend entirely on the data included in the platform. If you enter an unrecognized name, the platform may return the original text instead of a valid code.
Common uses
- Standardizing country names in address forms to ensure consistency.
- Converting free-text country entries into official two-letter codes for reporting.
- Validating that a entered country name matches a known standard before proceeding with other checks.
- The tool ignores spaces and special characters (like accents) to help find matches for common typos.
- If the input does not match any known country, the 'name' field will return your cleaned input rather than a code.
Good to know
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. |