simplemaplab

Coordinates to Country — Lat/Lng to Country Name

Paste any latitude/longitude pair (or click the globe) and get the country name, flag, and ISO 3166-1 alpha-2 code in one second. Worldwide coverage via OpenStreetMap. Free, no sign-up, no API key.

Coordinates to Country is a focused reverse geocoder. Unlike a full-address lookup, it keeps the spotlight on the country (with flag emoji and ISO 3166 code as first-class fields). It is the right tool for fleet tracking, satellite-image tagging, sanctions / compliance point-of-presence checks, and trivia like "what country is at exactly 0, 0?"(answer: none — it's open ocean off the coast of Africa).

Accepts decimal degrees (e.g. 40.7128, -74.0060) or hemisphere-suffixed coordinates (40.7128 N 74.0060 W). You can also click anywhere on the map below.

👆
Enter coordinates, click on the map, or pick an example below.

Try an example:

How to use it

  1. Enter coordinates or click the map. Paste a latitude/longitude pair in any common format (decimal "35.0, 135.0" or hemisphere "35.0 N 135.0 E"), or click any point on the globe to set the lookup target.
  2. Hit Look up — or use your GPS location. The Look-up button calls Nominatim to resolve the point to a country. The "My location" button uses your browser GPS as the input. Results appear within a second.
  3. Read the country name, flag, and ISO code. The result card shows the country name with its flag emoji as the headline, the ISO 3166-1 alpha-2 country code (US, FR, JP, etc.), and supporting fields — region/state, nearest city, and county. The map flies to the location and drops a pin.
  4. Try one of the famous examples. The example chips include locations chosen to stress-test edge cases — the South Pole (Antarctica), Mid-Atlantic Ocean (no country), Diomede Islands (US/Russia border), Vatican City (smallest country), Mount Everest summit (Nepal/China border).

What people use this tool for

Fleet, vessel, and aviation tracking — which country?

Logistics, shipping, and aviation operations work in lat/lng. To answer "did the vessel enter Brazilian waters?", "which country was the aircraft over at flight level 350?", or "where exactly did the truck cross the border?", paste the coordinates here. Country boundaries come from OpenStreetMap, including territorial waters where mapped.

Satellite-imagery and remote-sensing country tagging

When labelling a Sentinel, Landsat, or commercial-satellite scene, you often need the country for the centre coordinate of the tile. This tool returns it in one call, with the ISO 3166 code that joins cleanly into most country-level datasets (World Bank, FAO, UN).

Trivia, geography quizzes, and curiosity

Quick answer to "what country is at exactly 0, 0?" (none — it’s ocean off Africa). "What country contains the highest land?" (Nepal / China at Everest). "Where is the antipode of Lisbon?" (open Pacific, no country). The example chips include several of these gotcha coordinates.

Sanctions and compliance — point-of-presence checks

Knowing exactly which country a GPS pin or IP-geolocated coordinate sits in matters for export-control, KYC, and sanctions screening. The tool gives you the OpenStreetMap admin-0 polygon answer — a reasonable starting point for any compliance flow, complemented by ISO codes that integrate with sanction-list databases.

International photography geotag inspection

A photo journalism dataset has lat/lng EXIF tags but no countries. Paste them in to assign country tags for filing, captioning, or syndication. The flag emoji in the result is a useful visual marker for thumbnail captions.

Maritime and disputed-border edge cases

Some coordinate pairs sit on contested boundaries (Kashmir, South China Sea, Western Sahara) or in international waters. The tool reports whatever OpenStreetMap considers the de-facto answer; the FAQ below explains how disputed territories and EEZs are handled.

Countries and dependencies — what counts as a "country"

The tool returns whatever appears at admin level 0 in OpenStreetMap. That includes the 193 UN member states, two observer states (Vatican City, Palestine), and a long tail of widely recognised dependencies and territories (French Guiana → France, Falklands → United Kingdom, Greenland → Denmark, etc.). The rough continental distribution:

RegionCountNotable
North America23 countriesGreenland (Denmark), Caribbean nations + dependencies
South America12 countriesFrench Guiana (France); Falklands (UK)
Europe44 countriesIncludes the Caucasus and Turkey east of the Bosphorus
Africa54 countriesLargest continent by sovereign-state count
Asia47 countriesIncludes the Middle East; Russia spans Europe + Asia
Oceania14 countriesIncludes Hawaii (US) and French Polynesia (France)
Antarctica0 sovereign statesGoverned by the Antarctic Treaty; territorial claims suspended

How country resolution works

The tool sends the latitude and longitude to Nominatim (OpenStreetMap’s reverse geocoder). Nominatim finds the smallest admin polygon that contains your point and walks up the admin hierarchy to the country (admin level 0). The country name, ISO 3166-1 alpha-2 code, and the rest of the address chain are returned as a single JSON response.

The flag emoji is generated client-side from the ISO code using regional-indicator Unicode symbols (e.g. "US" → 🇺🇸). It works in every modern browser and chat / social platform that supports Unicode 6.0 emoji.

Related geo-lookup tools

For just the city: Coordinates to City. For the US state (with abbreviation and county): Coordinates to State. For the full street address with elevation and time zone: Coordinates to Address. To identify your current country from your browser GPS: What Country Am I In?. For converting coordinate formats: GPS Coordinate Converter.

Frequently asked questions

Paste the latitude and longitude into the input box at the top of the page, or click the map. The country (with flag and ISO 3166-1 alpha-2 code) appears in the result card. Worldwide, including small countries like Vatican City and Monaco.
You'll see a "no address data" message. International waters are outside any sovereign-state polygon, so reverse geocoders have nothing to report. Within a country’s 12-nautical-mile territorial sea the country still applies; Exclusive Economic Zones (200 nautical miles) are not part of national territory in the OpenStreetMap admin-0 polygons.
The tool uses OpenStreetMap data, which represents the de-facto administrative reality on the ground. For contested areas (Crimea, Kashmir, Western Sahara, Taiwan) the result reflects the OSM consensus, which is rarely the same as one government’s official position. For legal or political purposes verify against your jurisdiction’s authoritative source.
The tool returns the ISO 3166-1 alpha-2 code (2 letters — US, FR, JP, DE, BR, etc.). For the 3-letter alpha-3 form (USA, FRA, JPN) and numeric code, use the country-code reference tables that ship with most countries datasets. ISO codes are stable; flag emoji is derived from alpha-2 using regional indicator symbols.
The lookup requests English (accept-language=en). For countries with an English name in OpenStreetMap (most of them), you get it back. For a few smaller jurisdictions OSM may only have the local name; you can correct it through the OSM editing interface if you have an OSM account.
OpenStreetMap country borders are accurate to within metres for well-mapped land borders and may have larger uncertainty at sea (territorial waters), in remote terrain (Greenland interior, central Sahara), and on disputed boundaries. For everyday "which country?" queries the answer is essentially always correct.
Yes — coordinates south of 60°S return "Antarctica" as the country. No sovereign state has jurisdiction under the Antarctic Treaty; the continent appears as a single area in the admin-0 polygons. Territorial claims (Australian, Norwegian, etc.) are not reflected.
They work correctly. Coordinates in Kaliningrad return Russia, in Llívia return Spain, in Büsingen return Germany, in Cabinda return Angola. The polygon-containment test handles disjoint country territories without special-casing.
It is free with no sign-up. The Nominatim reverse-geocoder has a per-IP rate limit of approximately one request per second. For a few lookups in a row the tool runs smoothly; for batch country tagging of hundreds of points, use a self-hosted Nominatim instance.
Yes — tap the "📍 My location" button. The tool requests your browser GPS (you will be asked for permission) and returns the country immediately. The coordinates do not leave your browser except as part of the Nominatim query.
Coordinates to City returns city + state + country with the city headlined; this tool returns the same data with the country headlined and the ISO code + flag emphasised. Different focus, different keyword target, same Nominatim backend. Pick whichever framing matches your task.
Latency depends on your distance to the Nominatim server (hosted by the OpenStreetMap Foundation). Typical response time is 200–800 ms. Occasionally heavy global traffic adds a second or two. If a lookup fails, wait a moment and retry — the rate limiter clears.
Data sources & methodology

Reverse geocoding via Nominatim (OpenStreetMap Foundation, ODbL licence). Country boundaries follow OpenStreetMap admin level 0 — de-facto administrative reality on the ground, which may differ from official positions for disputed territories. ISO codes are ISO 3166-1 alpha-2 (2-letter). Flag emoji derived from ISO codes via regional-indicator Unicode characters. Map basemap: OpenFreeMap Liberty (OpenStreetMap vector tiles). No data leaves your browser beyond the Nominatim query.

More SimpleMapLab tools

Coordinates to City

Lat/lng to city name with state and county.

Coordinates to State

US state for any coordinate (with abbreviation and county).

What Country Am I In?

Identify your current country from browser GPS — with flag, capital, currency.

Coordinates to Address

Full street address with elevation and time zone.