Data
Country Codes (ISO 3166-1) JSON Example
A comprehensive JSON reference of ISO 3166-1 country codes including alpha-2, alpha-3, numeric codes, continent, and calling code. Ideal for locale selection, address forms, and analytics pipelines.
Field Reference
alpha2requiredstringTwo-letter ISO 3166-1 alpha-2 country code (e.g. 'US', 'GB')alpha3requiredstringThree-letter ISO 3166-1 alpha-3 country code (e.g. 'USA', 'GBR')numericrequiredstringThree-digit zero-padded ISO 3166-1 numeric code (e.g. '840')namerequiredstringOfficial English short name of the countrycontinentrequiredstringContinent the country belongs to: Africa, Americas, Asia, Europe, or OceaniacallingCoderequiredstringITU international calling code prefixed with '+' (e.g. '+1', '+91')Variants
G7 Countries onlyThe seven major advanced economies: US, UK, Germany, France, Japan, Canada, Italy.
Asia PacificMajor Asia-Pacific countries including South and Southeast Asia.
Common Use Cases
- →Phone number validation — combine callingCode with a local number validator
- →Locale selection dropdowns in signup forms and account settings
- →Shipping address forms with automatic country auto-complete
- →Analytics dashboards grouping metrics by country or continent
- →Data normalization when merging datasets that use different code formats
ISO 3166country codesalpha-2alpha-3internationalizationi18nlocale
Validate or format this JSON
One click loads this exact example into the tool — no copy-paste needed. Format it, validate it, explore the tree, or generate TypeScript types instantly.
Frequently Asked Questions
Related JSON Examples
DataCurrency Codes (ISO 4217)ISO 4217 currency codes with symbols, minor units, and sample countries.DataIANA Timezones ReferenceMajor IANA timezone IDs with UTC offsets, DST offsets, and regional metadata.API DesignUser ProfileStandard user profile JSON with personal info, address, and account metadata.