A list of all world countries and cities stored in JSON format. Contains only ASCII-names sorted in alphabetical order.
{
"Afghanistan": [
"Herat",
"Kabul",
"Kandahar",
...
],
"Albania": [
"Elbasan",
"Petran",
"Pogradec",
...
],
...
}
You can use git clone
command to obtain a local copy of this repository:
$ git clone https://github.com/meMo-Minsk/all-countries-and-cities-json.git
Or you can simply download zip archive.
Also you can grab any raw file directly from GitHub servers:
Description | File name | File size |
---|---|---|
Uncompressed JSON file | countries.json | 1.4M |
Minified JSON file | countries.min.json | 1.0M |
Minified and gzip-compressed JSON file | countries.min.json.gz | 330K |
This data is provided "as is" without warranty or any representation of accuracy, timeliness or completeness.
This project is licensed under the MIT License - see the LICENSE file for details.