simplemaplab

What Country Am I In?

Free country finder. Tap one button to identify the country at your current GPS location, or search any address, or click anywhere on the world map. The result panel includes the flag, ISO 2- and 3-letter codes, capital, region, population, area, currency, calling code, driving side, and primary language for 195 countries.

Loading map…

Tap "Find My Country" to use your device GPS, search for an address or city, or click anywhere on the world map. The result includes the country, flag, ISO codes, capital, currency, calling code, driving side, and more.

Country detection — and twelve other things you usually need with it

Most online country-finder tools answer the literal question and stop. You GPS in, you get a country name, that\u2019s it. We figure if you\u2019re asking "what country am I in?", you probably also want to know the ISO code (for any form you\u2019re filling out), the currency (for travel), the calling code (for a phone), the driving side (if you\u2019re driving), and the capital and population (for context). All of that is on the result card the moment the country resolves.

The tool also highlights the country polygon on the map in green, so you can see the shape and edges of the country you\u2019re in (vs. just a name). For coordinates near a border, that\u2019s the most reliable visual confirmation that the result is right.

How to find what country you are in

Five paths to the same answer; pick whichever fits your context.

  1. Allow location access (or skip). Tap "Find My Country" — your browser will ask for permission to read your GPS. Granting it returns a result in under a second. If you prefer not to share location, skip GPS and use search or click the map instead.
  2. Or search any place. Type a city, address, landmark, or postal code. The autocomplete shows matching places worldwide; pick one and the country resolves instantly. Useful when you want to look up the country of a specific destination, not your current position.
  3. Or click anywhere on the world map. Pinch to zoom into the area you’re curious about, then tap. The country is detected from a point-in-polygon test against Natural Earth’s 50-metre boundary set, then the matching country polygon is highlighted in green on the map.
  4. Read the result panel. The hero shows the flag, country name, ISO 2- and 3-letter codes, and continent. Below, a card grid shows capital, region, population, area, currency, calling code, driving side, and primary language. The exact coordinates of your point appear at the bottom of the hero.
  5. Verify the city / region (when available). If the point is over land, OpenStreetMap’s Nominatim service is also called to enrich the result with the nearest city, state / province, and postal code. This appears as a secondary line in the hero panel.

What people use this tool for

Six recurring patterns we see in the analytics.

Border-zone confirmation

Many people genuinely don’t know which country they’re in when standing close to a border — between Belgium and the Netherlands in Baarle, between France and Switzerland in Geneva, between the US and Canada in Niagara, or between Argentina and Brazil at Iguazu. The polygon match is exact down to the 50-metre Natural Earth boundary, so a click that lands on either side of the line returns the right country.

Travel and visa-paperwork lookups

Filling out a visa form, a customs declaration, a hotel booking, or a flight check-in often requires the ISO 2-letter or 3-letter country code. The tool surfaces both prominently next to the flag, so you can copy the right code without having to look up an ISO 3166 reference table separately.

Currency, calling code, and driving-side prep

Before travelling: which currency do they use? Which side of the road do they drive on? What’s the country dialling code? All three are on the result card — useful for one-off checks without pulling up Wikipedia. Particularly handy when planning a road trip across multiple countries (Schengen, Mercosur, the Gulf states).

Photo / EXIF metadata enrichment

Photo libraries that store GPS coordinates in EXIF often want a country tag for filtering. Drop the lat/lng into the tool and the country resolves in seconds. Combined with our reverse-geocoder for street-level addresses, you get the full geographic stack.

Educational and quiz use

Geography teachers use "click a point on the map and identify the country" as a basic exercise; the tool returns enough metadata to teach a one-minute mini-lesson about each result (capital, currency, primary language, driving side). The flag emoji is rendered from the ISO 2-letter code, so it’s native and supported on every modern device.

Sales, marketing, and shipping eligibility

When a customer or supplier gives you only their coordinates, you may need to confirm the country before applying tax, shipping, or eligibility rules. The result card breaks the country down by ISO codes, region, and continent, all suitable for downstream lookups against shipping zone tables, VAT registries, or country-restricted feature flags.

How country detection actually works

There are three approaches to "given a coordinate, what country is this?" The tool uses the first as primary and the second as fallback.

1. Point-in-polygon (primary)

We load Natural Earth\u2019s 1:50,000,000-scale country boundary set into the browser as a compact TopoJSON file. Each country is one polygon (or multipolygon for archipelagos like Indonesia). When you click or search, we run the standard ray-casting algorithm: cast a horizontal ray from the point and count how many edges of the polygon it crosses. An odd count means the point is inside; an even count means outside. The check runs in microseconds per polygon and is exhaustive across all 241 features in the dataset.

2. Reverse geocoding (fallback)

For points outside any 50-metre polygon (very small islands, sliver territories, the open ocean), we fall back to OpenStreetMap\u2019s Nominatim reverse-geocoder. Nominatim has finer coverage in many corner cases and returns a structured address with the country field. This is also where the city / state / postal-code enrichment comes from — even when the polygon match succeeds, we still call Nominatim to add the local-level context.

3. IP geolocation (we don\u2019t use this)

Many "country finder" services guess your country from your IP address. That\u2019s fast but wrong roughly 5–10% of the time (VPNs, mobile carriers routing through other countries, IPv6 oddities). We don\u2019t use IP geolocation; the result is always either GPS-precise, search-precise, or map-click-precise.

SimpleMapLab vs other country-finder tools

Honest comparison. Each tool wins different scenarios — the table is a feature checklist, not a value judgement.

FeatureSimpleMapLabiplocation.netGoogle MapsiOS Mapsgeocode.xyz
Free, no sign-upLimited / paid
Map preview + click to setLimited
GPS button
Highlights the country polygon on the map
Returns ISO 2 + 3 letter codesLimited
Returns currency, calling code, driving sideLimited
Returns capital, population, area, languageLimited
City / region enrichment
Mobile-first interfacePartial
No watermark, no rate limitHeavy adsAPI key required

The 195 countries by continent

Our metadata covers 195 UN member states grouped into six continents. Click any country on the map for full details.

Africa (54)

Egypt, Nigeria, South Africa, Kenya, Morocco, Ethiopia

Asia (48)

China, India, Japan, Indonesia, Saudi Arabia, Vietnam

Europe (44)

Germany, France, United Kingdom, Italy, Spain, Poland

North America (23)

USA, Canada, Mexico, Cuba, Guatemala, Jamaica

South America (12)

Brazil, Argentina, Colombia, Chile, Peru, Venezuela

Oceania (14)

Australia, New Zealand, Fiji, Papua New Guinea

Country codes explained — ISO 3166, FIFA, and others

Every country has multiple short codes that identify it in different contexts. The tool surfaces the two most common (ISO 3166-1 alpha-2 and alpha-3) directly in the hero. Some background on each:

ISO 3166-1 alpha-2 (FR, JP, US)

Two-letter codes maintained by the International Organization for Standardization. Used in domain names (.fr, .jp, .us — though .us is rarely used; .com / .net dominate in the US), ISO 4217 currency code prefixes (EUR, JPY, USD), and Unicode regional-indicator flag emojis. The most common code you\u2019ll encounter on web forms.

ISO 3166-1 alpha-3 (FRA, JPN, USA)

Three-letter codes. Used by FIFA at the World Cup, by the International Olympic Committee (with some idiosyncrasies — IOC uses GER for Germany while ISO uses DEU), in passport MRZ zones, and by many international standards.

ISO 3166-1 numeric (250 for France, 392 for Japan)

Three-digit codes assigned by the UN Statistics Division. Stable across language and alphabet — a French database can use the same code as a Japanese one. Less commonly seen outside official UN / governmental data.

Other codes

FIFA codes (sometimes diverge from ISO — England, Scotland, Wales, Northern Ireland have separate FIFA codes despite being part of the UK in ISO). IOC codes for the Olympics. E.164 calling codes are different again (+1 for the US and Canada combined; +44 for the UK; etc.). Our tool shows ISO 3166 alpha-2, alpha-3, and the E.164 calling code.

Related tools and resources

For US-specific sub-divisions: What State Am I In?, What County Am I In?, What ZIP Code Am I In?. For city detection (worldwide): What City Am I In?. For full address from coordinates: Coordinates to Address. For coloring a world map by country group: Color a Map. For elevation and time zone: Elevation Finder and Time Zone Finder.

Frequently asked questions

Open the What Country Am I In tool and tap "Find My Country". Your browser asks for GPS permission; once granted, the result panel shows the country, flag, ISO codes, capital, currency, calling code, driving side, and primary language in under a second. You can also search for any city or address, or click anywhere on the world map.
For points clearly inside a country, the result is exact — we run a point-in-polygon test against Natural Earth boundaries at 50-metre resolution (the same data Wikipedia, the New York Times graphics desk, and many other professional cartographers use). For points within a few hundred metres of a contested border, the result reflects the Natural Earth de-jure assignment; we acknowledge that on-the-ground sovereignty can be more complex than a polygon database can represent.
Tiny island states (Tuvalu, Nauru, the Maldives) and some sliver territories are not always present at 50-metre resolution. When the point-in-polygon test returns no match, we fall back to OpenStreetMap’s Nominatim reverse-geocoder, which has finer-grained coverage for small territories and remote regions. The result panel labels the source clearly.
No country is returned for points in the open ocean — the result panel shows "international waters / unmapped region". The exact coordinates are still displayed for reference. Maritime EEZ (Exclusive Economic Zone) overlays are out of scope for this tool but would be a useful complement; let us know if you want to see one.
Antarctica is in the Natural Earth dataset but isn’t politically a country (it’s governed by the Antarctic Treaty System with overlapping territorial claims by several countries). Clicking on Antarctica in the tool returns "Antarctica" as the continent but no country card; the territorial-claims story is too complex for a single result.
It’s shown directly under the country name in the result hero, alongside the 3-letter code (FR · FRA, JP · JPN, US · USA). ISO 3166-1 alpha-2 is the most common short country code; alpha-3 is used by FIFA, the IOC, and many international standards.
Population is from UN World Population Prospects 2024. Area is from the CIA World Factbook (total area in square kilometres). Currency code is ISO 4217. Calling code is ITU-T E.164. Driving side is from the World Standards "drive on left" public registry. We curated metadata for 195 sovereign countries; small territories get continent-only data.
The flag is a Unicode emoji computed from the country’s ISO 3166-1 alpha-2 code. Each ASCII letter A–Z maps to a Unicode regional indicator codepoint, and a pair of indicators renders as the country flag (FR → 🇫🇷, US → 🇺🇸, etc.). All modern browsers and operating systems include the flag-emoji set.
Land borders are imperfectly mapped at 50-metre resolution. If a click lands within ~200 m of a border, the result may snap to the nearest polygon. Two workarounds: (1) zoom in further on the map and click again precisely; (2) use the search box with a known place name on either side of the border to confirm.
Once the page has loaded the country boundary data, the polygon detection runs entirely client-side with no further network calls. The map basemap and the city / region enrichment require a connection. So GPS + country detection works offline; map and city enrichment do not.
Yes — the underlying Natural Earth dataset includes disputed territories (Western Sahara, parts of Kashmir, Crimea, Taiwan as a separate entity, etc.) using its own classification. We surface what Natural Earth returns. For points in disputed regions you may want to check multiple sources.
Yes. Inputs are 16 px font (no iOS zoom on focus), touch targets are ≥44 px, the world map supports pinch-zoom and two-finger pan, the GPS button is one tap, and the result hero stacks cleanly on small screens.
For free public-API country lookups: the OpenStreetMap Nominatim reverse-geocoder (1 req/sec policy) returns the country code along with a full address; restcountries.com provides REST endpoints with comprehensive country metadata; ipapi.co provides IP-based country lookups (no GPS required). This tool combines polygon-based detection (faster, no rate limit) with Nominatim enrichment for a richer result.
County and State are US-only sub-divisions; this tool is the worldwide layer above. If you want county detail, use Address to County Lookup or What County Am I In; for state-level, What State Am I In. The four tools form a hierarchy: country → state/province → county → city/ZIP.
Yes. Natural Earth boundary data is public domain. UN, CIA Factbook, ISO, and ITU data are public and freely usable. The flag emoji is part of Unicode. No watermark, no attribution required (though crediting Natural Earth and OpenStreetMap is appreciated for derived works).
Data sources & methodology

Country boundaries: Natural Earth Cultural Vectors at 1:50,000,000 scale (CC0). Detection uses a standard ray-casting point-in-polygon algorithm against the 241 features in the dataset. Country metadata: ISO 3166-1 for alpha-2 / alpha-3 codes, UN World Population Prospects 2024 for population, CIA World Factbook for area, ISO 4217 for currency, ITU-T E.164 for calling codes, World Standards for driving side, primary language curated from the official-language column of the CIA Factbook. City / region enrichment: OpenStreetMap Nominatim reverse- geocoder. Map basemap: OpenFreeMap Liberty vector tiles. Flag emoji rendered client-side from the ISO 2-letter code via Unicode regional indicator codepoints. All data is public-domain or under permissive licences; no API keys, no rate limits, no data leaves your browser beyond the optional Nominatim enrichment query.

More SimpleMapLab tools

What City Am I In?

Detect your current city, town, or village worldwide via GPS or address search.

What State Am I In?

Identify which US state you are in. Capital, population, taxes, demographics.

Coordinates to Address

Reverse geocoder: turn lat/lng into a full address, with elevation and time zone.

Color a Map

Click any country, US state, or region to fill it with a color group.