Home › Tools › What Country Am I In

Free location tool

What Country Am I In?

Tap GPS or enter coordinates to see the country at your location and its two-letter ISO code.

Works worldwide. Your location is checked against country borders in your browser.

How the country is found

The tool takes your position from GPS, or coordinates you type, and checks which country outline contains it. The outlines are Natural Earth's 1:50 million admin-0 boundaries, a public-domain world map. The lookup runs in your browser; your coordinates are not sent to us for this step.

GPS vs IP location

When a website, a streaming service or a store says you are in a certain country, it is usually reading your IP address against a database of which networks are registered where. That method can be wrong for many reasons:

  • A VPN or proxy routes your traffic through another country.
  • When roaming abroad, mobile data often exits through your home carrier's network.
  • Company and university networks may route through a head office elsewhere.
  • IP databases go out of date when address blocks are reassigned.

GPS reads signals from satellites and has none of these problems. If this page and a website disagree, the website is almost certainly looking at your IP address.

Coarse coastlines and small places

At 1:50 million scale, boundaries are generalized to keep the map small enough to load in a browser. Inland borders are drawn roughly, and coastlines can be off by up to a few kilometers. Near a shore, on a narrow peninsula, or on a small island, your point may fall just outside every outline. If the result looks wrong near a coast, step a little inland or check the map marker. Very small islands may be missing at this scale.

Disputed areas

Some territory is claimed by more than one country. Natural Earth draws de facto boundaries, meaning the line of actual control on the ground, and the tool follows them. The result is a description of administration, not a position on sovereignty, and it can differ from maps published by the governments involved.

Territories and dependencies

Many places are governed by a country without being part of its main territory. Natural Earth gives several of them their own entry, so the tool can return, for example, Puerto Rico or Greenland rather than the United States or Denmark, each with its own ISO code (PR and GL). Whether a place is counted separately reflects how Natural Earth and ISO 3166-1 list it.

Inside the United States

For a US location, the country is only the start. What state am I in handles the next level down, and where am I shows the county, city and ZIP code. To get your exact coordinates in any format, use what are my coordinates.

Questions

How do I know what country I am in?

Tap the GPS button and allow location access. Your browser compares your position with a world map of country boundaries and shows the country name and its ISO code.

Why does a website think I am in a different country?

Most websites guess your country from your IP address. A VPN, a corporate network, a mobile carrier or roaming abroad can all make that guess wrong. GPS uses your device's actual position, so it is not affected.

Can a VPN change what this tool shows?

No. A VPN changes your IP address, not your GPS position. This tool uses the location your device reports, so the country shown is where you physically are, if you allow GPS.

What happens in disputed territories?

The tool follows Natural Earth's de facto boundaries, which show who administers an area on the ground. That is not a judgment on any claim, and official maps from individual governments may differ.

Why does it say I am in the ocean when I am on the coast?

The country boundaries are simplified for speed, so coastlines can be off by up to a few kilometers. Near a shore, beach or small island, the point can fall just outside the outline.

What is an ISO country code?

A two-letter code from the ISO 3166-1 standard, such as US for the United States or MX for Mexico. It is used in domain names, shipping forms and software.

Boundaries: US Census Bureau TIGER/Line 2026 and cartographic boundary files. Time zones: timezone-boundary-builder 2026f (© OpenStreetMap contributors, ODbL). Elevation: AWS Terrain Tiles (USGS 3DEP, SRTM). Last checked 2026-11-18. How it works · Sources