Full Database of city state country available in JSON, SQL, XML, PLIST, YAML & CSV Format All Countries, States & Cities are Covered & Populated with Different Combinations & Versions.
- JSON
- SQL
- XML
- PLIST
- YAML
- CSV
File | JSON | SQL | XML | PLIST | YAML | CSV |
---|---|---|---|---|---|---|
Countries | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
States | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Cities | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
Country+States | ✅ | NA | ✅ | ✅ | ✅ | NA |
State+Cities | ✅ | NA | ✅ | ✅ | ✅ | NA |
Country+State+Cities/World | ✅ | ✅ | ✅ | ✅ | ✅ | NA |
https://dr5hn.github.io/countries-states-cities-database/
Total Countries : 248
Total States/Regions/Municipalities : 4,872
Total Cities/Towns/Districts : 141,850
Last Updated On : 15th August 2020 (Happy Independence Day 🇮🇳)
This Free database does not guarantee for the complete list of world
countries, states & cities.
You can manually change the spelling mistakes, duplicates
or add edit any records, which are incorrect.
Reason behind making this repo: I ran through many websites to get
perfect combination of state, city & countries.
Some were with missing states, some with large filesize.
So I thought to get it done on my own using PHP Script.
Suggestions & Feedbacks are Most Welcome
gadadarshan[at]gmail[dot]com
That's all Folks. Enjoy.