belun.app

What Is My Location — GPS Coordinates & Browser Geolocation Response

Ask your browser where you are and see everything it hands back: latitude and longitude, the accuracy radius in metres, altitude, heading, and speed. The raw Geolocation API response is shown in full, so developers can see the exact object the browser returns. Your location is requested only after you click and grant permission.

Coordinates from the Geolocation API are shown locally in your browser and never sent to a server.

Geolocation API position fields and when they are null

The page calls navigator.geolocation.getCurrentPosition, the same function map sites use when a visitor shares a location. A laptop without GPS sends the list of Wi-Fi access points it can see to a positioning service, usually run by Google or Apple, and receives an estimate. When only the IP address is available, the result drops to a rough city-level guess. On a plain http:// page the call fails with a permission error before any prompt appears.

Field Filled when
latitude, longitude, accuracy Always, from any positioning source
altitude A real GPS fix exists; Wi-Fi positioning cannot measure height
altitudeAccuracy Only alongside a non-null altitude
heading, speed The device is moving under continuous tracking

Frequently asked questions

What does the accuracy value mean?
It is the radius, in metres, of a circle around the reported point that has roughly 68% confidence of containing you. A phone with GPS might report 5 metres; a desktop on Wi-Fi could report several thousand.
Why do I get a permission-denied error?
Either you blocked location access for this site, or the page is not served over HTTPS. Browsers require a secure connection for geolocation. Check the site permissions in your browser's address bar to re-enable it.

Related tools