A single-file HTML reference that lets users search country calling codes and ISO country codes (ISO 3166-1 alpha-2 / alpha-3) instantly — then jump to CountryCode.online for full dialing guides.
- ✅ Search by country name (e.g.,
Japan,Congo) - ✅ Search by calling code (e.g.,
+81,81,+1) - ✅ Search by ISO2 / ISO3 (e.g.,
JP,JPN) - ✅ Shows key fields: calling code(s), ISO2/ISO3, capital, continent, currency, languages
- ✅ Click any result to open a detail modal and get a direct link to CountryCode.online
index.html— everything (UI + dataset + search logic) in one file.
- Download
index.html - Open it in any browser (Chrome / Edge / Firefox / Safari)
- Create a new GitHub repo (example:
country-code-iso-lookup) - Upload
index.htmlto the repo root - Go to Settings → Pages
- Select Deploy from a branch →
main/(root)→ Save - Your page will be available at
https://<your-username>.github.io/<repo>/
Search for https://countrycode.online/ inside index.html and replace it with your preferred URLs, e.g.:
- Country directory:
https://countrycode.online/countries/ - Product / dataset page:
https://countrycode.online/product/all-country-code-list/ - Tools:
/tools/world-time/,/tools/international-dialing/, etc.
The dataset is embedded as JSON inside:
<script id="countries-data" type="application/json">...</script>
<script id="iso2to3-data" type="application/json">...</script>Image Convert: https://imageconver.com/