Coordinates to Country
Paste one coordinate pair or a list of up to 200 and get the country and its ISO 3166-1 alpha-2 code for each, with points at sea flagged rather than guessed.
How to find the country for a set of coordinates
- Paste coordinates. One pair per line, latitude first. Decimal and degrees-minutes-seconds formats are both read.
- Press Look up. Each point is checked in turn and the table fills in as results arrive.
- Read the country and code. Each row gives the country name and its two-letter ISO 3166-1 code.
- Check the yellow rows. Points with no country within 25 km — open sea, or a typo — are flagged rather than assigned to the nearest coast.
- Download CSV. Export the input, coordinates, country, code and status for your spreadsheet.
Why convert coordinates to a country
Tagging app users or orders by country
Logged coordinates become a country column for reporting or tax rules.
Checking shipping paperwork
Confirm which country a warehouse or pickup point's coordinates are in.
Cleaning scientific sample data
Field records often carry coordinates only; journals ask for the country.
Finding swapped coordinates
A point that lands in the wrong country is a quick sign that latitude and longitude are reversed.
Labelling flight or ship positions
Name the country under a list of positions, with points over open water flagged.
Adding a country filter to a dataset
An ISO code column lets data be grouped or joined to other country tables.
Checking points near a border
See which side of a border each point falls on, as OpenStreetMap records it.
Travel logs
Turn camera GPS tags into a list of countries visited.
Geofencing tests
Check test coordinates near borders before using them in an app.
Event monitoring
Event feeds with coordinates get a country name for sorting.
How the country is found
Each pair is sent to Photon, an open reverse geocoder on OpenStreetMap data, which returns the nearest mapped feature with its country and ISO 3166-1 alpha-2 country code. The tool shows those two fields.
If Photon's nearest feature is more than 25 km from the point, the row is marked as having no country rather than named after the nearest coast. A point a few kilometres offshore may still return the coastal country, while one far out returns nothing.
Borders follow OpenStreetMap. Where a border is disputed, OpenStreetMap records the line of actual control on the ground, which may differ from a particular government's position. This is a data lookup, not a statement about sovereignty.
Lines are looked up one at a time with a short pause between them. Nothing is stored by this site; the coordinates go only to Photon.
Frequently asked questions
What is the ISO code?
The two-letter country code from the ISO 3166-1 standard, such as US, GB or JP — the codes used in internet domains and most databases.
Why does a point at sea show no country?
The page only names a country when a mapped feature is within 25 km. Far out at sea there is none, so it says so instead of guessing the nearest coast.
How are disputed areas handled?
They follow OpenStreetMap, which maps the situation on the ground. That may not match a given government's official position.
Can I convert a long list?
Up to 200 lines per run. Longer lists can be pasted in batches.
Does it accept degrees, minutes and seconds?
Yes — for example 35°39′31″N 139°42′1″E — as well as decimal degrees and decimal minutes.
Are my coordinates kept?
No. They are sent to Photon for the lookup and are not stored here.
Related tools
Address to Coordinates
Turn one address or a whole list into latitude and longitude, with the matched place name, and download the results as CSV.
OpenStreetMap via the Photon geocoder
Coordinates to Address
Enter latitude and longitude (any format) or click a map and get the nearest street address, plus the ground elevation and the local time zone at that point.
OpenStreetMap via Photon; Copernicus DEM via Open-Meteo
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.
OpenStreetMap via the Photon reverse geocoder
Coordinates to State
Paste one coordinate pair or a list of up to 200 US points and get the state, two-letter code, county and FIPS codes for each from 2020 Census blocks, ready to download as CSV.
FCC Area API (2020 Census blocks)
Latitude and Longitude Finder
Click anywhere on a map, search an address or use your location and get the exact latitude and longitude in decimal degrees, degrees-minutes-seconds and decimal minutes, ready to copy.
OpenStreetMap tiles and Photon geocoder; WGS84 coordinates
Plot Coordinates on Map
Paste a list of coordinates in any common format, with optional labels, and see them as pins on a map — joined as a route if you like — then download as GeoJSON, KML or CSV.
Your coordinates on OpenStreetMap tiles