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.

Support data is for the Geolocation interface in MDN browser-compat-data. Firefox uses GPSD and a network location service, as 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 Internet#Yes1.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: 96 % (StatCounter 2026-09, CC BY-SA 4.0)

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

Cite this table

Geolocation API compatibility data — OpenPWA · Verified 2026-10-03 · CC BY 4.0 · JSON

When reusing compatibility data, keep the attribution, identify your changes and check each row’s original source. This citation excludes market-share and reach figures, which use CC BY-SA 4.0.