Skip to content

Geolocation API browser support

Published

The Geolocation API returns the device position through navigator.geolocation.getCurrentPosition() for a one-shot read or watchPosition() for continuous updates, after the user grants permission.

The table covers the Geolocation interface as recorded in MDN browser-compat-data. Firefox’s location providers (GPSD and the network location service) are described in its row footnote.

  • Legend
  • Yes
  • Partial
  • Flag
  • No
  • Unknown
Browser / PlatformSupportVersionsConfidenceSourceNotes
Chrome (Desktop)Yes5highsource—
Chrome (Android)Yes18highsource1
Edge (Desktop)Yes12highsource—
Firefox (Desktop)Yes3.5highsource2
Firefox (Android)Yes4highsource—
Safari (macOS)Yes5highsource—
Safari (iOS)Yes3highsource3
Samsung InternetYes1.0highsource4
WebView (Android)Yes4.4highsource5
  1. Derived by browser-compat-data mirroring from Chrome.
  2. GPSD (https://gpsd.gitlab.io/gpsd/index.html) (GPS daemon) support added in Firefox 3.6. WiFi-based location is provided by Google (privacy (https://support.mozilla.org/en-US/kb/does-firefox-share-my-location-websites)) or a custom provider (MLS instructions (https://wiki.mozilla.org/CloudServices/Location/Software)).
  3. browser-compat-data records support as ≤3: present in the earliest Safari on iOS release it tracks.
  4. Derived by browser-compat-data mirroring from Chrome Android.
  5. Derived by browser-compat-data mirroring from Chrome Android.

Source data: /compatibility/geolocation.json · Global usage: 93 % (StatCounter 2026-05)

Source: spec · MDN · Last verified 2026-10-03 · Confidence: high (computed from sources)