ISO 3166-1 Alpha-2 Country Codes
When setting up geo-redirects or using the API to create location-based rules, Linkly uses ISO 3166-1 alpha-2 country codes.
These are standardised two-letter codes that represent countries and territories worldwide.
Complete List of Country Codes
Common Codes
Here are some frequently used country codes:
Related Resources
- Creating Geo-Redirects - Redirect users based on their country
- API Documentation - Create geo-redirects programmatically
- VPN Traffic - How VPNs affect geolocation
Frequently Asked Questions
Are country codes case-sensitive?
Yes. Country codes must be uppercase (e.g. GB, US, DE).
What happens if I use an invalid country code?
Linkly will ignore invalid country codes. Make sure to use the exact two-letter codes from the list above.
Can I target multiple countries with one rule?
Yes. When creating geo-redirects, you can select multiple countries to redirect to the same destination.
Why isn't my country listed?
This list includes all ISO 3166-1 alpha-2 officially assigned codes. If you can't find a specific territory, it may be included under a parent country or use a different designation.
