Country code exists
What this tool does
This tool checks if a country code is valid. You can enter either the two-letter code (like ES) or the three-letter code (like ESP). The system verifies if the code matches a recognized country standard.
The check is simple: it only looks at the code itself. It does not check if the country is currently active or if the code is still in use. It just confirms if the code exists in the standard list.
Common uses
- Verifying that a country code is correctly formatted and recognized before saving it in a form.
- Checking for typos in country codes entered by users.
- Validating data imported from other systems.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
isocode | Yes | ES | Enter the country code, either two letters (like 'ES') or three letters (like 'ESP'). This is required. If you enter a code that does not exist, the check will fail. |
Output data
| Field | Description |
|---|---|
result | Returns yes if the country code is valid, or no if it is not. For example, 'true' means the code exists. |