NEW Geloky now works inside Claude, ChatGPT and Cursor. See how Geloky inside Claude & ChatGPT →

Data · World cities

World city database with latitude and longitude

Every city and town in the world with its country, region, population and time zone, as CSV, Excel and SQL. Free for the 51,032 bigger cities; $99 for 2,513,129 cities, towns and villages; $199 for every populated place, 5,001,711 of them.

Versions

Pick the version you need

Free

$0

The 51,032 bigger cities of 245 countries: every place of 7,500 people or more, and every capital, for any project with a link to this page.

  • Latitude and longitude
  • Country, region and capital
  • Population and time zone
  • CSV and Excel
Download free

Pro

$99 one-time

2,513,129 cities, towns and villages: every place in or near a village, town or city, every place of 500 people or more, and every seat of a county or district.

  • Everything in Free
  • County or district of each
  • City, town, village or countryside
  • UTC offset and daylight saving
  • Elevation and continent
  • CSV and SQL (too big for Excel)
  • Updates for 12 months

Complete

$199 one-time

Every populated place GeoNames lists, 5,001,711 in all: the hamlets, farms and remote places too.

  • Everything in Pro
  • Every hamlet and farm
  • CSV and SQL (too big for Excel)
  • Updates for 12 months

Pay once and keep the files. Secure checkout by FastSpring: cards and PayPal. No Geloky account needed.

A look inside

Six rows from the free version

Real rows, as they come in the file: GeoNames’ places as of 4 December 2026, with their countries’ and regions’ names. The capital column says primary for a country’s capital and admin for a region’s.

citycountryadmin_namelatlngpopulationtimezonecapital
TokyoJapanTokyo35.6895139.691719,733,276Asia/Tokyoprimary
São PauloBrazilSão Paulo-23.5475-46.6361112,400,232America/Sao_Pauloadmin
KrakówPolandLesser Poland50.0614319.93658816,614Europe/Warsawadmin
LagosNigeriaLagos6.454073.3946715,388,000Africa/Lagosminor
SydneyAustraliaNew South Wales-33.86785151.207325,638,830Australia/Sydneyadmin
TorontoCanadaOntario43.65333-79.383892,794,356America/Torontoadmin

Columns

What each version holds

In every version

city, city_asciiThe name, Kraków, and the same in plain letters: Krakow
lat, lngThe place’s point
country, iso2, iso3The country’s name and its two- and three-letter ISO codes
admin_nameThe state, province or region it lies in
capitalprimary for a country’s capital, admin for a region’s, minor for a county’s or district’s; empty for the rest
populationPeople living there, where GeoNames records it
timezoneThe time zone’s name, such as Europe/Warsaw
geonames_idGeoNames’ id for the place, to join it to other data

Pro and Complete add

admin2_nameThe county or district it lies in, where the country has them
continentEurope, Asia, Africa, North America, South America or Oceania
feature_codeGeoNames’ kind of place: a town, a seat of a division, a farm village, a locality
settlementThe kind of area around it, by the European Commission’s Degree of Urbanisation: city, dense or semi-dense town, suburban, village, dispersed rural or mostly uninhabited
elevationMetres above sea level
utc_offset, dstHours from UTC in standard time, and whether the clocks change in summer

Complete adds places, not columns

Every populated place GeoNames lists, 5,001,711 in all: Pro’s cities, towns and villages, and every hamlet, farm and remote place where people live. Neighbourhoods GeoNames marks as parts of a city are left out, and so are historical and abandoned places. Too many rows for Excel: Complete comes as CSV and SQL.

Sources

Where the data comes from

GeoNames

Every place, its name, point, population, elevation and time zone, and the names of its country and divisions: from GeoNames, the open gazetteer of the world, under Creative Commons Attribution 4.0.

European Commission

Which places are cities, towns, villages or countryside: its Global Human Settlement Layer maps the Degree of Urbanisation of every square kilometre, under Creative Commons Attribution 4.0.

What we add

We keep the places people live in and leave out neighbourhoods and historical places, join each place’s country, region and district, mark the capitals, add the UTC offset and daylight saving, and check every file before each quarterly release.

Free version

Free for any project, with a link

Use it anywhere, commercial projects included, as long as a page people can see links to this one and credits GeoNames. Licence: Creative Commons Attribution 4.0.

Pro and Complete

No link to us, a credit to GeoNames

Use it in any project, websites and apps included, with no link to this page. The places come from GeoNames, whose licence, CC BY 4.0, asks for a credit and lets anyone share them: what you pay for is the work, the extra places and columns, and a year of updates. Read the data licence

No account needed

How buying works

Pay on this page

The checkout opens right here: card or PayPal, through FastSpring.

Download at once

This page turns into your download page, and a private link to it comes by email.

Updates for 12 months

Each new release arrives at the same link, and we email you when it is out.

Lost your link? Email me my downloads · How to use the files

FAQ

World city database questions

Something else? Write to hello@geloky.com — a person answers within a day.

Free has the 51,032 bigger cities: every place of 7,500 people or more, and every country’s and region’s capital. Pro has 2,513,129 cities, towns and villages: every place in or within about a kilometre of a village, town or city, as the European Commission’s Degree of Urbanisation maps them, every place of 500 people or more, and every seat of a county or district. Complete has every populated place GeoNames lists, 5,001,711 of them, from 248 countries and territories.

Have addresses, not city names? Batch geocoding finds the coordinates of every address in a spreadsheet, in any country. With the free plan, the first 100 rows every day are free.

Geocode a file

Your first 100 rows are free. Every day.

Free plan, no credit card · See your results on a map before you pay