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.
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.
- 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.
- 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.
- 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.
- 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.
- 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.
| Feature | SimpleMapLab | iplocation.net | Google Maps | iOS Maps | geocode.xyz |
|---|---|---|---|---|---|
| Free, no sign-up | ✓ | ✓ | ✓ | ✓ | Limited / paid |
| Map preview + click to set | ✓ | ✓ | ✓ | Limited | ✓ |
| GPS button | ✓ | ✓ | ✓ | ✗ | ✓ |
| Highlights the country polygon on the map | ✓ | ✗ | ✗ | ✗ | ✓ |
| Returns ISO 2 + 3 letter codes | ✓ | ✓ | Limited | ✗ | ✓ |
| Returns currency, calling code, driving side | ✓ | ✗ | ✗ | ✗ | Limited |
| Returns capital, population, area, language | ✓ | Limited | ✗ | ✗ | ✓ |
| City / region enrichment | ✓ | ✓ | ✓ | ✓ | ✗ |
| Mobile-first interface | ✓ | Partial | ✓ | ✓ | ✗ |
| No watermark, no rate limit | ✓ | Heavy ads | ✓ | ✓ | API 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.
Egypt, Nigeria, South Africa, Kenya, Morocco, Ethiopia
China, India, Japan, Indonesia, Saudi Arabia, Vietnam
Germany, France, United Kingdom, Italy, Spain, Poland
USA, Canada, Mexico, Cuba, Guatemala, Jamaica
Brazil, Argentina, Colombia, Chile, Peru, Venezuela
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
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
Detect your current city, town, or village worldwide via GPS or address search.
Identify which US state you are in. Capital, population, taxes, demographics.
Reverse geocoder: turn lat/lng into a full address, with elevation and time zone.
Click any country, US state, or region to fill it with a color group.