PlainTools

Coordinates to City

Paste one coordinate pair or a list of up to 200 and get the city, county, state and country for each, ready to download as CSV.

Coordinates & GeocodingWorldwideSource: OpenStreetMap via the Photon reverse geocoderFree, no sign-up
Up to 200 lines, looked up one at a time.

How to convert coordinates to a city name

  1. Paste your coordinates. One pair per line. Decimal (30.2672, -97.7431), degrees-minutes-seconds and decimal minutes all work.
  2. Press Look up. Each line is looked up in turn; the table fills in as results arrive.
  3. Check flagged rows. Rows shaded yellow could not be read or are not near any mapped place — usually points at sea.
  4. See them on the map. Every point is pinned on the map below the table, so a swapped latitude and longitude stands out.
  5. Download CSV. The file has your input, the parsed coordinates, the city, county, state and country, and a status column.

What a coordinate-to-city lookup is used for

Labelling GPS points from a phone or camera

Photo metadata stores coordinates, not town names; this turns a list of them into places.

Cleaning a spreadsheet of customer locations

App sign-ups often store latitude and longitude; sales wants the city.

Summarising field survey points by town

Group hundreds of survey or sample sites by the city they fall in.

Checking delivery drop points

Confirm that the coordinates a driver logged are in the expected town.

Reading coordinates from a news report

An incident given as coordinates can be named in one step.

Tagging sensor readings

Stations reporting coordinates get a readable place name for dashboards.

Listing the towns on a trip

Paste the stop coordinates from a GPS log to list the towns along the way.

Preparing data for a chart

Charts by city need city names, not decimal degrees.

Spotting bad coordinates

A point named as a town on another continent shows a swapped or mistyped value.

Hiking and geocaching logs

Name the nearest town for each summit or cache in a logbook.

How the cities are found

Each pair of coordinates is sent to Photon, an open reverse geocoder run by Komoot on OpenStreetMap data. Photon returns the nearest mapped feature and the city, county, state and country recorded for it, and the page shows those fields in one row per line you pasted.

Lines are looked up one at a time with a short pause between them, so a list of 200 takes a minute or two. If the nearest named feature is more than 25 km from your point the row is flagged instead of naming a place that is not really there — the usual cause is a point in the sea or a swapped latitude and longitude.

What 'city' means depends on the country and on how OpenStreetMap contributors tagged the area: it can be a city, town, village or municipality, and for a rural point it is the settlement the area is attached to. For US points, the What City Am I In? tool on this site checks Census city-limit boundaries instead.

Coordinates are sent to Photon and nothing is stored by this site. Results are for convenience and data cleaning, not for legal or official address determination.

Sources

Frequently asked questions

Which coordinate formats can I paste?

Decimal degrees (40.7484, -73.9857), degrees-minutes-seconds (40°44′54″N 73°59′8″W) and degrees-decimal-minutes (N 40 44.904 W 73 59.14). Separate latitude and longitude with a comma, a space or a tab.

Why is a row empty?

Either the line could not be read as coordinates, or the nearest mapped place is more than 25 km away — usually a point at sea, or latitude and longitude typed the wrong way round.

How many coordinates can I convert at once?

Up to 200 lines per run. They are looked up one at a time so the free service is not overloaded; split longer lists into batches.

Why does it name a nearby town rather than the city I expected?

OpenStreetMap attaches each area to the settlement mapped there. Suburbs that are separate municipalities get their own name, not the big city's.

Is the result the official city?

It is OpenStreetMap's place name. For US legal city limits use the What City Am I In? tool, which checks Census boundaries.

Are my coordinates stored?

No. They are sent to Photon to be looked up and are not stored by this site.

Related tools