Guides & References
Everything you need to work with country codes, subdivisions, and international data.
Library
Introducing @koshmoney/countries
Introducing @koshmoney/countries - a unified, tree-shakeable TypeScript library for ISO 3166 country codes, subdivisions, postal codes, currencies, and more.
Read →Tree-Shaking Country Data: From 60KB to 8KB
How tree-shaking reduces country data bundle size from 60KB to 8KB. Registry pattern, subpath exports, and bundle optimization with @koshmoney/countries.
Read →Best Country Code npm Packages in 2026
Comprehensive comparison of the best country code npm packages in 2026: i18n-iso-countries, countries-list, country-state-city, iso-3166-1, and @koshmoney/countries.
Read →ISO Standards
ISO 3166 Country Codes: The Complete Guide
Learn everything about ISO 3166 country codes including alpha-2, alpha-3, numeric formats, subdivision codes, and how to use them in JavaScript and TypeScript applications.
Read →Country Code FAQ: 25 Questions About ISO 3166 Codes Answered
Answers to 25 common questions about ISO 3166 country codes. What is the code for USA, UK, Germany? Alpha-2 vs Alpha-3 vs Numeric explained with JavaScript examples.
Read →Country Code Formats Explained: Alpha-2 vs Alpha-3 vs Numeric
Understand the three ISO 3166-1 country code formats: alpha-2, alpha-3, and numeric. Learn when to use each format, conversion examples, and common gotchas.
Read →Complete List of All 249 ISO 3166 Country Codes
Complete list of all 249 ISO 3166-1 country codes with alpha-2, alpha-3, and numeric formats. Organized by continent for easy reference.
Read →Tutorials
Build a Country Dropdown in React with TypeScript
Build a type-safe, accessible country and state dropdown in React with TypeScript using @koshmoney/countries. Includes search, cascading selects, and React Hook Form integration.
Read →International Shipping Zones by Country and State
How to define international shipping zones by country and state using ISO 3166 codes. Zone-based pricing, e-commerce checkout validation, and TypeScript examples.
Read →Server-Side Country Code Validation in Node.js
Server-side country code validation in Node.js with Express middleware. Input sanitization, API endpoint design, and error handling patterns.
Read →Regional Guides
African Countries: Complete List with ISO Codes
Complete list of all 54 African countries with ISO 3166-1 alpha-2, alpha-3, and numeric codes. Organized by UN M49 subregion with code examples.
Read →Asian Countries: Complete List with ISO Codes
Complete list of all Asian countries with ISO 3166-1 alpha-2, alpha-3, and numeric codes. Organized by UN M49 subregion with code examples.
Read →European Countries: Complete List with ISO Codes
Complete list of all European countries with ISO 3166-1 alpha-2, alpha-3, and numeric codes. Organized by UN M49 subregion. Includes EU, SEPA, and Schengen membership status.
Read →South American Countries: Complete List with ISO Codes
Complete list of all South American countries with ISO 3166-1 alpha-2, alpha-3, and numeric codes. Includes currencies, dial codes, and code examples.
Read →North American Countries: Complete List with ISO Codes
Complete list of all North American countries and territories with ISO 3166-1 alpha-2, alpha-3, and numeric codes. Organized by UN M49 subregion with code examples.
Read →Oceania Countries: Complete List with ISO Codes
Complete list of all Oceania countries and territories with ISO 3166-1 alpha-2, alpha-3, and numeric codes. Organized by UN M49 subregion with code examples.
Read →EU & Compliance
EU Country Codes: Complete List
Complete list of all 27 EU member state codes with EEA, SEPA, Eurozone, and Schengen membership tables. TypeScript code examples for EU detection.
Read →GDPR EU Countries for Developers
Which countries are covered by GDPR? How to detect EU/EEA users programmatically. Code examples for SaaS compliance with @koshmoney/countries.
Read →ISO Country Codes for KYC Compliance
How to use ISO 3166 country codes for KYC and AML compliance in fintech applications. Includes address validation, sanctions screening patterns, and database schemas.
Read →SEPA Countries List: All 36 Members with ISO Codes
Complete list of all 36 SEPA member countries with ISO codes. Understand SEPA vs EU vs Eurozone, validate SEPA membership programmatically, and build compliant payment flows.
Read →Eurozone Countries List 2026: All 21 Members Using the Euro
All 21 Eurozone member countries in 2026 including Bulgaria. ISO codes, Euro adoption dates, Eurozone vs EU comparison, and TypeScript membership checks.
Read →Schengen Countries List: All 27 Members
Complete list of all 27 Schengen Area countries with ISO codes. Understand Schengen vs EU, which countries are in Schengen but not EU, and code examples for membership checks.
Read →Currency & Dial Codes
18 Countries Using the US Dollar (USD): Full 2026 List
Complete list of all 18 countries and territories using the US Dollar as official currency. ISO codes, dollarization details, and TypeScript currency lookups.
Read →35 Countries Using the Euro (EUR): Full 2026 List with ISO Codes
Complete list of all countries and territories that use the Euro (EUR) as their official currency. Includes Eurozone members, microstates, and overseas territories with ISO codes and code examples.
Read →International Dialing Codes List: Every Country
Complete list of international dialing codes for every country, organized by continent. Look up country calling codes with TypeScript code examples.
Read →Countries Sharing the Same Dial Code (+1, +44, +7 and More)
Which countries share the same phone dial code? Complete guide to +1 (NANP), +44 (UK), +7 (Russia/Kazakhstan) and every shared international dialing code.
Read →Phone Country Codes: Complete International Dial Code Reference
Complete reference of international phone country codes (dial codes) organized by prefix region. Includes ITU-T E.164 format, code examples with @koshmoney/countries, and common gotchas like +1 and +44.
Read →Subdivision Guides
US State Codes: Complete List with ISO 3166-2
Complete list of all US state codes (ISO 3166-2:US) including 50 states, DC, and territories with code examples for lookups and validation.
Read →Canadian Province and Territory Codes
Complete list of all 13 Canadian province and territory codes (ISO 3166-2:CA). Lookup table, TypeScript code examples, and common use cases for developers.
Read →Australian State and Territory Codes: Complete List
Complete list of all 8 Australian states and territories with ISO 3166-2:AU codes. Code examples for lookups, validation, and dropdown menus.
Read →Indian State and Union Territory Codes: Complete List
Complete list of all 28 Indian states and 8 union territories with ISO 3166-2:IN codes. Code examples for lookups, validation, and building state dropdowns.
Read →German State Codes: Complete List of All 16 Bundeslaender
Complete reference for all 16 German federal states (Bundesländer) with ISO 3166-2:DE codes, capitals, and types. Includes code examples for GDPR, VAT, and shipping applications.
Read →UK Region Codes: Complete ISO 3166-2 Guide
Complete list of UK countries and regions with ISO 3166-2:GB codes. England, Scotland, Wales, Northern Ireland, and all council areas, counties, and boroughs.
Read →UK Country Codes & Subdivisions: Complete ISO 3166-2:GB Reference
Complete reference for UK country codes and ISO 3166-2:GB subdivisions. Explains the GB vs UK distinction, covers England, Scotland, Wales, and Northern Ireland with code examples for address validation, shipping, and compliance.
Read →Japanese Prefecture Codes: Complete List of All 47 Prefectures
Complete list of all 47 Japanese prefecture codes (ISO 3166-2:JP). Full table with codes organized by region, plus TypeScript examples for developers.
Read →Brazilian State Codes: Complete List of All 27 Subdivisions
Complete list of Brazilian state codes (ISO 3166-2:BR). All 26 states and the Federal District with codes organized by region, plus TypeScript examples.
Read →Mexican State Codes: Complete List of All 32 Subdivisions
Complete list of Mexican state codes (ISO 3166-2:MX). All 31 states and the Federal District with codes, capitals, and TypeScript examples.
Read →French Region and Department Codes: Complete ISO 3166-2 Guide
Complete guide to French region and department codes (ISO 3166-2:FR). All 13 metropolitan regions, 96 departments, overseas territories, and TypeScript examples.
Read →Italian Region Codes: Complete ISO 3166-2 Guide
Complete list of Italian region and province codes (ISO 3166-2:IT). All 20 regions with codes, plus key provinces and TypeScript examples.
Read →Spanish Autonomous Community Codes: All 19 ISO 3166-2:ES Regions
All 19 Spanish autonomous communities and cities with ISO 3166-2:ES codes. Includes 50 provinces, capitals, and TypeScript lookup examples.
Read →Chinese Province Codes: Complete ISO 3166-2:CN Reference
Complete list of all 34 Chinese province-level divisions with ISO 3166-2:CN codes. Provinces, municipalities, autonomous regions, and special administrative regions.
Read →South Korean Province Codes: Complete ISO 3166-2:KR Reference
Complete list of all 17 South Korean administrative divisions with ISO 3166-2:KR codes. Special cities, metropolitan cities, provinces, and special autonomous entities with Korean romanization.
Read →