Community by zipcode (ES)
What this tool does
Enter a Spanish postal code to find the name of the community it belongs to. This tool looks up the two-letter province code from the first two digits of your code, then finds the community linked to that province.
Common uses
- Filling in forms that ask for the community or region based on a postal code.
- Standardizing addresses for records in Spain.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
zipcode | Yes | 08012 | Enter a valid 4 or 5-digit Spanish postal code (for example, '08012'). It must contain only numbers. Leave it blank or enter an invalid code if you do not want to proceed. |
Output data
| Field | Description |
|---|---|
result | The name of the community (for example, 'Barcelona'). If the code is invalid or the community name is not found, this field will be empty. |