Tools Where am I

What Country Am I In?

For border regions, cruises and long flights. The country is resolved from your coordinates and its reference facts are filled in from an offline table.

How to use it

  1. Press "Use my location" and allow the browser to share your position, or type a city or address, or click the map.
  2. The country is resolved from its outline in the browser and named with its flag, ISO codes, capital, currency, calling code and driving side.
  3. At sea or on a small island the offline check finds nothing; press "Check online" to ask the map geocoder instead.

How it works

Your position comes from the browser Geolocation API (GPS on a phone, Wi-Fi or IP on a laptop, so accuracy ranges from metres to kilometres). The point is tested against Natural Earth 1:110m country polygons downloaded once into the browser (about 200 KB); nothing about your position leaves the browser for that step. The reference facts come from a static table compiled from CIA World Factbook style public sources.

The 1:110m outlines draw borders and coasts to roughly 10 km and omit microstates and small islands, so a point within a few kilometres of a border can resolve to the neighbour and Singapore or Monaco resolve to Malaysia or France. The "Check online" button sends the coordinate to the OpenStreetMap reverse geocoder, which knows every territory but is limited to one request a second.

Questions

Why does it say international waters when I am on a beach?
The offline outline stops at the coastline as drawn at 1:110m, which can sit a few kilometres inland or offshore. Territorial waters are not modelled. Use "Check online" for an exact answer.
Does this need an internet connection?
It needs to load the page and the 200 KB outline file once; after that the country lookup itself runs in the browser. Typing a place name and the online check both call map services.
Is my location stored or sent anywhere?
The offline check keeps the coordinate in the browser. Only the optional online check or a typed place search sends a coordinate or text to the OpenStreetMap services named in the method above.

All map tools, free and without an account. Location data is processed in your browser and by the open geocoding services named on the sources page; nothing is stored by this site.