/all-countries-and-cities-json

:earth_africa: A list of all world countries and cities stored in JSON format. Contains only ASCII-names sorted in alphabetical order.

MIT LicenseMIT

all-countries-and-cities-json

A list of all world countries and cities stored in JSON format. Contains only ASCII-names sorted in alphabetical order.

Example

{
  "Afghanistan": [
    "Herat",
    "Kabul",
    "Kandahar",
    ...
  ],
  "Albania": [
    "Elbasan",
    "Petran",
    "Pogradec",
    ...
  ],
  ...
}

Usage

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

Agreement

This data is provided "as is" without warranty or any representation of accuracy, timeliness or completeness.

License

This project is licensed under the MIT License - see the LICENSE file for details.