Internet privacy
Browser location permission vs IP geolocation
A browser geolocation permission controls access to the device location API, while a server can independently estimate a region from the connection IP.
Updated
In this guide
Separate data sources
A device may use GPS, Wi-Fi or other positioning sources for geolocation when permission and platform policy allow it. A lookup service instead maps an address to approximate network-location data.
Denying permission
Denying access to the device location API does not prevent a server from seeing its network connection's source address. It also does not imply that a location estimate is accurate.
Inspect permissions
A website should clearly describe which source it uses and avoid asking for precise coordinates when unnecessary. Check site permissions in your browser, and do not assume an IP-derived city is your exact physical location.
A realistic permission outcome
A browser may deny access to its precise geolocation API while a website still estimates a country from the request's public IP. Those are different data sources. A permission prompt is not proof that a service already knows your exact coordinates, and an IP-derived city is approximate.
Step-by-step example
Separate a browser location permission from an approximate IP lookup.
- 01
Read IP-based location
My IP estimates an area from network information. This does not require browser geolocation permission and can differ greatly from physical location.
- Network IP
- Estimated area
- GPS
- Not used by IP lookup
Illustration · example, not a live result - 02
Review site permission
Use your browser's site settings to inspect location permissions. When granted, the Geolocation API may use location sources available to the device; the accuracy is still an estimate.
- Permission
- Ask / allow / block
- Location sources
- Device dependent
Illustration · example, not a live result - 03
Limit unnecessary sharing
Revoke location permission for sites that do not need it. Blocking geolocation does not prevent a site from seeing your connection IP or estimating a region from it.
- Permission blocked
- No granted API access
- Network IP
- Still observed
Illustration · example, not a live result
Check your understanding
Use the appropriate location service for navigation, addresses or emergencies; never rely on IP geolocation for precise position.
Try this
Review the browser permission for a trusted site and compare the approximate IP region separately.
Inspect your own IP address →