# Country list – sources and licenses

The built-in country list (inside `country-select.js` and in `data.json`) is generated by
`scripts/build-data.js` (`npm run build:data`) from:

| Field | Source | License |
| --- | --- | --- |
| Country codes | ISO 3166-1 alpha-2 (public standard) + `XK` (Kosovo, user-assigned code in common use) | – |
| English names | [Unicode CLDR](https://cldr.unicode.org/) – through the `Intl.DisplayNames` API (ICU); `&` / `St.` written in full and a few common short names (e.g. *Hong Kong*, *Myanmar*, *DR Congo*) | Unicode License V3 (below) |
| Calling codes | ITU-T E.164 assignments (public standard), checked against [libphonenumber-js](https://github.com/catamphetamine/libphonenumber-js) (MIT), whose metadata comes from Google's [libphonenumber](https://github.com/google/libphonenumber) (Apache-2.0) | – |
| Other names (search) | Former / official ISO names (e.g. *Turkey*, *Ivory Coast*, *Korea, Republic of*) | – |

Translated country names (`data-lang`) are produced at runtime by the browser's own `Intl.DisplayNames` (CLDR) and are not stored.

The flags in `flags/` are from flag-icons – see `flags/LICENSE`.

---

## Unicode License V3

UNICODE LICENSE V3

COPYRIGHT AND PERMISSION NOTICE

Copyright © 1991-2026 Unicode, Inc.

NOTICE TO USER: Carefully read the following legal agreement. BY
DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.

Permission is hereby granted, free of charge, to any person obtaining a
copy of data files and any associated documentation (the "Data Files") or
software and any associated documentation (the "Software") to deal in the
Data Files or Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, and/or sell
copies of the Data Files or Software, and to permit persons to whom the
Data Files or Software are furnished to do so, provided that either (a)
this copyright and permission notice appear with all copies of the Data
Files or Software, or (b) this copyright and permission notice appear in
associated Documentation.

THE DATA FILES AND SOFTWARE ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY
KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF
THIRD PARTY RIGHTS.

IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSEQUENTIAL DAMAGES,
OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE DATA
FILES OR SOFTWARE.

Except as contained in this notice, the name of a copyright holder shall
not be used in advertising or otherwise to promote the sale, use or other
dealings in these Data Files or Software without prior written
authorization of the copyright holder.
